AWS Lightsail Open Source Tutorial

Hi There,

i’m more than a noob when it comes to hosting and AWS, but even more curious to see how hosting anvil apps on an own server works.

So I tried to work the Tutorial through step by step, however at this step the,
console asks me for a password (which I don’t know, since its not my AWA account password)
So i worked around with sudo su root

Not sure wheter it had something to do with the above but when installing the anvil server I get several error messages (pychrome, psutils, ws4py):

I’d really love to get this to work so any help is appreciated!

Cheers, Mark

Hi @mark.breuss,

Can you confirm which version of the Anvil App Server you have installed?

You should be able to fix the issue you’re having by running pip install wheel in your environment.

Hi @ryan,

thanks for your response!

Redarding the version of the Anvil App Server - i guess none since the error occurs when I try to pip install anvil-app-server.

Installing wheel before the anvil app server did not work either.

Anything else that could be missing?

Cheers, Mark.

FYI the following was the problem:

For me, this did the trick:
sudo apt-get install gcc python3-dev

Best, Mark

3 Likes

Hi Mark,

Glad you found the solution. Thanks for sharing.

Ryan