# Issue
Traceback (most recent call last):
File "C:\ProgramData\Miniconda3\envs\py38\lib\runpy.py", line 185, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\ProgramData\Miniconda3\envs\py38\lib\runpy.py", line 144, in _get_module_details
return _get_module_details(pkg_main_name, error)
File "C:\ProgramData\Miniconda3\envs\py38\lib\runpy.py", line 111, in _get_module_details
__import__(pkg_name)
File "C:\ProgramData\Miniconda3\envs\py38\lib\site-packages\ipykernel\__init__.py", line 2, in <module>
from .connect import *
File "C:\ProgramData\Miniconda3\envs\py38\lib\site-packages\ipykernel\connect.py", line 18, in <module>
import jupyter_client
File "C:\ProgramData\Miniconda3\envs\py38\lib\site-packages\jupyter_client\__init__.py", line 4, in <module>
from .connect import *
File "C:\ProgramData\Miniconda3\envs\py38\lib\site-packages\jupyter_client\connect.py", line 280, in <module>
'hb' : zmq.REQ,
AttributeError: module 'zmq' has no attribute 'REQ'
Process finished with exit code 1
# Solution
pip uninstall pyzmq
pip install pyzmq
'LANGUAGE > Python' 카테고리의 다른 글
Solution for the error, <coroutine object Bot.send_message at 0x000002E052140F20>. (0) | 2023.02.21 |
---|---|
How to solve the error, "ImportError: DLL load failed while importing win32api: 지정된 모듈을 찾을 수 없습니다."? (0) | 2021.04.22 |
Anaconda Environment Restore based on Revision List (0) | 2020.08.25 |
Setting for UNDO in PyCharm (0) | 2020.08.20 |
How to solve the issue, 'cp949' codec can't decode? (0) | 2020.02.28 |