Pycharm连接远程服务器遇到的问题

根据大佬的教程很快就配置了一半了,可是,pycharm配置服务器环境直接给我卡住了

本地Pycharm连接远程服务器详细配置过程(直接在本地使用服务器显卡,很棒)

问题一 pycharm always “uploading pycharm helpers” to same remote python interpreter when starts

在这里插入图片描述

似乎PyCharm在远程帮助程序文件夹中创建了一个build.txt文件,该文件仅包含当前的PyCharm内部版本号作为其内容,例如

PY-232.10072.31

需要将你pycharm中build.txt,与服务器中root/.pycharm_helpers中build.txt版本号相同
在这里插入图片描述

问题二 [Errno 2] No such file or directory/root/miniconda3/bin/python: can’t open file’/root/. pycharm helpers/virtualenv-20. 24.5.pyz’:

在这里插入图片描述
发现无法打开virtualenv-20.24.5.pyz这个文件,其实发现pycharm_helpers里没有这个文件,解决方式就是删除pycharm_helpers这个文件,然后重新下载

还有就是Location要选择的时env下载的第三方库包,默认的话就要选择System Interpreter

新版pycharm配置https://blog.csdn.net/weixin_44984671/article/details/129309805