File "C:\usr\Anvil_Practice\git_clone_practice\lib\site-packages\anvil_downlink_host\full_python.py", line 3, in <module>
from anvil_downlink_util.pipes import MessagePipe
ModuleNotFoundError: No module named 'anvil_downlink_util'
full_python.py is trying to import MessagePipe from the anvil_downlink_util module. The error its giving me is saying I don’t have a module named anvil_downlink_util. I assume its supposed to come in the package when installing the standalone server.
That’s actually not the kind of details I had in mind. (We can read the error message.) I was thinking maybe you could say more about which steps in that tutorial you have done so far. What led to that error message? Or maybe you could run some diagnostics to show what your environment looks like? (This is not something I have done myself, so I probably can’t help you, personally. And I’m not even necessarily qualified to advise you on what would better enable others to help you. But this is my best attempt.)
I’ll second @hugetim’s reply. Context matters. If your context was exactly the same as in the tutorial, then things would be working. Since things are not working, something in your context must be different. That difference – which might be one of many differences – is probably the source of the problem.
But no one here can see those differences, without your help.
So, strange enough I decided to attempt to create a blank app using create-anvil-app instead of cloning the one from the builder and it runs fine because it has the anvil_downlink_uitl site package. After simply copying that folder over into the cloned one it seems to work just fine. I’m not sure how the package got overlooked in my steps but I intend on doing a fresh one to see if the builder omits it whereas create-anvil-app does not.