Skip to main content

Pycharm刷新远程external_libraries

One min read

pycharm使用远程环境后

会将远程的python环境download下来

然后放到pycharm的缓存目录下

在远程端口更新某个包后

本地的缓存还是这个包的老版本缓存

在debug打断点的时候会贼难受

目前还没有找到解决方案

记录一下。

参考:

解决方法:

  1. Try Settings | Project ... | Project Interpreter | Gear button | Show all | Show paths for the selected interpreter | Reload list of paths solution 1

  2. Go to External Libraries in the project tree and expand it. Right click on "Remote Libraries", you will see an option to "Synchornize 'number'"(并没有找到这个按钮) solution 2

3."Invalidate Cache/ Restart" under file menu but still the update of remote library.

Loading Comments...