Python Tidbits: Difference between revisions
Jump to navigation
Jump to search
(ensurepip tidbit) |
(No difference)
|
Latest revision as of 05:37, 24 October 2019
- python ensurepip issues
if you try something like:
python3.7 -m venv py3nv
and get something like:
Error: Command '['/home/chipmonkey/repos/ProcJam/py3nv/bin/python3.7', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
chances are the version of pip and/or venv you have installed via apt do not match the version of python you are using:
sudo apt install python3.7-pip python3.7-venv