Unable to run a terminal command inside python script using SSH interpreter (pycharm)
Hello I'm quite new using pycharm,
I'm currently using pycharm in order to run a couple of python scripts in a remote server using the SSH interpreter. In terms of running pure python code works fantastic, however in one of my scripts I'm using 'os.system()' in order to run in the terminal another external framework, but it do not recognize the command-line... The interesting part is when I start a SSH terminal connection within pycharm and in here it does recognize the framework when I call it in the command line.
I was thinking that maybe as my interpreter in pointing to /usr/bin/python3 the python shell does not reload the ~/.profile in my server.
Ps. I had already export the framework path to ~/.profile, so whenever I logging to my session it will load it..
Please sign in to leave a comment.