arokem / python-matlab-bridge

A simple Python => MATLAB(R) interface and a matlab_magic for ipython
BSD 2-Clause "Simplified" License
335 stars 96 forks source link

Invalid MEX-file #188

Open T34gr opened 9 years ago

T34gr commented 9 years ago

Hi!

I tried to run in python 2.7.5+ the suggested code to check if it works and happens the same as to https://github.com/arokem/python-matlab-bridge/issues/186

My OS is Linux 3.11.0-12-generic x86_64 (linux mint 16)

I installed with pip pyzmq, Numpy, pymatbridge

I know that this issue is stated before but i am new both in linux and python and maybe the problem that occurs could be my mistake.

Any suggestions?

Above all thanks for your time trying to develop python-matlab bridge.

from pymatbridge import Matlab mlab = Matlab() mlab.start() Starting MATLAB on ZMQ socket ipc:///tmp/pymatbridge Send 'exit' command to kill the server resultsWarning: No window system found. Java option 'MWT' ignored

                        < M A T L A B (R) >
              Copyright 1984-2012 The MathWorks, Inc.
                R2012a (7.14.0.739) 64-bit (glnxa64)
                          February 9, 2012

To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.

Invalid MEX-file '/usr/local/lib/python2.7/dist-packages/pymatbridge/matlab/messenger.mexa64': libzmq.so.3: cannot open shared object file: No such file or directory

Error in matlabserver (line 7) messenger('init', socket_address);

............................................................MATLAB session timed out after 60 seconds MATLAB failed to start False

arokem commented 9 years ago

Yeah - this should (hopefully) be fixed with the upcoming release. Hopefully already next week.

On Wed, May 13, 2015 at 4:50 AM, T34gr notifications@github.com wrote:

Hi!

I tried to run in python 2.7.5+ the suggested code to check if it works and happens the same as to #186 https://github.com/arokem/python-matlab-bridge/issues/186

My OS is Linux 3.11.0-12-generic x86_64 (linux mint 16)

I installed with pip pyzmq, Numpy, pymatbridge

I know that this issue is stated before but i am new both in linux and python and maybe the problem that occurs could be my mistake.

Any suggestions?

Above all thanks for your time trying to develop python-matlab bridge.

from pymatbridge import Matlab mlab = Matlab() mlab.start() Starting MATLAB on ZMQ socket ipc:///tmp/pymatbridge Send 'exit' command to kill the server resultsWarning: No window system found. Java option 'MWT' ignored

                     < M A T L A B (R) >
          Copyright 1984-2012 The MathWorks, Inc.
            R2012a (7.14.0.739) 64-bit (glnxa64)
                      February 9, 2012

To get started, type one of these: helpwin, helpdesk, or demo. For product information, visit www.mathworks.com.

Invalid MEX-file

'/usr/local/lib/python2.7/dist-packages/pymatbridge/matlab/messenger.mexa64': libzmq.so.3: cannot open shared object file: No such file or directory

Error in matlabserver (line 7) messenger('init', socket_address);

............................................................MATLAB session timed out after 60 seconds MATLAB failed to start False

— Reply to this email directly or view it on GitHub https://github.com/arokem/python-matlab-bridge/issues/188.

arokem commented 9 years ago

The new release is now out. Would you please try installing this again (you can use a pip upgrade, I believe) and reporting back?