I cannot get a prompt to appear in my Pycharm console. This appears to have something to do with an error that appears on startup:
Error: Cannot start process, the path specified for working directory is not a directory
I have looked at these threads and attempted solutions where I could:
Working directory error
How can I run my currently edited file in a PyCharm console in a way that I can type into the command line afterwards?
Interacting with program after execution
Does Pycharm have Interactive Python Interpreter?
Cannot start a console in newly installed Pycharm in Windows
PyCharm and Python Console
Pycharm interactive console does not work
Unlike Cannot start a console in newly installed Pycharm in Windows , I have no error message to go on; just a blank spot where I expected some >>>. I'm using Pycharm Community Edition 4.5. I'm using Mac OS 10.10.5, and sys.version in Python yields this.
'2.7.10 |Anaconda 2.3.0 (x86_64)| (default, May 28 2015, 17:04:42) \n[GCC 4.2.1 (Apple Inc. build 5577)]'
Despite a bad experience so far, I'm hoping to persist with Pycharm because it gets good reviews from my Python-savvy friends and family. Can I add any information to make this issue solvable? Thanks.
This issue was solved by re-starting Pycharm, closing all files, and choosing a folder, rather than a file, for a new project. Solution inspired by Working directory error .
This also allowed me to access the correct one out of my distressingly numerous available Python installations.
When I have had this problem with an existing project, one or both of the following two actions has resolved it:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With