Re: [Cython] ImportError: DLL load failed: The specified module could not be found.

2011-10-22 Thread Alex Berghage
Adrian, If the import works when the module is in your working directory, the problem is probably your path. Have you tried adding the folder containing the module to your PYTHONPATH environment variable? Sent from my iPhone (please pardon brevity) On Oct 21, 2011, at 3:51 PM, Adrian Martínez

Re: [Cython] ImportError: DLL load failed: The specified module could not be found.

2011-10-21 Thread mark florisson
Sorry, most of us don't use Windows. In any case, this is something that belongs on the cython-users list, please continue the discussion there. On 21 October 2011 20:51, Adrian Martínez Vargas wrote: > I'm 90% sure that the problem is that the pyd file is not registered (it > works if I put the

Re: [Cython] ImportError: DLL load failed: The specified module could not be found.

2011-10-21 Thread Adrian Martínez Vargas
I'm 90% sure that the problem is that the pyd file is not registered (it works if I put the module in my working directory). I'm trying to registered in windows 7 with regsvr32 but don't work. I need HELP guys! Regards Adrian On 19/10/2011 12:45 PM, Alexander T. Berghage wrote: Adrian I'm

Re: [Cython] ImportError: DLL load failed: The specified module could not be found.

2011-10-20 Thread Adrian Martínez Vargas
Dear Alexander and cython list, the same question, different approach a) I compiled and installed my python module with these two commands C:\Temporal\source\Cython_ext> python OK_setup_windows.py build_ext C:\Temporal\source\Cython_ext> python OK_setup_windows.py install b) Testing my module i

Re: [Cython] ImportError: DLL load failed: The specified module could not be found.

2011-10-19 Thread Alexander T. Berghage
Adrian I'm a little unclear on the big picture here. Are you trying to distribute a module (a .pyd / .dll) that you or someone else can import from a .py script, or are you looking to compile a .exe that runs your cython code on execution? Just interpreting the error you're describing (Impo

[Cython] ImportError: DLL load failed: The specified module could not be found.

2011-10-19 Thread Adrian Martínez Vargas
Hi cython list, I am having problems to distribute a python module for windows (written with cython). It compile ok with mingw (installed with but when I import the module in python I get this error ImportError: DLL load failed: The specified module could not be found. I guess that some wher