Python库安装方法
1. 步骤:
-
win + R 打开“运行”窗口,cmd 进入命令行;
-
找到pip安装路径,如:“C:\Python27\Scripts”。在命令行中切换至该目录下;
-
键入 pip install [库名称]。
2.可能遇到的错误:
Could not install package due to an EnvironmentError: …
Consider using the “–user” option or check the permissions.
解决办法: pip install --user [库名称]
3. 资源:
Python库下载链接