Hello everyone, I'm new in the python coding and for an university work I need to use the package obitools on Linux. I'm on a PC which works on Windows 10 and I use a virtual box to run Ubuntu 18.04. When i try to install the obitools package I always have the same message :
Traceback (most recent call last):
File "setup.py", line 37, in <module>
serenity=serenity_mode(PACKAGE,VERSION)
File "distutils.ext/obidistutils/serenity/__init__.py", line 109, in serenity_mode
serenity_snake(args.virtual,package,version)
File "distutils.ext/obidistutils/serenity/__init__.py", line 58, in serenity_snake
virtualpython=serenity_virtualenv(envname,package,version,minversion=minversion)
File "distutils.ext/obidistutils/serenity/virtual.py", line 105, in serenity_virtualenv
ok = (is_good_python27(python) and
File "distutils.ext/obidistutils/serenity/checkpython.py", line 143, in is_good_python27
rep = is_python27(path) and \
File "distutils.ext/obidistutils/serenity/checkpython.py", line 41, in is_python27
return pythonversion >=StrictVersion("2.7") \
File "/usr/lib/python2.7/distutils/version.py", line 140, in __cmp__
compare = cmp(self.version, other.version)
AttributeError: StrictVersion instance has no attribute 'version'
You can now use OBITools
The computer tell me that I can use obitools but all the commands I tried return me : command name : command not found. I think it's because of the error message above, but as said earlier I'm new in python and on linux so I don't know what to do. I searched any help on internet by taping the error but i didn't found anything interesting.
I really hope some one can help me to run obitools. Thank's in advance.
Have you tried installing through (bio)conda?
I've just tried and I get this :
Output of
python --version
?