更新后 Spyder 未打开

我将我的 Spyder 更新到版本4.0.1然后发生这种情况:



(base) C:\Users\Mehdi_2>conda run spyder


Traceback (most recent call last):

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", li

ne 3718, in main

    mainwindow = run_spyder(app, options, args)

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", li

ne 3559, in run_spyder

    main.setup()

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", li

ne 1010, in setup

    from spyder.plugins.ipythonconsole.plugin import IPythonConsole

  File "C:\ProgramData\Anaconda3\lib\site-packages\spyder\plugins\ipythonconsole

\plugin.py", line 34, in <module>

    from zmq.ssh import tunnel as zmqtunnel

  File "C:\ProgramData\Anaconda3\lib\site-packages\zmq\ssh\__init__.py", line 1,

 in <module>

    from zmq.ssh.tunnel import *

  File "C:\ProgramData\Anaconda3\lib\site-packages\zmq\ssh\tunnel.py", line 26,

in <module>

    import paramiko

  File "C:\ProgramData\Anaconda3\lib\site-packages\paramiko\__init__.py", line 3

1, in <module>

    from paramiko.transport import SecurityOptions, Transport

  File "C:\ProgramData\Anaconda3\lib\site-packages\paramiko\transport.py", line

70, in <module>

    from paramiko.sftp_client import SFTPClient

  File "C:\ProgramData\Anaconda3\lib\site-packages\paramiko\sftp_client.py", lin

e 43, in <module>

    from paramiko.sftp_file import SFTPFile

  File "C:\ProgramData\Anaconda3\lib\site-packages\paramiko\sftp_file.py", line

68

    self._close(async=True)

                    ^

SyntaxError: invalid syntax

我试着用spyder --reset


我试图重新启动我的系统(我有 32 位 Win7)


但它们都不适合我。我应该怎么办?


holdtom
浏览 147回答 1
1回答

陪伴而非守候

我卸载了 Anaconda 然后重新安装它,现在问题解决了。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python