Запуск приложения spyder мог вызвать ошибки после сброса spyder с помощью spyder --reset - PullRequest
0 голосов
/ 05 мая 2020
Traceback (most recent call last):
  File "C:\Users\Admin\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3718, in main
    mainwindow = run_spyder(app, options, args)
  File "C:\Users\Admin\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 3559, in run_spyder
    main.setup()
  File "C:\Users\Admin\anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 922, in setup
    from spyder.plugins.completion.plugin import CompletionManager
  File "C:\Users\Admin\anaconda3\lib\site-packages\spyder\plugins\completion\plugin.py", line 27, in 
    from spyder.plugins.completion.languageserver.plugin import (
  File "C:\Users\Admin\anaconda3\lib\site-packages\spyder\plugins\completion\languageserver\plugin.py", line 30, in 
    from spyder.plugins.completion.languageserver.client import LSPClient
  File "C:\Users\Admin\anaconda3\lib\site-packages\spyder\plugins\completion\languageserver\client.py", line 24, in 
    import zmq
  File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\zmq\__init__.py", line 47, in 
    from zmq import backend
  File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 40, in 
    reraise(*exc_info)
  File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
    raise value
  File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 27, in 
    _ns = select_backend(first)
  File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\zmq\backend\select.py", line 28, in select_backend
    mod = __import__(name, fromlist=public_api)
  File "C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py", line 6, in 
    from . import (constants, error, message, context,
ImportError: cannot import name 'constants' from 'zmq.backend.cython' (C:\Users\Admin\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py)
...