1. Anaconda软件的基本使用
1.1 环境切换:
转置:https://blog.51cto.com/u_11208931/3319321
2. jupyter lab的常见问题
2.1 安装问题
错误信息:ERROR: Could not find a version that satisfies the requirement xxx
## 错误信息:ERROR: Could not find a version that satisfies the requirement xxx
说明:我们经常通过pip安装东西时常常会出现ERROR: Could not find a version that satisfies the requirement xxx的问题。
该问题常常会误导我们认为是下载的安装包之间存在冲突,因而花费大量的时间去配置各种各样的环境。
其实出现这个问题的原因是python国内网络不稳定,直接导致报错。
因此我们常用镜像源来解决此问题。如下:
1.pip install 包名 -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
##清华园镜像
2.pip install 包名 -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host pypi.tuna.tsinghua.edu.cn
若存在以下信息:ERROR: No matching distribution found for win32ui
说明:包间版本不兼容 或者 该包为自定义函数(尤其在学习书籍中代码的时候,很容易将工具包和自定义包弄混)
C:\Users\asus>py -m pip install win32ui -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com
Looking in indexes: http://pypi.douban.com/simple/
ERROR: Could not find a version that satisfies the requirement win32ui
ERROR: No matching distribution found for win32ui