I use m1 MacBook Air, a couple of days ago l upgrade my Mac os with latest version.
subsequently reinstalled the anaconda navigator.
After reinstallation, when I run the Jupyter note, the terminal comes and shows the message like below, and it is all. Jupyter does’t works.
Last login: Tue Jun 27 17:52:29 on ttys000
/opt/anaconda3/bin/jupyter_mac.command ; exit;
(base) hyunjinlee@HYUNJINs-MacBook-Air ~ % /opt/anaconda3/bin/jupyter_mac.command ; exit;
Traceback (most recent call last):
File “/opt/anaconda3/bin/jupyter-notebook”, line 7, in
from notebook.notebookapp import main
File “/opt/anaconda3/lib/python3.9/site-packages/notebook/notebookapp.py”, line 78, in
from .services.kernels.kernelmanager import MappingKernelManager, AsyncMappingKernelManager
File “/opt/anaconda3/lib/python3.9/site-packages/notebook/services/kernels/kernelmanager.py”, line 18, in
from jupyter_client.session import Session
File “/opt/anaconda3/lib/python3.9/site-packages/jupyter_client/init.py”, line 4, in
from .connect import *
File “/opt/anaconda3/lib/python3.9/site-packages/jupyter_client/connect.py”, line 21, in
import zmq
File “/opt/anaconda3/lib/python3.9/site-packages/zmq/init.py”, line 103, in
from zmq import backend
File “/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/init.py”, line 31, in
raise original_error from None
File “/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/init.py”, line 26, in
_ns = select_backend(first)
File “/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/select.py”, line 31, in select_backend
mod = import_module(name)
File “/opt/anaconda3/lib/python3.9/importlib/init.py”, line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File “/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/cython/init.py”, line 6, in
from . import (
ImportError: dlopen(/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/cython/_device.cpython-39-darwin.so, 0x0002): tried: ‘/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/cython/_device.cpython-39-darwin.so’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/cython/_device.cpython-39-darwin.so’ (no such file), ‘/opt/anaconda3/lib/python3.9/site-packages/zmq/backend/cython/_device.cpython-39-darwin.so’ (mach-o file, but is an incompatible architecture (have ‘x86_64’, need ‘arm64’))
Saving session…
…copying shared history…
…saving history…truncating history files…
…completed.
[프로세스 완료됨]
In addition, Spyder neither works.
I try to run the Spyder (ver 5.1.3), pop up comes with error message
Traceback (most recent call last):
File “/opt/anaconda3/bin/spyder”, line 7, in
from spyder.app.start import main
File “/opt/anaconda3/lib/python3.9/site-packages/spyder/app/start.py”, line 11, in
import ctypes
File “/opt/anaconda3/lib/python3.9/ctypes/init.py”, line 8, in
from _ctypes import Union, Structure, Array
ImportError: dlopen(/opt/anaconda3/lib/python3.9/lib-dynload/_ctypes.cpython-39-darwin.so, 0x0002): tried: ‘/opt/anaconda3/lib/python3.9/lib-dynload/_ctypes.cpython-39-darwin.so’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’)), ‘/System/Volumes/Preboot/Cryptexes/OS/opt/anaconda3/lib/python3.9/lib-dynload/_ctypes.cpython-39-darwin.so’ (no such file), ‘/opt/anaconda3/lib/python3.9/lib-dynload/_ctypes.cpython-39-darwin.so’ (mach-o file, but is an incompatible architecture (have ‘arm64’, need ‘x86_64’))
I upgraded higher version but same error happen.
How can I fix these problems??