Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. PyQt5/PyQt6 will not install into a python 3.10 environment
Forum Updated to NodeBB v4.3 + New Features

PyQt5/PyQt6 will not install into a python 3.10 environment

Scheduled Pinned Locked Moved Unsolved Qt for Python
2 Posts 2 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    ZennDogg
    wrote on 12 Jun 2021, 19:13 last edited by
    #1

    I refactored a python 3.8.5 directory to a python 3.10 env/directory. PyQt errors every time I try to "pip install pyqt5(/6)".
    Error message:

    WARNING: Discarding https://files.pythonhosted.org/packages/f7/01/b2b521b6df7153d57d6aa119184afdc8bf8d7d538a5fb22083c6093a49b9/PyQt6-6.0.0.tar.gz#sha256=c758b0568127
    bffd7147f461d74bbf06249177eae908efed8099eec30984f1b3 (from https://pypi.org/simple/pyqt6/) (requires-python:>=3.6.1). Command errored out with exit status 1: 'c:\use
    rs\mount.virtualenvs_mydashboard\scripts\python.exe' 'c:\users\mount.virtualenvs_mydashboard\lib\site-packages\pip_vendor\pep517\in_process_in_process.py' prep
    are_metadata_for_build_wheel 'C:\Users\mount\AppData\Local\Temp\tmp3hcn2c46' Check the logs for full command output.
    ERROR: Could not find a version that satisfies the requirement PyQt6 (from versions: 6.0.0, 6.0.1, 6.0.2, 6.0.3, 6.1.0)
    ERROR: No matching distribution found for PyQt6

    It seems PyQt is interpreting version 3.10 as a version 3.1 derivative. Any advice?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Jun 2021, 19:25 last edited by
      #2

      Hi and welcome to devnet,

      PyQt comes from Riverbank Computing. You should ask them.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      1/2

      12 Jun 2021, 19:13

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved