1.anaconda出现
CondaHTTPError: HTTP 000 CONNECTION FAILED for url https://repo.continuum.io/pkgs/main/win-64/repodata.json.bz2
Elapsed:
在命令窗口下按顺序输入,此过程不会产生输出。
第一步)conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/
第二步)conda config --add channelshttps://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/
第三步)conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
第四步)conda config --set show_channel_urls yes
2.上一步骤完成后出现
twisted 18.7.0 requires PyHamcrest>=1.9.0, which is not installed.
Installing collected packages: pygame
Successfully installed pygame-1.9.6
You are using pip version 10.0.1, however version 19.1.1 is available.
You should consider upgrading via the ‘python -m pip install --upgrade pip’ comm
and.
解决办法:
pip install PyHamcrest
python -m pip install --upgrade pip
附加内容:怎样在命令窗口模式下进行复制粘贴
右键命令窗口边缘->属性->选项->勾选快速编辑模式->点击确认
复制:鼠标左键拉选命令窗口内容出现白框即可在外界进行粘贴
粘贴:ctrl+c 复制内容 ->切换到命令窗口-> 点击鼠标左键即可将内容粘贴到命令窗口
声明:以上内容均来自百度,非原创。