导入时,pycharm 上的远程调试器无法找到 wsl2 PYTHONPATH 中的模块。我在该导入行处设置了一个调试行断点,然后进入代码并<frozen importlib._bootstrap>
打开一个名为的文件并通知我:
Remote file /mnt/c/Users/wilso/Desktop/Korem_lab/git/ is mapped to the local path C:\Users\wilso\Desktop\Korem_lab\git\ and can't be found.
You can continue debugging, but without the source.
To fix that you can do one of the following:
Edit settings of path mappingcin remote debug configuration
...
所以我去我的路径映射配置以确保远程和本地正确链接,但错误并没有消失。这只是pycharm端的一个错误吗?这非常令人沮丧。