필터 지우기
필터 지우기

matlab python interface import tensorflow error

조회 수: 2 (최근 30일)
Jet Yu
Jet Yu 2018년 6월 20일
댓글: David Goerig 2019년 8월 27일
Hi, I am trying to blend matlab codes with a python solver, but a error
Python Error: ImportError: No module named tensorflow
pop when I execute
py.importlib.import_module('myModule')
to test if it goes through. I have try to update the py.sys.path, but it does not work. Settting are Matlab2018a; python2.7, tensorflow1.60(both install via Anaconda2). I am sure the tensorflow is well installed and the python codes is running well. Any one can help?
  댓글 수: 3
Bingzhao Shan
Bingzhao Shan 2018년 10월 16일
What it means to start from bash? Do i just type matlab to start MATLAB from bash?Thanks!
David Goerig
David Goerig 2019년 8월 27일
Open Anaconda Prompt and type matlab.
This should solve it

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Call Python from MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by