No module named 'matlab.pr​oduction_s​erver'

7 Ansichten (letzte 30 Tage)
Resfyanti Nur Azizah
Resfyanti Nur Azizah am 2 Dez. 2022
Hi,
I tryed to install matlab production server client on python. I use this code to install the package:
python setup.py install
But, When I try to import the package into python using:
from matlab.production_server import client
I found this error:
ModuleNotFoundError: No module named 'matlab.production_server'; 'matlab' is not a package
Do I miss instalation step?

Akzeptierte Antwort

Kojiro Saito
Kojiro Saito am 2 Dez. 2022
Please try the following.
import matlab
from production_server import client
  5 Kommentare
Kojiro Saito
Kojiro Saito am 2 Dez. 2022
OK I understand you're using PyCharm. I think this answer might help you.
Resfyanti Nur Azizah
Resfyanti Nur Azizah am 2 Dez. 2022
thankyou so much, I willl try this solution

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by