Closed yongjuntan closed 2 years ago
Hi @yongjuntan , it looks like you are trying to install from an older Python version, so setuptools
may not have all the required features I used to build the pyhmmer
package. However, you should be able to use the pre-compiled wheel distributions.
Make sure you have the wheel
package installed, and then try to install the pre-compiled package:
$ python3 -m pip install wheel
$ python3 -m pip install pyhmmer --only-binary pyhmmer
If this still doesn't work, then update setuptools
, and retry building:
$ python3 -m pip install -U setuptools
$ python3 -m pip install pyhmmer
Hi @althonos ,
Thanks for your answer. I have solved the problem after updating setuptools. And I checked my python version, it is 3.6.9, which is older than current one.
Thank you so much for your help!
Happy that it works!
Hi, I was trying to install pyhmmer in ubuntu. Because I have both python2 and 3 in ubuntu, I used below command to install it. It could download the package, but fail to install due to an import error: "ImportError: cannot import name 'errors'"
Could I known which additional package I need to install before pyhmmer installation?
Thanks for your help!
python3 -m pip install pyhmmer