ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full comm
2020-03-05 18:52
756 查看
在pycharm中安装tslearn包时报错,安装失败
之后在cmd中pip install tslearn报错:
方法一:
在网上查找资料,主要的解决方式是对pip和setupstools进行更新
pip install --upgrade pip pip install --upgrade setuptools
部分情况可以解决,但我的还是报错
方法二:
后来查看了tslearn的一个官方解释:
因为tslearn有依赖包,因此先要安装cython(不区分大小写)
pip install cython
再安装tslearn结果还是出错。
方法三
还是在上面的官方解释中给出了安装tslearn最简便的一种方法,利用anaconda
如果本身pycharm使用的是anaconda可以直接:
conda install -c conda-forge tslearn
如果不是基于anaconda平台,需要先下载anaconda(直接在官网)
注意要将其配置到路径中,勾选第一个框
在pycharm的interpretor中选择刚安装的anaconda环境和解释器
然后可以正常使用tslearn包了。
- 点赞
- 收藏
- 分享
- 文章举报
相关文章推荐
- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full
- 用pip下载beatifulSoup报错ERROR: Command errored out with exit status 1: python setup.py egg_info Check th
- 报错:python setup.py egg_info Check the logs for full comm
- python2.7 安装MYSQL-python 报错:ERROR: Command errored out with exit status 1:
- 解决python3.7安装turtle报错ERROR: Command errored out with exit status 1:
- python pip install 报错TypeError: unsupported operand type(s) for -=: 'Retry' and 'int' Command "python setup.py egg_info" failed with error code 1 in
- python安装psycopg2 报错 ERROR: Command errored out with exit status 1
- centos7 python "pandas" ERROR: Command errored out with exit status 1
- python安装第三方库遇到 ERROR: Command errored out with exit status 1:
- error:Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/_r/fcrtlb8
- python 安装superset:error: Setup script exited with error: command 'gcc' failed with exit status 1
- pip安装出现Command "python setup.py egg_info" failed with error code 1 的解决方案
- ubuntu下安装pip install mysqlclient 报错 command "python setup.py egg_info" failed with error.....解决方案
- Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/q4/br030ycd5wj57
- 成功解决ERROR: Command errored out with exit status 1: command: 'f:\program files\python\python36\pyt
- Command "python setup.py egg_info" failed with error code 1 in C:\Users\ADMINI~1\AppData\Local\Temp\
- 解决 win10 pycurl安装出错 Command "python setup.py egg_info" failed with error code 10
- 安装pyspider时报错:Command "python setup.py egg_info" failed with error code 10 in C:\Users\beck\AppData\...
- [CentOS]安装MySQL-python,error: Setup script exited with error: command 'gcc' failed with exit status