Python script not running with system

2 visualizzazioni (ultimi 30 giorni)
Guy Nir
Guy Nir il 13 Feb 2021
Risposto: Abhishek Gupta il 16 Feb 2021
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
'

Risposte (1)

Abhishek Gupta
Abhishek Gupta il 16 Feb 2021

Prodotti


Release

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by