Код: Выделить всё
File "/Library/Frameworks/Python.framework/Versions/3.10/bin/jupyter-notebook", line 5, in
from notebook.notebookapp import main
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/notebook/notebookapp.py", line 77, in
from .services.kernels.kernelmanager import MappingKernelManager, AsyncMappingKernelManager
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/notebook/services/kernels/kernelmanager.py", line 18, in
from jupyter_client.session import Session
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_client/__init__.py", line 6, in
from .asynchronous import AsyncKernelClient # noqa
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_client/asynchronous/__init__.py", line 1, in
from .client import AsyncKernelClient # noqa
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_client/asynchronous/client.py", line 6, in
from jupyter_client.channels import HBChannel
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/jupyter_client/channels.py", line 12, in
import zmq.asyncio
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/__init__.py", line 103, in
from zmq import backend
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/__init__.py", line 32, in
raise original_error from None
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/__init__.py", line 27, in
_ns = select_backend(first)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/select.py", line 32, in select_backend
mod = import_module(name)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/cython/__init__.py", line 6, in
from . import (
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/cython/constants.cpython-310-darwin.so, 0x0002): tried: '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/cython/constants.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/cython/constants.cpython-310-darwin.so' (no such file), '/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/zmq/backend/cython/constants.cpython-310-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
У меня Mac M2
Подробнее здесь: https://stackoverflow.com/questions/790 ... 64e-or-arm