You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When making a virtualenv using virtualenv -p python3.8 ./venv virtualenv claims that the virtual environment is ready. Run source ./venv/bin/activate which will also work.
Then attempt to run python3 --version which should also work and say 3.8.x. However now try pip --version and boom error: ModuleNotFoundError: No module named 'distutils.cmd'. Basically virtualenv generates broken pip. The system package python3-distutils is already installed.
Environment
Provide at least:
OS: Pop OS 21.04
pip list of the host python where virtualenv is installed:
Try installing using pip install virtualenv instead of pip3 install virtualenv
and create a virtual environment using virtualenv myvenv -p python3.9 make sure you specify the python version
then you can activate the environment like this.
For CMD use myvenv\\scripts\\activate or for bash use source myvenv\\scripts\\activate
Issue
When making a virtualenv using
virtualenv -p python3.8 ./venv
virtualenv claims that the virtual environment is ready. Runsource ./venv/bin/activate
which will also work.Then attempt to run
python3 --version
which should also work and say 3.8.x. However now trypip --version
and boom error:ModuleNotFoundError: No module named 'distutils.cmd'
. Basically virtualenv generates broken pip. The system packagepython3-distutils
is already installed.Environment
Provide at least:
OS: Pop OS 21.04
pip list
of the host python wherevirtualenv
is installed:Package Version
argon2-cffi 20.1.0
attrs 21.2.0
backcall 0.2.0
backports.entry-points-selectable 1.1.0
bleach 4.1.0
blinker 1.4
Brlapi 0.8.2
certifi 2020.6.20
cffi 1.14.6
chardet 4.0.0
chrome-gnome-shell 0.0.0
click 7.1.2
colorama 0.4.4
command-not-found 0.3
cryptography 3.3.2
cupshelpers 1.0
dbus-python 1.2.16
debugpy 1.4.1
decorator 5.0.9
defer 1.0.6
defusedxml 0.7.1
distlib 0.3.3
distro 1.5.0
entrypoints 0.3
evdev 1.4.0
filelock 3.3.0
gyp 0.1
hidpidaemon 18.4.6
httplib2 0.18.1
idna 2.10
ipykernel 6.2.0
ipython 7.26.0
ipython-genutils 0.2.0
jedi 0.18.0
jeepney 0.6.0
Jinja2 3.0.1
jsonschema 3.2.0
jupyter-client 7.0.1
jupyter-core 4.7.1
jupyterlab-pygments 0.1.2
kazam 1.4.5
kernelstub 3.1.4
keyring 22.2.0
language-selector 0.1
launchpadlib 1.10.13
lazr.restfulclient 0.14.2
lazr.uri 1.0.5
louis 3.16.0
macaroonbakery 1.3.1
Mako 1.1.3
MarkupSafe 2.0.1
matplotlib-inline 0.1.2
mistune 0.8.4
nbclient 0.5.4
nbconvert 6.1.0
nbformat 5.1.3
nest-asyncio 1.5.1
netifaces 0.10.9
oauthlib 3.1.0
packaging 21.0
pandocfilters 1.4.3
parso 0.8.2
pexpect 4.8.0
pickleshare 0.7.5
pip 20.3.4
platformdirs 2.4.0
pop-transition 1.1.2
prometheus-client 0.11.0
prompt-toolkit 3.0.20
protobuf 3.12.4
ptyprocess 0.7.0
pycairo 1.16.2
pycparser 2.20
pycups 2.0.1
pydbus 0.6.0
Pygments 2.10.0
PyGObject 3.38.0
PyJWT 1.7.1
pymacaroons 0.13.0
PyNaCl 1.4.0
pyparsing 2.4.7
pyRFC3339 1.1
pyrsistent 0.18.0
python-apt 2.2.0-ubuntu0.21.04.1
python-dateutil 2.8.2
python-debian 0.1.39
python-xlib 0.29
pytz 2021.1
pyxdg 0.27
PyYAML 5.3.1
pyzmq 22.2.1
repolib 1.5.2
repoman 1.4.0
requests 2.25.1
screen-resolution-extra 0.0.0
SecretStorage 3.3.1
Send2Trash 1.8.0
sessioninstaller 0.0.0
setuptools 52.0.0
simplejson 3.17.2
six 1.15.0
system76driver 20.4.42
systemd-python 234
terminado 0.11.1
testpath 0.5.0
tornado 6.1
traitlets 5.0.5
ubuntu-advantage-tools 27.2
ubuntu-drivers-common 0.0.0
ufw 0.36
urllib3 1.26.2
virtualenv 20.8.1
wadllib 1.3.5
wcwidth 0.2.5
webencodings 0.5.1
wheel 0.34.2
xdg 5
xkit 0.0.0
The text was updated successfully, but these errors were encountered: