Biopython installation error
1
0
Entering edit mode
8.9 years ago
amy011 • 0
 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
Biopython software-error SNPMeta • 3.0k views
ADD COMMENT
0
Entering edit mode

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 REPLY
0
Entering edit mode

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 REPLY
0
Entering edit mode
8.9 years ago

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 COMMENT

Login before adding your answer.

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