Problems running/debugging script: IOError: [Errno 2] No such file or directory: '
I've created a new project. I edited the configuration to identify the interpreter, script and working directory.
The script won't launch (either run or debug) reporting that:
/System/Library/Frameworks/
/System/Library/Frameworks/
Process finished with exit code 2
----------------
I can run the script successfully from a terminal window as below:
/System/Library/Frameworks/
----------------
The debugger fails with:
Connected to pydev debugger (build 163.10154.50)
Traceback (most recent call last):
File "/Applications/PyCharm.app/
globals = debugger.run(setup['file'], None, None, is_module)
File "/Applications/PyCharm.app/
pydev_imports.execfile(file, globals, locals) # execute the script
IOError: [Errno 2] No such file or directory: '~/PycharmProjects/r2iif/
----------------------------
I successfully completed a previous project that involved remote debugging/execution on an AWS server; permissions are the same on the files that ran successfully and the one that won't. I'm trying to run this project locally on my Mac. Also tried with no difference in result:
: clearing PYTHONPATH environment var.
: starting a fresh project from scratch and pasting source rather than opening existing file
Any suggestions?
Please sign in to leave a comment.
Duplicate of the support request. The problem was solved by defining the absolute path to the script in the corresponding Run Configuration.
Hi Anna, I'm sure you understand what "defining the absolute path to the script in the corresponding Run Configuration" but unless we are as experienced as you or unless we work for JetBrains thats just a word salad.
Can you describe how to implement or fix the "Run Configuration"?
Otherwise your post is about as clear as this...
"The problem were regulators of regeneration and hematopoeitic stem cell differentiation validated by learned regulators"
Thats technically an accurate answer to a problem but unless you have a Masters/PhD in Microbiology its not much help in solving the problem.
@andrew
Go to Run | Edit Configurations.... and make sure your run configuration has the correct Script Path speicfied.