Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install pyqt6-tools on Mac hangs waiting for license acceptance #129

Open
evanthomas opened this issue Sep 13, 2024 · 2 comments
Open

Comments

@evanthomas
Copy link

I'm using conda env

➜ which python                                                              
/Users/thomas.e/opt/anaconda3/bin/conda/envs/dogsbody/bin/python
➜ python --version
Python 3.12.4

The install seems to hang while asking for license acceptance. The usual tricks from stack overflow don't work.

➜ pip install pyqt6-tools --config-settings --confirm-license= --verbose    
Using pip 24.2 from /Users/thomas.e/opt/anaconda3/bin/conda/envs/dogsbody/lib/python3.12/site-packages/pip (python 3.12)
DEPRECATION: Loading egg at /Users/thomas.e/opt/anaconda3/bin/conda/envs/dogsbody/lib/python3.12/site-packages/scidownl-1.0.2-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
Collecting pyqt6-tools
  Obtaining dependency information for pyqt6-tools from https://files.pythonhosted.org/packages/82/bc/dcea094a26697ba76ae73dec030dd4070836b1e7e810d304d4917518423b/pyqt6_tools-6.4.2.3.3-py3-none-any.whl.metadata
  Using cached pyqt6_tools-6.4.2.3.3-py3-none-any.whl.metadata (8.3 kB)
Requirement already satisfied: click in ./opt/anaconda3/bin/conda/envs/dogsbody/lib/python3.12/site-packages (from pyqt6-tools) (8.1.7)
Collecting pyqt6==6.4.2 (from pyqt6-tools)
  Obtaining dependency information for pyqt6==6.4.2 from https://files.pythonhosted.org/packages/f4/ff/b9334375470a288ad7a56e14ece9d533a512259a13705b58b5fa20596c78/PyQt6-6.4.2-cp37-abi3-macosx_10_14_universal2.whl.metadata
  Using cached PyQt6-6.4.2-cp37-abi3-macosx_10_14_universal2.whl.metadata (2.1 kB)
INFO: pip is looking at multiple versions of pyqt6-tools to determine which version is compatible with other requirements. This could take a while.
Collecting pyqt6-tools
  Obtaining dependency information for pyqt6-tools from https://files.pythonhosted.org/packages/74/a6/68019af089cc24d653f6800892cce32e9c174dc3f79bb21aa4ffddb8ca0e/pyqt6_tools-6.3.1.3.3-py3-none-any.whl.metadata
  Using cached pyqt6_tools-6.3.1.3.3-py3-none-any.whl.metadata (8.3 kB)
Collecting pyqt6==6.3.1 (from pyqt6-tools)
  Obtaining dependency information for pyqt6==6.3.1 from https://files.pythonhosted.org/packages/42/3e/653fbd416b39fcbc41672d80d128fffda92c6e4d949963e314dd6713756f/PyQt6-6.3.1-cp37-abi3-macosx_10_14_universal2.whl.metadata
  Using cached PyQt6-6.3.1-cp37-abi3-macosx_10_14_universal2.whl.metadata (2.1 kB)
Collecting pyqt6-tools
  Obtaining dependency information for pyqt6-tools from https://files.pythonhosted.org/packages/d0/5a/125c5c43772d4d94554e9c31ccca9645c5e69f1c7aba4e43d5b427dc4d42/pyqt6_tools-6.1.0.3.2-py3-none-any.whl.metadata
  Using cached pyqt6_tools-6.1.0.3.2-py3-none-any.whl.metadata (8.3 kB)
Collecting pyqt6==6.1.0 (from pyqt6-tools)
  Using cached PyQt6-6.1.0.tar.gz (946 kB)
  Running command pip subprocess to install build dependencies
  Using pip 24.2 from /Users/thomas.e/opt/anaconda3/bin/conda/envs/dogsbody/lib/python3.12/site-packages/pip (python 3.12)
  Collecting sip<7,>=6
    Obtaining dependency information for sip<7,>=6 from https://files.pythonhosted.org/packages/26/7e/1fbee86c34d21f32fd8a6e3efbe4a796fb506541051280d5c94264343db7/sip-6.8.6-py3-none-any.whl.metadata
    Using cached sip-6.8.6-py3-none-any.whl.metadata (5.3 kB)
  Collecting PyQt-builder<2,>=1.9
    Obtaining dependency information for PyQt-builder<2,>=1.9 from https://files.pythonhosted.org/packages/b3/42/4c2378cb6fef3c8400f708ddf68a6005382cfc2b12dc1c97f2df90622075/PyQt_builder-1.16.4-py3-none-any.whl.metadata
    Using cached PyQt_builder-1.16.4-py3-none-any.whl.metadata (3.3 kB)
  Collecting packaging (from sip<7,>=6)
    Obtaining dependency information for packaging from https://files.pythonhosted.org/packages/08/aa/cc0199a5f0ad350994d660967a8efb233fe0416e4639146c089643407ce6/packaging-24.1-py3-none-any.whl.metadata
    Using cached packaging-24.1-py3-none-any.whl.metadata (3.2 kB)
  Collecting setuptools (from sip<7,>=6)
    Obtaining dependency information for setuptools from https://files.pythonhosted.org/packages/cb/9c/9ad11ac06b97e55ada655f8a6bea9d1d3f06e120b178cd578d80e558191d/setuptools-74.1.2-py3-none-any.whl.metadata
    Using cached setuptools-74.1.2-py3-none-any.whl.metadata (6.7 kB)
  Using cached sip-6.8.6-py3-none-any.whl (469 kB)
  Using cached PyQt_builder-1.16.4-py3-none-any.whl (3.7 MB)
  Using cached packaging-24.1-py3-none-any.whl (53 kB)
  Using cached setuptools-74.1.2-py3-none-any.whl (1.3 MB)
  DEPRECATION: Loading egg at /Users/thomas.e/opt/anaconda3/bin/conda/envs/dogsbody/lib/python3.12/site-packages/scidownl-1.0.2-py3.12.egg is deprecated. pip 24.3 will enforce this behaviour change. A possible replacement is to use pip for package installation. Discussion can be found at https://github.com/pypa/pip/issues/12330
  Installing collected packages: setuptools, packaging, sip, PyQt-builder
    Creating /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/sip-build to 755
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/sip-distinfo to 755
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/sip-install to 755
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/sip-module to 755
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/sip-sdist to 755
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/sip-wheel to 755
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/pyqt-bundle to 755
    changing mode of /private/var/folders/dv/lmmz58g94ys2tvns_r3gym880002w9/T/pip-build-env-cfylrtku/overlay/bin/pyqt-qt-wheel to 755
  Successfully installed PyQt-builder-1.16.4 packaging-24.1 setuptools-74.1.2 sip-6.8.6
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  pyproject.toml: line 7: using '[tool.sip.metadata]' to specify the project metadata is deprecated and will be removed in SIP v7.0.0, use '[project]' instead
  Querying qmake about your Qt installation...
  This is the GPL version of PyQt 6.1.0 (licensed under the GNU General Public License) for Python 3.12.4 on darwin.

  Type 'L' to view the license.
  Type 'yes' to accept the terms of the license.
  Type 'no' to decline the terms of the license.

yes
@skalwaghe-56
Copy link

I am also having the same issue on Windows 11 Python 13

@altendky
Copy link
Owner

in case you have the time to help out, fyi: #132

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants