5/25/2023 0 Comments Debian install python![]() ![]() ![]() But when I try and check which version of virtualenv I have, it fails: $ virtualenv -versionįile "/usr/local/bin/virtualenv", line 6, in įrom virtualenv._main_ import run_with_catchĪnd if I try and use virtualenv it always throws up these errors. Requirement already satisfied: virtualenv in. More details about Python 2 support in pip, can be found at ĭefaulting to user installation because normal site-packages is not writeable A future version of pip will drop support for Python 2.7. Please upgrade your Python as Python 2.7 is no longer maintained. Pip 20.0.2 from /home/me/.local/lib/python2.7/site-packages/pip (python 2.7)įirstly, is this where pip should be installed? Under my home directory? I am the only user on this PC, but I'm not sure if pip should be in /usr/share/ or somewhere more public for it to work properly? Should I have used sudo python /tmp/get-pip.py to install pip? I don't plan to run python as root, but apt always requires root for installations, so maybe installing pip should have too? The documentation did not specify.Īnyway, next I tried to update pip to the latest version and install virtualenv: $ pip install -U pipĭEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. So I just installed pip like so: $ cd /tmpĪnd now I can see that I have pip installed: $ which pip ![]() But I do still have python2.7 installed: $ python -version I originally had python2.7 and pip installed on debian 8, but maybe something happened during the installation and now I don't have pip. I recently upgraded from debian 8 to debian 10. ![]()
0 Comments
Leave a Reply. |