[英]How can i install PIP on my windows machine in Visual Studio Code
我嘗試了許多不同的東西,例如wget https://bootstrap.pypa.io/get-pip.py && sudo /usr/bin/python get-pip.py
並將其添加到 PATH 但沒有一個有效。 當我嘗試使用 pip 運行任何東西時,我收到此錯誤...
pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ pip
+ ~~~
+ CategoryInfo : ObjectNotFound: (pip:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
通過以下鏈接下載get-pip.py:https://bootstrap.pypa.io/get-pip.py 。 或者,使用 curl:
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
然后在下載 get-pip.py 的文件夾中運行以下命令:
python get-pip.py
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.