Entering edit mode
6.5 years ago
mariahaguiar001
•
0
Hi everyone, I am attempting to install OBITools and I receive the following error:
$ pip3 install OBITools
Collecting OBITools
Using cached https://files.pythonhosted.org/packages/dc/53/bef677cfebef9aba707abb36f476d474c1a3d67f02fefdb38fa9fcf92b4f/OBITools-1.2.11.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/bv/3wwlmnhs7vz0k9ffnhcx674c0000gn/T/pip-build-skycz3ut/OBITools/setup.py", line 35, in <module>
from obidistutils.serenity import serenity_mode
File "distutils.ext/obidistutils/serenity/__init__.py", line 12, in <module>
import urllib2
ModuleNotFoundError: No module named 'urllib2'
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/bv/3wwlmnhs7vz0k9ffnhcx674c0000gn/T/pip-build-skycz3ut/OBITools/
If anyone could point me in the right direction that would be great, thanks for reading!
It appears OBITools is for python 2 only. So
pip2
install it.Yes, I tried
pip
andpip2
to install OBITools but it reports that the command is not found.What command is not found?
pip2
does not work. I installedpip
, it seemed to work, however, I received the same error message as before.Can you post the output of
which -a python
andwhich -a python3
?How? Can you show
which -a pip
?What about
I also tried
python -m pip install OBITools
, and it returned/usr/bin/python: No module named pip
Then pip was not installed for python2
The reason you are getting the same error is because
pip
you are using is forpython3
.If you're not against dockers, I've made a dockerized version of the tool, which abstracts away the arduous install process. https://hub.docker.com/r/romunov/obitools