Issue with running programs in Python and imports, probably directories messed up

Vladyslav Verteletskyi vverteletskyi at gmail.com
Wed Oct 30 15:25:48 EDT 2019


Dear developers,

I have stuck upon a problem with all of my attempts to import libraries to
Python. PyCharm and Anaconda both fail, as well as terminal. Find the
screenshots enclosed. I have tried reinstalling both several times, of no
help. All of the libraries I tried to import are already downloaded and
were used successfully before something has messed up all Python in my
system.

Bests,
Vlad
[image: зображення.png]
[image: зображення.png]
-------------- next part --------------
Traceback (most recent call last):
File "C:\ProgramData\Anaconda\Scripts\jupyter-notebook-script.py", line 6, in 
from notebook.notebookapp import main
File "C:\Users\Drake\AppData\Roaming\Python\Python37\site-packages\notebook\notebookapp.py", line 47, in 
from zmq.eventloop import ioloop
File "C:\Users\Drake\AppData\Roaming\Python\Python37\site-packages\zmq\__init__.py", line 47, in 
from zmq import backend
File "C:\Users\Drake\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 40, in 
reraise(*exc_info)
File "C:\Users\Drake\AppData\Roaming\Python\Python37\site-packages\zmq\utils\sixcerpt.py", line 34, in reraise
raise value
File "C:\Users\Drake\AppData\Roaming\Python\Python37\site-packages\zmq\backend\__init__.py", line 27, in 
_ns = select_backend(first)
File "C:\Users\Drake\AppData\Roaming\Python\Python37\site-packages\zmq\backend\select.py", line 28, in select_backend
mod = __import__(name, fromlist=public_api)
File "C:\Users\Drake\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\Drake\AppData\Roaming\Python\Python37\site-packages\zmq\backend\cython\__init__.py)


More information about the Python-list mailing list