Pycharm launch issue: Error:Cannot start process, the working directory 'C:\Users\ranab\PycharmProjects\3DNN\test3D.py' is not a directory

Whenever I start pycharm, I have this error in the python console: 

Error:Cannot start process, the working directory 'C:\Users\ranab\PycharmProjects\3DNN\test3D.py' is not a directory. 

I have to update the source section to remove the error and the directory for the file shows in AppData\Local\Temp folder which I think is also part of the problem

 

Can anyone help me to solve it?

1 comment
Comment actions Permalink

Are you sure you're getting this error when you start PyCharm, or when you run your python script? Please check what you have as working directory in your run/debug configuration.

See here if you're not familiar with run/debug configurations: https://www.jetbrains.com/help/pycharm/run-debug-configuration.html

0

Please sign in to leave a comment.