Working directory error

前端 未结 10 805
无人共我
无人共我 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:38

    To anyone with similar issues: Python interpreter virtual environment is where your python.exe sits. The working directory is where your script sits. To make everything easier, open a new project, scroll to location where you script is stored, and select. Click the interpreter option, click existing (if old one worked) or choose the python.exe. When asked, open the project in a new window, close old one to avoid confusion. source = banging my head against the console for past few hours.

提交回复
热议问题