What I’m trying to do:
Running the app server on a fresh install of ubuntu 20.10. I am installing a python package for anvil to make use of.
What I’ve tried and what’s not working:
For some reason anvil is not seeing the package. I noticed a few things:
-When I have a conda virtual envrionment activate and run the app server, it is still using the base python version. I know this as the versions are different and I check the version from the shell.
-When I install a package to the base python, it is not available to the app server. I know this as I get an error, I also list out all of the packages from the interactive shell and I do not see it installed. If I run python directly I see the package as expected.
Where is the app server running base python from and how can I control this?
Code Sample:
[ERROR anvil.app-server.run] Error report from client code:
AnvilWrappedError: No module named ‘google.cloud’
Traceback: