Just to be clear, I am not the author of that example. It was written by (I
believe) Jon Wadelton from The Foundry and demonstrated at the 2009 Nuke
masterclass. At one point I simply re-posted it to the list because someone
else was looking for the code.
I haven't tried running it on Windows, but from your traceback, it appears
that whatever library numpy is loading is not binary-compatible with Nuke's
Python. It may simply be that that numpy was built against a newer release
of Python 2.6, or it could be something lower... without messing around with
it, it's hard to say. However, you should be able to modify the openglPanel
example to remove the dependency on numpy altogether (for example, by using
Python's built-in array class).
-Nathan
-----Original Message-----
From: Matthieu Cadet
Sent: Thursday, June 14, 2012 5:48 AM
To: Nuke Python discussion
Subject: Re: [Nuke-python] numpy module import failed
Hi again
I still have problem importing numpy....
Nathan Rusch, if you see this message, please help!
i want to try your openGLPanel.py, that you posted
long time ago here:
http://forums.thefoundry.co.uk/phpBB2/viewtopic.php?t=4090
i know that you have made this on Linux where everything related
to python and python package seems to be less painfull :P
but nobody have already tried to make this python module within Nuke
interpreter ???
numpy, openEXR, OpenGL, PIL ...
on Windows 7 of course, with Nuke 6.3v8 64bits
i hope someone will stumble upon this discussion and know a solution :)
ps: i want all of this work within Nuke, to make a custom PySide
window ( or Panel ) that shows an EXR image file ( 8,16,32 bit float )
thanks
Matthieu.
On Wed, Jun 13, 2012 at 1:58 PM, Matthieu Cadet
<[email protected]> wrote:
tried both MKL and unoptimized installation,
i get the same error :
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Python26\Lib\site-packages\numpy\__init__.py", line 147, in
<module>
import add_newdocs
File "C:\Python26\Lib\site-packages\numpy\add_newdocs.py", line 9, in
<module>
from numpy.lib import add_newdoc
File "C:\Python26\Lib\site-packages\numpy\lib\__init__.py", line 4,
in <module>
from type_check import *
File "C:\Python26\Lib\site-packages\numpy\lib\type_check.py", line
8, in <module>
import numpy.core.numeric as _nx
File "C:\Python26\Lib\site-packages\numpy\core\__init__.py", line 5,
in <module>
import multiarray
ImportError: DLL load failed: The specified module could not be found.
On Wed, Jun 13, 2012 at 11:55 AM, Sebastian Elner <[email protected]>
wrote:
try mkl first, its faster. if it does not work try the unoptimized
On 06/13/2012 11:52 AM, Matthieu Cadet wrote:
mmm not sure i got this one, i will try with it :)
should i need to download the numpy-unoptimized
or the MKL version ?
thanks
On Wed, Jun 13, 2012 at 11:45 AM, Sebastian Elner<[email protected]>
wrote:
did you get your installer from
http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy ?
On 06/13/2012 11:39 AM, Matthieu Cadet wrote:
Hi!
does anybody know how to import "numpy" python module inside Nuke ?
when i try just with "import numpy", i get this error :
Traceback (most recent call last):
File "<string>", line 1, in<module>
File "C:\Python26\Lib\site-packages\numpy\__init__.py", line 137,
in<module>
import add_newdocs
File "C:\Python26\Lib\site-packages\numpy\add_newdocs.py", line 9,
in<module>
from numpy.lib import add_newdoc
File "C:\Python26\Lib\site-packages\numpy\lib\__init__.py", line 4,
in<module>
from type_check import *
File "C:\Python26\Lib\site-packages\numpy\lib\type_check.py", line
8, in<module>
import numpy.core.numeric as _nx
File "C:\Python26\Lib\site-packages\numpy\core\__init__.py", line 5,
in<module>
import multiarray
ImportError: DLL load failed: The specified module could not be found.
i'm using Nuke 6.3v8 64bits on Windows 7 64bits
and the numpy version is 1.6.1 for Python 2.6 64bits
thanks for your help
--
Sebastian Elsner - pipeline td - r i s e | fx
t: +49 30 20180300 [email protected]
www.risefx.com
r i s e | fx GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Sebastian Elsner - pipeline td - r i s e | fx
t: +49 30 20180300 [email protected]
www.risefx.com
r i s e | fx GmbH
Schlesische Strasse 28 Aufgang B, 10997 Berlin
Geschäftsführer: Sven Pannicke, Robert Pinnow
Handelsregister Berlin HRB 106667 B
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
--
Matthieu Cadet
Compositor Artist & TD,
nWave Digital
[email protected]
--
Matthieu Cadet
Compositor Artist & TD,
nWave Digital
[email protected]
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________
Nuke-python mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python