Hi, wondering how to get 'numpy' installed on my Kubuntu Dapper system so I can muck about with perspective tool.
I installed 'python-numeric' via apt-get but that puts 'Numeric' into the system-wide Python directory, not the Inkscape one. I have not had much luck with making links from /usr/local/share/inkscape/extensions to /usr/lib/python2.4/site-packages/Numeric either.
I also remarked: self.q['y'] = docheight - self.q['y'] - self.q['height'] in summersnight.py as per Tav's suggestion.
Any help?
/d
AFAIK, that's how it should work. What error messages are you getting?
Traceback (most recent call last): File "/usr/local/share/inkscape/extensions/perspective.py", line 23, in ? from numpy import * ImportError: No module named numpy
I tried renaming the 'Numeric' directory (soft link) to 'numpy' -- same result.
/d
Donn wrote:
AFAIK, that's how it should work. What error messages are you getting?
Traceback (most recent call last): File "/usr/local/share/inkscape/extensions/perspective.py", line 23, in ? from numpy import * ImportError: No module named numpy
I tried renaming the 'Numeric' directory (soft link) to 'numpy' -- same result.
What if you change from numpy import * to from Numeric import *
I've never actually used numpy or numeric for anything so I don't know which is what or who begat who, but if they expose the same api that should do it.
Aaron
What if you change from numpy import * to from Numeric import *
Getting closer, now it can't find linalg. Perhaps I have the wrong 'numpy' installed? Also forgot to mention, this is a self-compiled Inkscape so perhaps I did something wrong.
New error: Traceback (most recent call last): File "/usr/local/share/inkscape/extensions/perspective.py", line 24, in ? from Numeric.linalg import * ImportError: No module named linalg
Time for bed now. /d
participants (2)
-
Aaron Spike
-
Donn