-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OctoPrint not starting - urllib3 dependency issue #36
Comments
Hi, try installing the openwrt precompiled package: |
thanks for the tip... it still gave me the same error so I ran I guess I fixed it after removing urllib like mentioned above and installing the packages and then running setup.py again |
@tofuSCHNITZEL Hi! How did you end up fixing this exactly? I'm having the exact same problem - it's unclear what your final fix is. pip uninstall urllib -> install all packages -> run setup.py? |
Sorry, not sure anymore. Or maybe it could also work like suggested here: #39 (comment) |
Ah missed that link - will try that, thanks! 30 minutes later: It (#39 (comment)) worked! thanks @tofuSCHNITZEL! |
Hi,
after following the steps the octoprint Webgui was not reachable under port 5000 so I went into ssh and saw that octoprint service is stopped, so tried to run it manually and got these errors:
2022-12-06 13:36:29,383 - octoprint.startup - CRITICAL - Could not initialize settings manager: (urllib3 2.0.0a2 (/usr/lib/python3.10/site-packages/urllib3-2.0.0a2-py3.10.egg), Requirement.parse('urllib3<1.27,>=1.21.1'), {'requests'}) 2022-12-06 13:36:29,398 - octoprint.startup - CRITICAL - There was a fatal error starting up OctoPrint. Could not initialize settings manager: (urllib3 2.0.0a2 (/usr/lib/python3.10/site-packages/urllib3-2.0.0a2-py3.10.egg), Requirement.parse('urllib3<1.27,>=1.21.1'), {'requests'}) There was a fatal error starting up OctoPrint.
then I tried running
python /root/OctoPrint-1.8.4/setup.py install
again and got:error: urllib3 2.0.0a2 is installed but urllib3<1.27,>=1.21.1 is required by {'requests'}
I tried
pip install urllib3==1.21.1
but it did not help and I could not find urllib dependency in setup.py or requirements.txtany hints?
The text was updated successfully, but these errors were encountered: