推荐学习书目
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 · Aug 15, 2018 · 13071 views
    This topic created in 2856 days ago, the information mentioned may be changed or developed.

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

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

    13 replies    2019-05-05 17:07:23 +08:00
    dongdawang
        1
    dongdawang  
       Aug 15, 2018
    你解释器 interpreter 是不是指定错了
    TuringGooner
        2
    TuringGooner  
       Aug 15, 2018
    这不是写明白了么...

    你的解释器设置有问题
    capric
        3
    capric  
       Aug 15, 2018
    你指定了远程解释器(remote python interpreter),然后现在连不上远程的那台机器了,是不是远程服务器([email protected])的权限被去掉了
    akura
        4
    akura  
    OP
       Aug 15, 2018
    解释器用的 pyenv 下的 python 用了一个月都没有这个问题 现在突然出现这个错误
    bsg1992
        5
    bsg1992  
       Aug 15, 2018
    [email protected] 链接不上。我一个不懂 PHP 的都能看懂。。。。
    dashayu
        6
    dashayu  
       Aug 15, 2018
    有往这发问题的时间,百度都能出来,真是...
    toxicant
        7
    toxicant  
       Aug 15, 2018
    翻译完了百度完了再来提问谢谢
    ArianX
        8
    ArianX  
       Aug 15, 2018 via Android
    密…密码错了?
    akura
        9
    akura  
    OP
       Sep 20, 2018
    @dashayu @toxicant 谁不知道,这是坑好不好,两个编译环境连接同一个远程 ftp 就可能出现这种情况!别当别人都是傻子。。。
    hp66722667
        10
    hp66722667  
       Feb 27, 2019
    请问怎么解决的 碰到了类似问题
    akura
        11
    akura  
    OP
       Feb 27, 2019 via Android
    @hp66722667 试试把所有的远程解释器都删除,再添加一个新的
    qlhai
        12
    qlhai  
       May 5, 2019
    ls 那些瞎回复的,真是醉了,这目测是个 bug, ssh 是没问题的,我用 pycharm 也可以把代码传上去,就是不能 run 和 debug
    qlhai
        13
    qlhai  
       May 5, 2019
    我重新在 setting 里把当前的 remote ssh 设置里的 SSH Credentials 填上后, 就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3138 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 13:01 · PVG 21:01 · LAX 06:01 · JFK 09:01
    ♥ Do have faith in what you're doing.