解决Python3安装turtle提示错误:Command "python setup.py egg_info" failed with error code 1
2018-10-26 21:08
676 查看
pip install turtle
出现
可以选择升级 setuptools
pip install --upgrade setuptools
升级完成后,还是会出现错误的话,就手动选择更改文件
按照给定的链接,下载turtle包,手动解压,修改setup.py文件后再安装
1,打开setup.py文件,在第四十行修改成
[code]except (ValueErroor, ve):
原来是python2用的,加了 括号就是python3用的
2, 直接用命令行
pip install -e turtle-0.0.2
-e后面接上我们修改过
setup.py文件的目录。
就ok啦
阅读更多
相关文章推荐
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10
- ubuntu 安装mysql 错误Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-lmPxC
- 解决安装ipython时Command "python setup.py egg_info" failed with error code 1 in /tmp
- 安装第三方模板库发生错误:Command "python setup.py egg_info" failed with error code 1 in XXXXX
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10
- pip安装出现Command "python setup.py egg_info" failed with error code 1 的解决方案
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- Python使用pip install psycopg2安装psycopg2包出现python setup.py egg_info failed with error code 1 in /tmp/pip-build-YtLeN3/psycopg2错误处理
- pip安装出现Command "python setup.py egg_info" failed with error code 1 的解决方案
- pip安装jupyter时报错Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-Fd4ir0/
- 解决 Command "python setup.py egg_info" failed with error code 1 问题
- pip安装icu失败:Command "python setup.py egg_info" failed with error code 1 in
- 【已解决】Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-GFFuD_/ipython/
- (未解决,只是提供一种思路)安装pyspider失败:Command "python setup.py egg_info"failed with error code 10 in.....
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- pip安装软件时出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*的解决方案
- pip错误 Command "python setup.py egg_info" failed with error code 2
- 出现Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build*解决办法