Closed Goten87 closed 6 years ago
and yes i have
requests
downloaded
Well, your Python can't find it:
ImportError: No module named requests
It could be that:
pip install requests
or pip3 install requests
)requests
in Python 3 but are running the updater with Python 2, or vice-versa (try things like python --version
; remember the #!
at the top of the updater says to use python2
)requests
library is installed in the main environment (try deactivate
)requests
library in one (try source /path/to/venv/bin/activate
)I haven't looked at Bisa's init script (which you are clearly using) in ages, so I don't know whether it picks a specific version of Python or just lets the #!
operate.
if i do python --version
it results Python 2.7.15rc1
i did pip and the pip3 one as well and it still not finding it
the top of my update script was #!/usr/bin/env python2
changed that to #!/usr/bin/env python3
and its still not working
Then your machine is broken in some way, and I can't help you. The updater works just fine for me, but I'm still using Ubuntu 16.04. Good luck fixing it.
what do you use then insted of bisa's init script is there somthing new and beter ?
I don't use an init script at all -- I don't want my Factorio to start automatically. I do run mine in a tmux
so I don't have to maintain an SSH session, but that's the extent of it.
Getting a error on ubuntu 18
and yes i have
requests
downloaded