It does, on any machine you control, using anvil-uplink.
But then you need to install all the env in a dedicated Cloud, server whatever, and not Anvil server.
Which means another vendor to pay to, and another env and tools to maintain. ( Such as Google Cloud )
Btw another option that I saw in Streamlit for example is to use GITHUB servers, is it possible to do the same here?
I suspect you’re misunderstanding what’s displayed in Anvil’s IDE.
Installing your choice of packages into your Anvil Server App is a Beta feature of Anvil’s IDE. We’re not talking about a Beta version of 3.10, and we’re not talking about a global installation of Python. We’re talking about the Python Virtual Environment that Anvil uses, internally, to run your Anvil Server-side code.
Yes, the tooling to keep the packages maintained automatically on anvil have been set up for Python 3.10
I use uplink on a local PC, because I need internal network access. Others run uplink on multiple machines they physically control.
Some people are interested / worried about scalability. You can develop using uplink on your local machine, then containerize and deploy as many instances as you want.
You run into the same logic as “If I need this much compute I should be making enough money to afford it” which is usually a good problem to have in something like SAAS.
You can’t call a bug something that works designed.
It would be like saying that Google Earth is a bug because doesn’t run on Python 3.10.
Both Anvil’s decision of allowing custom environment only on 3.10 and Google’s decision of not supporting Python 3.10 are legitimate decisions, they are not bugs.
Anvil’s beta custom environment features will improve in the future, and I bet it will eventually get out of beta.
Also Google Earth apis seem to be in beta (they are still on version 0.1.276), and they also may get out of beta, but I wouldn’t bet on it.
I see there is a long discussion going on here.
The way I understand it, your current problem is this - You want to design the GUI in Anvil. But you are unable to use the server side because one of the package doesn’t work properly. Am I right?
If yes, there are some things you can do
-
Maybe try a workaround that would allow you to run the library in 3.10. Telling the exact error can allow us to help you further with that.
-
If it doesn’t work, you can setup a server somewhere else that can take api calls from your server module and give the response. You might be able to get it done for free as well
A great summary
What I am thinking, if it is possible to use GitHub service like Streamlit does?
That is a very easy and intuitive way to save and manage the code + running it.
Not sure if these are exactly what you mean, but they are some discussions/examples about how others have used Github with Anvil: