error:ERROR: Could not find a version that satisfies the requirement QtCore (from versions: none) ERROR: No matching distribution found for QtCore

127 views Asked by At

When I run pip install QtCore it returns:

ERROR: Could not find a version that satisfies the requirement QtCore (from versions: none)
ERROR: No matching distribution found for QtCore
1

There are 1 answers

0
vvvvv On

QtCore does not exist on Pypi. What you probably want is PyQt5:

pip install PyQt5

and then access QtCore like this:

from PyQt5.QtCore import Qt

See the PyQt5 documentation.