I have two versions of python installed on my machine (Ubuntu 14.xx LTE), as well as two versions pip(one for python 2 and one for python 3). When I run pip --versionthe command line, I get the following output: pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7). I looked into this directory, and there are many other things in it. However, I could not find pip.py. How to run pipfor python 3? Any help is appreciated.
pip
pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
pip.py
To use a different version of pip for python on ubuntu, you can use the main version of python after pip. For example:
will return the standard version of the protocol
pip2 --version
Python 2
pip3 --version
Python 3.
, !
python.exe python 3 python3. PATH. python python 2, python3 python 3.
, pip python 2. pip3 python 3.
Source: https://habr.com/ru/post/1606500/More articles:Не удалось найти ffi в любом из источников - rubyHow to call PowerShell cmdlet from binary (C #) module? - c #http: // localhost / undefined 404 (not found) - javascriptCalling C # command-line cmdlets from another powershell cmdlet - c #Using Jackson and JsonNode, how to filter Json objects with a specific "field": "value", - jsonLoose view scanLeft - scalaAWS Confused Vice - is this "external identifier" really just a "password"? - securityHow to add a fixed button to a RecyclerView adapter? - androidInvoke API Error - AWS API Gateway - aws-api-gatewayОбращение с разрушаемыми препятствиями - algorithmAll Articles