pycharm使用远程环境后
会将远程的python环境download下来
然后放到pycharm的缓存目录下
在远程端口更新某个包后
本地的缓存还是这个包的老版本缓存
在debug打断点的时候会贼难受
目前还没有找到解决方案
记录一下。
参考:
- orce refresh of external libraries not working
- How to refresh external libraries on a remote host?
- Any way to force a refresh of external libraries on a remote interpreter?
解决方法:
-
Try Settings | Project ... | Project Interpreter | Gear button | Show all | Show paths for the selected interpreter | Reload list of paths
-
Go to External Libraries in the project tree and expand it. Right click on "Remote Libraries", you will see an option to "Synchornize 'number'"(并没有找到这个按钮)
3."Invalidate Cache/ Restart" under file menu but still the update of remote library.