I am working with PyCharm 4.04. Since I installed it, every time I open it, as default directory I get this:
C:\\Users\\Laura\\AppData\\Local\\Temp\\main.
I also got this error, and it got resolved by setting the default working directory. Follow the below path, and set the Working Directory to the folder where your code resides.
File > Settings > Build, Execution, Deployment > Console > Python Console > Working Directory ...