question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fail to start on RHEL (using the Canopy python distribution)

See original GitHub issue

Hi,

I’ve installed pymatbridge, while using the Canopy python distribution. I followed the instructions on how to install pip packages on canopy (from here: https://support.enthought.com/hc/en-us/articles/204469690-Installing-packages-into-Canopy-User-Python-from-the-OS-command-line).

Then, running the following on the ipython notebook, fails to start:

from pymatbridge import Matlab
mlab = Matlab() # I also tried writing the explicit path/matlab 

mlab.start()

and results with:

Starting MATLAB on ZMQ socket ipc:///tmp/pymatbridge-65d47756-5dfc-4664-a666-233d18c23393
Send 'exit' command to kill the server
............................................................MATLAB session timed out after 60 seconds

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-2-da824633164b> in <module>()
----> 1 mlab.start()
      2 

~/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pymatbridge/pymatbridge.pyc in start(self)
    223             return self
    224         else:
--> 225             raise ValueError("%s failed to start" % self._program_name())
    226 
    227     def _response(self, **kwargs):

ValueError: MATLAB failed to start

EDIT: Looking on the terminal console. Looks like ipython generates the following errors:

Invalid MEX-file
'~/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pymatbridge/matlab/messenger.mexa64':
/lib64/libc.so.6: version `GLIBC_2.17' not found (required by
~/Enthought/Canopy_64bit/User/lib/python2.7/site-packages/pymatbridge/matlab/messenger.mexa64)

Thanks a lot for your assistance!

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:21 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
raylimcommented, Jun 23, 2016

Okay, I see. It’s the matlab stdc++ library (in matlab/R2014b/sys/os/glnxa64) that is missing GLIBCXX_3.4.20

0reactions
raylimcommented, Jun 23, 2016

Yes, not sure why it’s picking up that libstdc++.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Canopy 2.1 Known Issues - Enthought Knowledge Base
Canopy does not start on Ubuntu 17.10: as a workaround, you can install the exact same Python distribution for command-line-only use (i.e. ...
Read more >
After Installation of canopy express - python - Stack Overflow
When the migration is complete, you will access your Teams at stackoverflowteams.com, and they will no longer appear in the left sidebar on...
Read more >
PEP 513 – A Platform Tag for Portable Linux Built Distributions
This PEP proposes the creation of a new platform tag for Python package built distributions, such as wheels, called manylinux1_{x86_64,i686} with external ...
Read more >
Change default python distribution for postgres from the ...
On an RHEL6 system, I'd like my postGIS implementation (ie my postgres/postgresql databases) to use Enthought's Canopy distribution of python, ...
Read more >
Installing Cython — Cython 3.0.0a11 documentation
Many scientific Python distributions, such as Anaconda [Anaconda], Enthought Canopy [Canopy], and Sage [Sage], bundle Cython and no setup is needed.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found