I can't run an executable from python 3 within Spyder or Jupyter Anaconda Channels. This is because my system path is not recognised. If in my OSX Terminal I write:
activate myEnv
python3 -c 'import os; print(os.environ["PATH"])'
I get the content of my usual system PATH, but when I do it in python 3 through Anaconda channels Spyder or Jupyter-Notebook, under the same environment, i.e. myEnv, the PATH is different.
import os
print(os.environ["PATH"])
I understood this happens because python environments inherit from different processes, but how can I then set, under Anaconda channels Spyder or Jupyter, my usual environment, and PATH?
PS I found other questions similar to my one, but not sure to understand how to practically use the provided answers.