Python script not running with system

조회 수: 6(최근 30일)
Guy Nir
Guy Nir 2021년 2월 13일
답변: Abhishek Gupta 2021년 2월 16일
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/ -h')
status =
cmdout =
'Traceback (most recent call last):
File "/Users/guynir/OligoMiner/", line 43, in <module>
from Bio.SeqUtils import MeltingTemp as mt
ImportError: No module named Bio.SeqUtils


Abhishek Gupta
Abhishek Gupta 2021년 2월 16일




Community Treasure Hunt

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

Start Hunting!

Translated by