0
点赞
收藏
分享

微信扫一扫

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


​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


举报

相关推荐

0 条评论