Revision history [back]
Setting PYTHONPATH environment variable not working
I'm using WW with a remote debug session. On the remote machine my .bashrc includes a setting of PYTHONPATH and it works well when running my script via ssh. However, when running through WW debugger the variable is not set. I echoed sys.path and the path does not contain my addition. I also tried adding it via the Project settings in WW but to no avail. How would I do that?
P.S. My setting in the environment is like Environment But querying sys-path yields print("\n".join(sys.path)) /home/thomaskilian/3DP/Server /usr/bin/python3 /usr/lib/python37.zip /usr/lib/python3.7 /usr/lib/python3.7/lib-dynload /home/thomaskilian/.local/lib/python3.7/site-packages /usr/local/lib/python3.7/dist-packages /usr/lib/python3/dist-packages
right after the program start.
os.environ shows 'PYTHONPATH': '/usr/bin/python3'
Setting PYTHONPATH environment variable not working
I'm using WW with a remote debug session. On the remote machine my .bashrc includes a setting of PYTHONPATH and it works well when running my script via ssh. However, when running through WW debugger the variable is not set. I echoed sys.path and the path does not contain my addition. I also tried adding it via the Project settings in WW but to no avail. How would I do that?
P.S. My setting in the environment is like Environment But querying sys-path yields print("\n".join(sys.path)) /home/thomaskilian/3DP/Server /usr/bin/python3 /usr/lib/python37.zip /usr/lib/python3.7 /usr/lib/python3.7/lib-dynload /home/thomaskilian/.local/lib/python3.7/site-packages /usr/local/lib/python3.7/dist-packages /usr/lib/python3/dist-packages
right after the program start.
os.environ shows 'PYTHONPATH': '/usr/bin/python3'
Setting PYTHONPATH environment variable not working
I'm using WW with a remote debug session. On the remote machine my .bashrc includes a setting of PYTHONPATH and it works well when running my script via ssh. However, when running through WW debugger the variable is not set. I echoed sys.path and the path does not contain my addition. I also tried adding it via the Project settings in WW but to no avail. How would I do that?
P.S. My setting in the environment is like Environment But querying sys-path yields print("\n".join(sys.path)) /home/thomaskilian/3DP/Server /usr/bin/python3 /usr/lib/python37.zip /usr/lib/python3.7 /usr/lib/python3.7/lib-dynload /home/thomaskilian/.local/lib/python3.7/site-packages /usr/local/lib/python3.7/dist-packages /usr/lib/python3/dist-packages
right after the program start.