Syntax error in python module
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu | ||||||
Feisty |
Fix Released
|
Low
|
Morten Kjeldgaard | |||
python-biopython (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: python-biopython
I actually found the problem when installing linda, but the file belongs to the python-biopython package. I suspect it has something to do with python2.5 incompatibility. This is what I got:
Selecting previously deselected package linda.
(Reading database ... 157865 files and directories currently installed.)
Unpacking linda (from .../archives/
Setting up linda (0.3.24) ...
Compiling /var/lib/
File "/var/lib/
from __future__ import division
SyntaxError: from __future__ imports must occur at the beginning of the file
Looks like a simple fix. the biopython maintainer should take care of it and report it upstream.
Related branches
Changed in python-biopython: | |
status: | Unconfirmed → Confirmed |
Changed in python-biopython: | |
assignee: | nobody → mok0 |
Due to this bug biopython can't be installed. python- support/ python2. 5/Bio/Wise/ dnal.py ... python- support/ python2. 5/Bio/Wise/ dnal.py" , line 5
sudo apt-get install python-biopython
Compiling /var/lib/
File "/var/lib/
from __future__ import division
SyntaxError: from __future__ imports must occur at the beginning of the file
sudo dpkg-reconfigure python-biopython python- support/ python2. 5/Bio/Wise/ dnal.py ... python- support/ python2. 5/Bio/Wise/ dnal.py" , line 5
Compiling /var/lib/
File "/var/lib/
from __future__ import division
SyntaxError: from __future__ imports must occur at the beginning of the file