No module named oldnumeric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autodocktools (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
mgltools-pmv (Debian) |
Fix Released
|
Unknown
|
|||
mgltools-pmv (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When running Autodock Tools scripts, one commonly gets the error "ImportError: No module named oldnumeric"
Example:
/usr/lib/
…
Traceback (most recent call last):
File "/usr/lib/
from AutoDockTools.
File "/usr/lib/
from MolKit.torTree import TorTree
File "/usr/lib/
from molecule import AtomSet, BondSet
File "/usr/lib/
from numpy.oldnumeric import sum, array, less_equal, take, nonzero, argsort
ImportError: No module named oldnumeric
The suggested workaround to downgrade numpy used to work in 16.04. (https:/
sudo pip install numpy==1.8
But it fails in 16.10 with "RuntimeError: module compiled against API version 0xa but this version of numpy is 0x9"
If the autodocktools package is put into Ubuntu 16.10 repositories, it should be compiled against a compatible numpy version, and the repositories should also provide the appropriate numpy version.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: autodocktools 1.5.7-1
ProcVersionSign
Uname: Linux 4.8.0-26-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Nov 9 20:21:40 2016
EcryptfsInUse: Yes
InstallationDate: Installed on 2016-11-05 (4 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
PackageArchitec
SourcePackage: autodocktools
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in mgltools-pmv (Debian): | |
status: | Unknown → New |
Changed in mgltools-pmv (Debian): | |
status: | New → Fix Released |
Status changed to 'Confirmed' because the bug affects multiple users.