I successfully run the following code
$ pip install anvil-app-server
$ create-anvil-app todo-list MyTodoList
but anvil-app-server --app MyTodoList causes error
Any help is greatly appreciated
I successfully run the following code
$ pip install anvil-app-server
$ create-anvil-app todo-list MyTodoList
but anvil-app-server --app MyTodoList causes error
Any help is greatly appreciated
I don’t have the answer but I want to let the admins know I’m on the forums right now because I’m having the exact same issue.
I’m running mine on Ubuntu 18.04 if that matters.
Do you have Python 2 installed on your machine?
alex@anvil-brainslag:~$ python -V
Python 2.7.17
Thats my python verstion.
I built a new ESXi Ubuntu image using 18.04. I installed python and pip and ran the install script on the blog post about the open sourced server. and I’m getting this exact error.
Python 2 is installed in my ubuntu 18.04 as well
@alex.jones : hopefully the error will be fixed soon
Hi @Tony.Nguyen,
Have you installed the Java Virtual Machine? You can find instructions in the App Server’s Getting Started guide.
Hi @owen.campbell,
Do you encounter the error when running Anvil-app-server –app MyTodoList error?
Some of us get can not overcome the issue. What is your OS?
I’ve not tried running the sample app. I jumped straight into running my own stuff!
Oh thanks, I will try it
Admin note: I have moved some posts here that were originally cross-posted into an unrelated Show and Tell thread
Hi @Tony.Nguyen,
Please don’t cross-post your questions into unrelated threads. It makes things hard to follow, and it’s impolite to barge into a conversation to demand an answer to a different question.
I know it’s frustrating when you’re stuck on a problem, and it’s natural to want a faster response, but most people here are volunteers, so please be patient
While you’re waiting for an answer, it often helps to re-read the relevant documentation. (In this case, the Getting Started Guide would have helped you a lot!)
I feel foolish as this is the same issue and I didn’t even check if java was installed. Thanks for that.