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

조회 수: 14 (최근 30일)
Resfyanti Nur Azizah
Resfyanti Nur Azizah 2022년 12월 2일
댓글: 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 CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by