Comments (4)
it was also complaining about having python 3 when it expected python 2.
They're minimum versions - Python 3 is above 2.
It requires at least an OctoPrint restart, and sometimes a force-check to override the cache - under advanced options.
from octoprint-upgrade-to-py3.
Cool. Restart of OctoPrint and a force check for update as suggested cleared up the problem.
from octoprint-upgrade-to-py3.
About 5 days ago I made it update pip as well, this should no longer be an issue.
Have you tried clicking on the link that gives you instructions of how to update pip to a newer version? Full reinstalling is unnecessary and can be avoided by following some instructions.
from octoprint-upgrade-to-py3.
Thanks @cp2004 for the quick reply.
Have you tried clicking on the link that gives you instructions of how to update pip to a newer version? Full reinstalling is unnecessary and can be avoided by following some instructions.
Didn't look for anything pip specific since it was also complaining about having python 3 when it expected python 2.
Just updated pip in the oprint venv:
pi@octopi:~ $ source ./oprint/bin/activate
(oprint) pi@octopi:~ $ pip install --upgrade pip
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Cache entry deserialization failed, entry ignored
Cache entry deserialization failed, entry ignored
Collecting pip
Downloading https://files.pythonhosted.org/packages/a4/6d/6463d49a933f547439d6b5b98b46af8742cc03ae83543e4d7688c2420f8b/pip-21.3.1-py3-none-any.whl (1.7MB)
100% |████████████████████████████████| 1.7MB 169kB/s
Installing collected packages: pip
Found existing installation: pip 18.1
Uninstalling pip-18.1:
Successfully uninstalled pip-18.1
Successfully installed pip-21.3.1
(oprint) pi@octopi:~ $ pip --version
pip 21.3.1 from /home/pi/oprint/lib/python3.7/site-packages/pip (python 3.7)
Still get the message in the "Software Update" tab, but it hasn't changed the pip version there either so I'm guessing it's stale/cached. Check for updates doesn't seem to redo it so I'll try a OctoPrint restart after my current print finishes.
from octoprint-upgrade-to-py3.
Related Issues (20)
- Use Python 3 venv, install `python3-venv` first HOT 1
- [Bug] Pip errors as wheel is not working properly *sometimes*. HOT 4
- upgrade requires python 3.6? HOT 2
- [Bug] ibpython3.7-dev_3.7.3-2+deb10u2_armhf not found HOT 5
- X server needed to run that script ? HOT 2
- [Bug] UnicodeDecodeError running `sudo apt-get update` HOT 2
- [Bug] Can't set locale & Broken pipe error HOT 2
- Need to update pip as well or OctoPrint complains HOT 1
- Suppress pip's `Cache entry deserialization failed` messages HOT 2
- [Bug] Updating to Python3 failed with SpaghettiDetective, no connection available anymore HOT 4
- [Bug] HOT 2
- Command line option --allow-releaseinfo-change is not understood in combination with the other options HOT 3
- Unsigned Repository stops script[Bug] HOT 18
- Installing octoprint fails due to "ValueError: HTML doctype missing or incorrect. Expected <!DOCTYPE html>." HOT 5
- ERROR: failed to update package list HOT 4
- [Bug] HOT 2
- Python --version shows 2.7.16 on fresh image? HOT 3
- [Bug] HOT 2
- [Bug] SSL certificate problem: certificate has expired HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from octoprint-upgrade-to-py3.