[FIXED] /usr/bin/python: No module named anvil_downlink_host

I learned about Anvil via the tomshardware post. As I have been messing about with the Pi Camera for the last couple of weekends, I was interested in trying this out.
I think I followed the directions correctly, but I am getting this error:
pi@pi4:~/Camera_Controller $ anvil-app-server --config-file anvil.yaml
Found Anvil App Server JAR in package directory
Database is uninitialised. Setting up Anvil database from scratch…
Setup complete.
[INFO anvil.core.server] HTTP Server running on port 3030
[INFO anvil.app-server.run] App URL: http://localhost:3030
[INFO anvil.app-server.dispatch] Launching built-in downlink…
/usr/bin/python: No module named anvil_downlink_host
[ERROR anvil.app-server.run] Failed to start mail server on port 25 - this application will not be able
to receive email: java.net.BindException: Permission denied (Bind failed)
[INFO anvil.app-server.run] SMTP Server running on port 25
[INFO anvil.app-server.dispatch] Launching built-in downlink…
/usr/bin/python: No module named anvil_downlink_host
[INFO anvil.app-server.dispatch] Launching built-in downlink…
/usr/bin/python: No module named anvil_downlink_host
[INFO anvil.app-server.dispatch] Launching built-in downlink…
/usr/bin/python: No module named anvil_downlink_host
[INFO anvil.app-server.dispatch] Launching built-in downlink…
/usr/bin/python: No module named anvil_downlink_host
etc

I installed anvil.server via
sudo pip3 install anvil-app-server

I see on the Git Repo that there is a module called anvil_downlink_host.
I’d rather stick with pip, if at all possible. Am I missing something obvious?

Hi @matthannan1,

Thanks for letting us know.

This is a bug in v1.0, so I’m moving to Bug Reports. It’ll be fixed in version 1.1! :slight_smile:

We would also always recommend installing anvil-app-server in a virtualenv - this should solve the problem for you!