"No module named none" error with running

What I’m trying to do:

I am trying to run the module

What I’ve tried and what’s not working:

Pressing the run button, it says “ImportError: No module named None” I added a None module and that just asks for more

Code Sample:

# import anvil.server,requests,json

Clone link:
https://anvil.works/build#clone:BQQBFGA2Q3VL3BUF=JRJMCMYMNC5NPOYN7HK4EFEM

If you have a startup module its purpose is to open a form. If you add a form and open it, the error goes away, so it looks like you don’t have the minimum necessary for an Anvil app.

Hi @dogman8333 - welcome to the forum!

Opening your app, it looks like you haven’t set your module as the startup module – if you do that, your app works! (Although, as @jshaffstall says, if you don’t open any forms you won’t see anything on the screen :slight_smile: )

1 Like