• 平台:Windows
  • 版本:PyCharm Professional 2024.1.4

问题描述

  • 使用SSH远程环境,运行时终端概率出现,基本上三次出现两次

    /usr/bin/python3 /tmp/rybRcvSk3f/testproject/manage.py runserver 0.0.0.0:8080
    bash: line 0: cd: /tmp/rybRcvSk3f/testproject: No such file or directory
    /usr/bin/python3: can't open file '/tmp/rybRcvSk3f/testproject/manage.py': [Errno 2] No such file or directory
    Process finished with exit code 2
  • 正常情况

    /usr/bin/python3 /development/testproject/manage.py runserver 0.0.0.0:8080
    Performing system checks...
  • 正常配置Deployment中的Mappings
  • Run/Debug Configurations中配置Path Mappings也不生效

查阅资料

解决方法

  • 回退旧版本PyCharm Professional 2021.1.3