[SciPy-user] Matlab can interfere with Python?

Andrew Straw strawman@astraw....
Wed Oct 15 15:49:28 CDT 2008

Just to be clear, it seems like you have experienced problems with 2 things:

1) While doing the link step to create a .dll (well, .pyd file) when
running MinGW's GCC  on a .c file, the linking fails due to an error.
(The .c file being autogenerated by Cython when compiling a .pyx file.)
If this is correct, what do you mean by "prevent Python from linking" --
Python is not executing in this case. What is the exact gcc error
message? Does gcc not find the python25.dll? Does gcc fail to link other
files that have nothing to do with python (i.e. they don't use symbols
from python25.dll)?

2) "severly inhibit execution of code" -- are the symptoms any different
than the CPU being busy or the RAM being full? Have you checked those

Still just trying to understand the nature of the problem,

Wes McKinney wrote:
> I have experienced this bizarre problem on two my coworker's machine
> who run Matlab (7.6.0 rev 2008a) and I have been teaching to use
> Python/Numpy/Scipy. Occasionally Matlab will somehow prevent Python
> from linking with various DLLs or severely inhibit the execution of
> code. I am not really sure how this could be (other than the Borg at
> the MathWorks not wanting anyone to use open source software), but has
> anyone else experienced this? As soon as I killed Matlab the problem
> disappeared.
> Here is the linkage output from a Cython dll that was killed by this:
> C:\MinGW\bin\gcc.exe -mno-cygwin -shared -s
> build\temp.win32-2.5\Release\tseries.o
> build\temp.win32-2.5\Release\tseries.def -LC:\Python25\libs -LC:\P
> ython25\PCBuild -lpython25 -lmsvcr71 -o tseries.pyd
> Maybe it's locking up the windows C runtime msvcr71?
> Any help here would be appreciated.
> Thanks,
> Wes
> ------------------------------------------------------------------------
> _______________________________________________
> SciPy-user mailing list
> SciPy-user@scipy.org
> http://projects.scipy.org/mailman/listinfo/scipy-user

More information about the SciPy-user mailing list