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

5 次查看(过去 30 天)
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.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Call 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