Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
134 views
in Technique[技术] by (71.8m points)

python - How to rectify pip3 file not found error?

I have installed python 2 and 3 and also have added the path to system variables. Everything except pip3 is working fine. Pip3 shows a error stating file is not found. Given below is the result I get on command line

Any direct pip3 command shows "The system cannot find the file specified". But if executed with "python3 -m" at the beginning then it runs fine. How can this be fixed so that pip3 can be accessed directly.

C:Users>python3 -m pip --version
pip 20.1.1 from D:SoftwarePython38libsite-packagespip (python 3.8)

Python 2

C:Users>python2
Python 2.7.18 <v2.7.18:8d21aa21f2, Apr 20 2020, 13:25:05> (MSC v.1500 64 bit <AMD64>] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
>>> quit<>

C:Users>pip2 —-version
pip 20.2.3 from d:softwarepython27libsite-packagespip (python 2.7)

Python 3

C:Users>python3
Python 3.8.5 <tags/v3.8.5:580fbb0, Jul 20 2020, 15:43:08) [MSC v.1926 32 bit <Intel>] on win32
Type “help”, “copyright”, “credits” or “license” for more information.
>>> quit<>

C:Users>pip3 —-version
Fatal error in launcher: Unable to create process using "d:softwarepython38python.exe" "D:SoftwarePython38Scriptspip3.exe" —-version’: The system cannot find the file specified.
question from:https://stackoverflow.com/questions/65644341/how-to-rectify-pip3-file-not-found-error

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...