Traitar installation issue
0
0
Entering edit mode
6.1 years ago
112498262 ▴ 10

I am trying to install the Traitar (microbial trait analyzer) software on Biolinux8 running on a virtual box. When I install Traitar with pip I get the following error;

ImportError: Tornado requires an up-to-date SSL module. This means Python 2.7.9+ or 3.4+ (although some distributions have backported the necessary changes to older

Has anyone has had this issue and found a solution?

software error • 1.5k views
ADD COMMENT
1
Entering edit mode

Try:

python -m pip install --upgrade python

You may also need to upgrade pip first:

python -m pip install --upgrade pip

It will usually emit a warning if there's a newer version anyway.

Alternatively, download the latest conda installer, and use conda's python binary from hereon.

https://conda.io/docs/download.html

ADD REPLY
0
Entering edit mode

What version of python are you running? What is the output of python -V or python3 -V?

ADD REPLY
0
Entering edit mode

Python version 2.7.6

ADD REPLY
0
Entering edit mode

Then upgrade your python to v.2.7.9+ as suggested above.

ADD REPLY
0
Entering edit mode

Thnaks, I have tried that. When I type python3 -V I get Python 3.4.3, so I'm not sure which one is running.

ADD REPLY
0
Entering edit mode

Depends what the traitor installer is using. If you are getting that error then it is likely using plain python which would refer to python v.2. Which python does traitar recommend?

ADD REPLY
0
Entering edit mode

In their published paper it says it is implemented in Python 2.7

ADD REPLY
0
Entering edit mode

Then I suggest that you look into upgrading your python 2 to the latest version.

ADD REPLY
0
Entering edit mode

Yes, but a submodule requires 2.7.9+ or 3.4+. Just upgrade.

ADD REPLY
0
Entering edit mode

Biolinux8

I don't know why you picked this one, but you may want to use a more recent operating system.

ADD REPLY
0
Entering edit mode

That's all I have to work with unfortunately.

ADD REPLY

Login before adding your answer.

Traffic: 2633 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