Python script not running with system

2 views (last 30 days)
Guy Nir
Guy Nir on 13 Feb 2021
Answered: Abhishek Gupta on 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
'

Answers (1)

Abhishek Gupta
Abhishek Gupta on 16 Feb 2021

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!