Working directory error

前端 未结 10 1055
无人共我
无人共我 2021-01-30 22:04

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.

10条回答
  •  误落风尘
    2021-01-30 22:43

    I finally solved the problem.

    I think it all started because the first project that I opened with pycharm was in my "download" folder, so the working directory was automatically set to a temporal folder by default and allthough I moved the project to another folder and I manually changed the working directory from the terminal, it was not working.

    The solution was creating a new project and giving a correct path to the new project. It seems very easy but it was not that obvious.

提交回复
热议问题