我在Windows 10上安装了最新版本的Anaconda。安装后,我尝试启动它,但是即使尝试了几次也无法启动。我还尝试启动创建的jupyter笔记本和Spider快捷方式,但即使这样也不起作用。所以我尝试使用终端运行它,这是我收到的错误:
UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first. warnings.warn(
_cffi_ext.c C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cffi\__pycache__\_cffi_ext.c(266): fatal error C1083: Cannot open include file: 'sys/un.h': No such file or directory Traceback (most recent call last): File "C:\Users\HP\anaconda3\Scripts\jupyter-notebook-script.py", line 6, in <module>
from notebook.notebookapp import main File "C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\notebook\notebookapp.py", line 49, in <module>
from zmq.eventloop import ioloop File "C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\__init__.py", line 47, in <module>
from zmq import backend File "C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\backend\__init__.py", line 40, in <module>
reraise(*exc_info) File "C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value File "C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\backend\__init__.py", line 27, in <module>
_ns = select_backend(first) File "C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api) File "C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cython\__init__.py", line 6, in <module>
from . import (constants, error, message, context, ImportError: cannot import name 'constants' from partially initialized module 'zmq.backend.cython' (most likely due to a circular import) (C:\Users\HP\AppData\Roaming\Python\Python38\site-packages\zmq\backend\cython\__init__.py)