【‘pip’不是内部或外部命令,也不是可运行的程序或批处理文件。】
在‘编辑系统环境变量’中Path里添加Python的路径,
C:\Users\53446\AppData\Local\ESRI\conda\envs\arcgispro-py3-clone\Scripts
找到Python安装到的文件夹,复制Scripts路径
重启cmd或者pycharm,输入pip即可。
【pip下载速度慢】
1.清华大学开源软件镜像站:https://mirrors.tuna.tsinghua.edu.cn/help/pypi/
2.阿里云 PyPI 镜像:http://mirrors.aliyun.com/pypi/simple/
3.中国科技大学 PyPI 镜像:https://pypi.mirrors.ustc.edu.cn/simple/
4.豆瓣 PyPI 镜像:https://pypi.douban.com/simple/
使用方法:在命令行中输入 pip install -i <镜像源地址> <包名> 即可使用对应的镜像源进行安装,例如使用清华大学的镜像源安装 numpy 包,命令为:pip install -i https://pypi.tuna.tsinghua.edu.cn/simple numpy。
pip install -i https://pypi.tuna.tsinghua.edu.cn/simple <>