Pycharm does not see files in relative path with ../

后端 未结 2 1946
萌比男神i
萌比男神i 2021-01-02 00:00

I am developing a python project using pycharm. However, the problem is that it refuses to load files in which the relative path includes ../. When I try

相关标签:
2条回答
  • 2021-01-02 00:53

    Go to Run - Edit Configurations, select your configuration

    and change Working directory to /media/Storage/System and dev/Code/Cross Platform/python/boids/current/experiments.

    0 讨论(0)
  • 2021-01-02 01:01

    I had the same problem when I moved the python file to another directory. In my case, it was enough to delete the run configuration (Run -> Edit Configurations -> Remove Configuration).

    0 讨论(0)
提交回复
热议问题