ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

 

001、在利用python2.7环境下利用pip安装pyfaidx模块时报如下错误:

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

 

002、查看pip版本

[root@PC1 pip]# pip --version
pip 20.3.4 from /usr/lib/python2.7/site-packages/pip (python 2.7)

 

003、解决方法

使用python3的环境,升级python版本

使用如下环境:

[root@PC1 pip]# python --version
Python 3.11.3
[root@PC1 pip]# pip --version
pip 22.3.1 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)

 

然后使用pip命令直接安装:

pip install pyfaidx

 

posted @ 2023-05-15 23:00  小鲨鱼2018  阅读(1003)  评论(0编辑  收藏  举报