简书上配置教程:https://www.jianshu.com/p/79df9ac88e96

File -->Settings --> Project: xx --> Project Interpreter 右上方 设置按钮 点击 add

pycharm配置远程解释器

添加ssh远程登录,登录之后选择远程环境虚拟环境中的 env/torch-0.4.1/bin/python

pycharm配置远程解释器
pycharm配置远程解释器

相关文章: