Python script not running with system

6 次查看(过去 30 天)
I am trying to call a python fuunctiion from system. However, I am getting an error and the source seems to be the python functon itself (see below). However, when I run this function directly from a shell, it works well.
[status,cmdout]=system('python /Users/guynir/OligoMiner/outputClean.py -h')
status =
1
cmdout =
'Traceback (most recent call last):
File "/Users/guynir/OligoMiner/outputClean.py", line 43, in <module>
from Bio.SeqUtils import MeltingTemp as mt
ImportError: No module named Bio.SeqUtils
'

回答(1 个)

Abhishek Gupta
Abhishek Gupta 2021-2-16

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by