Question: Biopython installation error
0
gravatar for amy011
4.7 years ago by
amy0110
United States
amy0110 wrote:

 File "/opt/asn/apps/python_2.7.1/lib/python2.7/sqlite3/dbapi2.py", line 50, in <module>
    version_info = tuple([int(x) for x in version.split(".")])
  NameError: name 'version' is not defined

 

ADD COMMENTlink modified 4.7 years ago by geek_y10k • written 4.7 years ago by amy0110

Which OS? Which version of Python and Biopython, and how were they installed? The error you've shown is from sqlite3 rather than Biopython itself...

ADD REPLYlink written 4.7 years ago by Peter5.8k

I use Linux on HPC and Python 2.7.1. and I am trying to compile Biopython from source code.  But yes, the error is from sqlite3 andI was wondering if I should overwrite the 'sqlite3/dbapi2.py' file. (I do not have super user privileges though)

Tried installing sqlite in my home directory.But still getting the same error message.

ADD REPLYlink written 4.7 years ago by amy0110
0
gravatar for geek_y
4.7 years ago by
geek_y10k
Barcelona
geek_y10k wrote:

Why don't you try pip install biopython ? If you do not have admin privileges, install packages like Anaconda which includes most of the libraries required for scientific computing and it install everything in the directory you specify, including python itself. 

ADD COMMENTlink written 4.7 years ago by geek_y10k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 772 users visited in the last hour