V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
akura
V2EX  ›  Python

pycharm 这个报错是什么原因,怎么解决

  •  
  •   akura · 2018-08-15 11:43:34 +08:00 · 12007 次点击
    这是一个创建于 2074 天前的主题,其中的信息可能已经有所发展或是发生改变。

    11:37 Error running 'tests': Can't run remote python interpreter: Can't get remote credentials for deployment server [email protected]

    什么都没有做,早上在公司运行代码时出现这个错误,在家里没有这个错误,两个 pycharm 版本不一样,有什么不用重装的解决方案!

    13 条回复    2019-05-05 17:07:23 +08:00
    dongdawang
        1
    dongdawang  
       2018-08-15 11:48:53 +08:00
    你解释器 interpreter 是不是指定错了
    TuringGunner
        2
    TuringGunner  
       2018-08-15 11:54:04 +08:00
    这不是写明白了么...

    你的解释器设置有问题
    capric
        3
    capric  
       2018-08-15 12:24:57 +08:00
    你指定了远程解释器(remote python interpreter),然后现在连不上远程的那台机器了,是不是远程服务器([email protected])的权限被去掉了
    akura
        4
    akura  
    OP
       2018-08-15 12:38:28 +08:00
    解释器用的 pyenv 下的 python 用了一个月都没有这个问题 现在突然出现这个错误
    bsg1992
        5
    bsg1992  
       2018-08-15 16:48:08 +08:00
    [email protected] 链接不上。我一个不懂 PHP 的都能看懂。。。。
    dashayu
        6
    dashayu  
       2018-08-15 16:55:12 +08:00
    有往这发问题的时间,百度都能出来,真是...
    toxicant
        7
    toxicant  
       2018-08-15 16:56:29 +08:00
    翻译完了百度完了再来提问谢谢
    ArianX
        8
    ArianX  
       2018-08-15 19:23:14 +08:00 via Android
    密…密码错了?
    akura
        9
    akura  
    OP
       2018-09-20 09:59:16 +08:00
    @dashayu @toxicant 谁不知道,这是坑好不好,两个编译环境连接同一个远程 ftp 就可能出现这种情况!别当别人都是傻子。。。
    hp66722667
        10
    hp66722667  
       2019-02-27 09:17:35 +08:00
    请问怎么解决的 碰到了类似问题
    akura
        11
    akura  
    OP
       2019-02-27 09:44:34 +08:00 via Android
    @hp66722667 试试把所有的远程解释器都删除,再添加一个新的
    qlhai
        12
    qlhai  
       2019-05-05 17:02:29 +08:00
    ls 那些瞎回复的,真是醉了,这目测是个 bug, ssh 是没问题的,我用 pycharm 也可以把代码传上去,就是不能 run 和 debug
    qlhai
        13
    qlhai  
       2019-05-05 17:07:23 +08:00
    我重新在 setting 里把当前的 remote ssh 设置里的 SSH Credentials 填上后, 就可以了
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2734 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 14:52 · PVG 22:52 · LAX 07:52 · JFK 10:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.