Python script not running with system

3 visualizaciones (últimos 30 días)
Guy Nir
Guy Nir el 13 de Feb. de 2021
Respondida: Abhishek Gupta el 16 de Feb. de 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
'

Respuestas (1)

Abhishek Gupta
Abhishek Gupta el 16 de Feb. de 2021

Categorías

Más información sobre Call Python from MATLAB en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by