首页 > 其他分享 >pip报错:Script file ‘D:\anaconda3\Scripts\pip-script.py‘ is not present.

pip报错:Script file ‘D:\anaconda3\Scripts\pip-script.py‘ is not present.

时间:2022-10-03 13:35:33浏览次数:49  
标签:easy anaconda3 py 报错 install pip


​pip​​​执行任何命令的时候,都会有一个报错:​​Script file 'D:\anaconda3\Scripts\pip-script.py' is not present.​

【Solution】

  1. 进入​​pip-script.py​​所在的文件夹
cd D:\anaconda3\Scripts
  1. 重新安装​​pip​
easy_install pip
  1. 如果报错​​easy_install不是内部或外部命令,也不是可运行的程序​​​或​​easy_install : 无法将“easy_install”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。​

就是说你没有安装easy_install,所以先重新下载一下:

curl

重新安装:

python get-pip.py


标签:easy,anaconda3,py,报错,install,pip
From: https://blog.51cto.com/u_14691718/5730159

相关文章