Sep-02-2020, 03:46 AM
(This post was last modified: Sep-02-2020, 03:46 AM by 12019202386.)
print(sys.executable) ==> /opt/tools/anaconda3/bin/python3
but
os.system("which python") ==> /usr/bin/python
How could i change the python interpreter path of os.system() to "/opt/tools/anaconda3/bin/python3" ?
but
os.system("which python") ==> /usr/bin/python
How could i change the python interpreter path of os.system() to "/opt/tools/anaconda3/bin/python3" ?