Missing dependency: Numeric
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
opencv (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-opencv
I was trying to run the example code from here: <http://
I installed python-opencv, but the module opencv.adaptors wouldn't work, as it tries to import Numeric (which is in python-numeric).
/usr/lib/
I don't know what the policy is for package dependencies, but maybe python-opencv should have a dependency on python-numeric?
I'm running Ubuntu 9.10.
"apt-cache policy python-opencv" says:
python-opencv:
Installed: 1.0.0-6.2ubuntu1
Candidate: 1.0.0-6.2ubuntu1
Version table:
*** 1.0.0-6.2ubuntu1 0
500 http://
100 /var/lib/
Also just ran in to this.
It looks like Numeric USED to be the name for the project which has evolved into NumPy.
Go in to adaptors.py (/usr/lib/ pymodules/ python2. 6/opencv/ adaptors. py)
Find: import Numeric
Replace with: import numpy
sudo apt-get install numpy
Hopefully the package maintainer will see this and release a fix