-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Error: Failed to create Python 3 venv #43
Comments
Could you try running |
Creating new Python 3 environment... available. On Debian/Ubuntu systems, you need to install the python3-venv package using the following command.
You may need to use sudo with that command. After installing the python3-venv package, recreate your virtual environment. Failing command: ['/home/pi/oprint/bin/python3', '-Im', 'ensurepip', '--upgrade', '--default-pip'] Soooooooooooo you need to install python3-venv and it will work. I'm using latest octoprint and octopi 0.17.0. Documentation should be updated. |
This was a recent change - #42 - I will revert it, the previous one worked on more systems apparently. A smarter handling of the failures that made me want to switch it is probably smart. |
Thanks for reporting the error @ElDavoo - I have reverted the changes. It may take a short while for caching to expire, the new script version is 2.1.16. Just in case you felt like using it again. |
It's still installing plugins right now because of #44 :) |
I'm seeing this same issue today with the script. The output of
is
Following that I run
and get
|
Could not create new venv Cleaning up...
Fatal Error: Exiting
Script output
Please paste the complete output of the script in the box below:
Script version
You can find this printed in the first line of the script
OctoPrint Version
OctoPrint 1.().()
Relevant plugins that may have caused errors
If you're having trouble with a particular part, please include your installed plugins
Additional information
Screenshots, links to docs, etc.
The text was updated successfully, but these errors were encountered: