简体   繁体   中英

Py 3.8.2 pip missing

I literally used pip just a day ago and now, even before upgrading, pip seems to have vanished. Python is definitely in my path, but the CMD prompt doesn't recognise pip, keeps saying there's a SyntaxError:

I dld get-pip and ran it in vs code, it said

[Running] /usr/bin/env python "c:\Users\P\Desktop\get-pip.py"
The system cannot find the path specified.

[Done] exited with code=1 in 25.392 seconds

[Running] /usr/bin/env python "c:\Users\P\Desktop\get-pip.py"
The system cannot find the path specified.

[Done] exited with code=1 in 0.086 seconds

[Running] /usr/bin/env python "c:\Users\P\Desktop\tempCodeRunnerFile.py"
The system cannot find the path specified.

[Done] exited with code=1 in 0.143 seconds

I was trying to load pygame and that's when it started. Any suggestions are welcome, also here's my PATH directory:

C:\Users\P\AppData\Local\Programs\Python\Python38\;C:\Users\P\AppData\Local\Programs\Python\Python38\Scripts\;C:\Users\P\AppData\Roaming\Scripts;C:\Users\P\AppData\Roaming\npm

Looks like the file is just not there? You have to download the get-pip.py file before you can use it.

Fixed, uninstalled the 8.2 and went back to the 8.1,working fine now, with pip. Thanks for all the help, much appreciated.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM