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

7 vues (au cours des 30 derniers jours)
Resfyanti Nur Azizah
Resfyanti Nur Azizah le 2 Déc 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?

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Call Python from MATLAB dans Help Center et File Exchange

Produits


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by