Obitools doesn't install well
0
0
Entering edit mode
4.4 years ago
goofigue • 0

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.

software error • 1.3k views
ADD COMMENT
0
Entering edit mode
ADD REPLY
0
Entering edit mode

I've just tried and I get this :

UnsatisfiableError: The following specifications were found to be incompatible with each other:
Package virtualenv conflicts for:
obitools -> virtualenv[version='>=1.11.0']
Package wheel conflicts for:
obitools -> wheel[version='>=0.24.0']
Package sqlite conflicts for:
python=2.7 -> sqlite[version='>=3.20.1,<4.0a0|>=3.22.0,<4.0a0|>=3.23.1,<4.0a0|>=3.25.2,<4.0a0|>=3.25.3,<4.0a0|>=3.27.2,<4.0a0|>=3.29.0,<4.0a0|>=3.30.0,<4.0a0']
Package esmre conflicts for:
obitools -> esmre
Package sphinx conflicts for:
obitools -> sphinx[version='>=1.2.0']
Package cython conflicts for:
obitools -> cython[version='0.21.*|>=0.24']
Package ncurses conflicts for:
python=2.7 -> ncurses[version='6.0.*|>=6.0,<7.0a0|>=6.1,<7.0a0']
Package zlib conflicts for:
python=2.7 -> zlib[version='>=1.2.11,<1.3.0a0']
Package openssl conflicts for:
python=2.7 -> openssl[version='1.0.*|1.0.*,>=1.0.2l,<1.0.3a|>=1.0.2m,<1.0.3a|>=1.0.2n,<1.0.3a|>=1.0.2o,<1.0.3a|>=1.0.2p,<1.0.3a|>=1.1.1a,<1.1.2a|>=1.1.1b,<1.1.2a|>=1.1.1c,<1.1.2a|>=1.1.1d,<1.1.2a']
Package xorg-libxau conflicts for:
obitools -> xorg-libxau
Package pip conflicts for:
python=2.7 -> pip
Package ca-certificates conflicts for:
python=2.7 -> ca-certificates
Package libgcc-ng conflicts for:
python=2.7 -> libgcc-ng[version='>=7.2.0|>=7.3.0']
obitools -> libgcc-ng[version='>=7.3.0']
Package libffi conflicts for:
python=2.7 -> libffi[version='3.2.*|>=3.2.1,<4.0a0']
Package tk conflicts for:
python=2.7 -> tk[version='8.6.*|>=8.6.7,<8.7.0a0|>=8.6.8,<8.7.0a0']
Package libstdcxx-ng conflicts for:
python=2.7 -> libstdcxx-ng[version='>=7.2.0|>=7.3.0']
Package ipython conflicts for:
obitools -> ipython[version='>=3.0.0|>=3.0.0,<6.0']
Package xorg-libx11 conflicts for:
obitools -> xorg-libx11
Package readline conflicts for:
python=2.7 -> readline[version='7.*|>=7.0,<8.0a0']
ADD REPLY
0
Entering edit mode

Output of python --version?

ADD REPLY

Login before adding your answer.

Traffic: 2687 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6