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

7 ビュー (過去 30 日間)
Resfyanti Nur Azizah
Resfyanti Nur Azizah 2022 年 12 月 2 日
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?

採用された回答

Kojiro Saito
Kojiro Saito 2022 年 12 月 2 日
Please try the following.
import matlab
from production_server import client
  5 件のコメント
Kojiro Saito
Kojiro Saito 2022 年 12 月 2 日
OK I understand you're using PyCharm. I think this answer might help you.
Resfyanti Nur Azizah
Resfyanti Nur Azizah 2022 年 12 月 2 日
thankyou so much, I willl try this solution

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeCall Python from MATLAB についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by