No other mcrInstance can be initialized because blessed init failed.

10 visualizaciones (últimos 30 días)
I am trying to install the matlab runtime on an aws ec2 instance and run some matlab code from python. However i get the following error... SystemError: No other mcrInstance can be initialized because blessed init failed.
Below is a piece of the log.
[Thu May 16 15:07:59.308040 2019] [:error] [pid 5334] [remote 172.31.41.230:172] Traceback (most recent call last):
[Thu May 16 15:07:59.308077 2019] [:error] [pid 5334] [remote 172.31.41.230:172] File "/opt/python/current/app/application.py", line 12, in <module>
[Thu May 16 15:07:59.308081 2019] [:error] [pid 5334] [remote 172.31.41.230:172] myAdder = adder.initialize()
[Thu May 16 15:07:59.308088 2019] [:error] [pid 5334] [remote 172.31.41.230:172] File "/opt/python/run/venv/src/matlabruntimeforpython/adder/__init__.py", line 305, in initialize
[Thu May 16 15:07:59.308091 2019] [:error] [pid 5334] [remote 172.31.41.230:172] return _pir.initialize_package()
[Thu May 16 15:07:59.308097 2019] [:error] [pid 5334] [remote 172.31.41.230:172] File "/opt/python/run/venv/src/matlabruntimeforpython/adder/__init__.py", line 253, in initialize_package
[Thu May 16 15:07:59.308100 2019] [:error] [pid 5334] [remote 172.31.41.230:172] package_handle.initialize()
[Thu May 16 15:07:59.308106 2019] [:error] [pid 5334] [remote 172.31.41.230:172] File "/opt/elasticbeanstalk/eb_infra/runtime/v96/toolbox/compiler_sdk/pysdk_py/matlab_pysdk/runtime/deployablepackage.py", line 33, in initialize
[Thu May 16 15:07:59.308115 2019] [:error] [pid 5334] [remote 172.31.41.230:172] mcr_handle = self.__cppext_handle.startMatlabRuntimeInstance(self.__ctf_path)
[Thu May 16 15:07:59.308131 2019] [:error] [pid 5334] [remote 172.31.41.230:172] SystemError: No other mcrInstance can be initialized because blessed init failed.

Respuestas (0)

Categorías

Más información sobre Python Package Integration en Help Center y File Exchange.

Productos


Versión

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by