Details
Description
Hello, I'm working on Arch Linux environment, and I'm trying to build PySide6 from source:
wget https://download.qt.io/official_releases/QtForPython/pyside6/PySide6-6.4.0-src/ pyside-setup-opensource-src-6.4.0.zip unzip pyside-setup-opensource-src-6.4.0.zip cd pyside-setup-opensource-src-6.4.0 pip install -r requirements.txt python setup.py build
During the building, I get the following output and error:
Traceback (most recent call last): File "/home/athena/test/pyside-setup-opensource-src-6.4.0/setup.py", line 42, in <module> setup_runner.run_setup() File "/home/athena/test/pyside-setup-opensource-src-6.4.0/build_scripts/setup_runner.py", line 204, in run_setup self.run_setuptools_setup() File "/home/athena/test/pyside-setup-opensource-src-6.4.0/build_scripts/setup_runner.py", line 277, in run_setuptools_setup setup(**kwargs) File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 86, in setup _install_setup_requires(attrs) File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 75, in _install_setup_requires dist = MinimalDistribution(attrs) File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 59, in __init__ self.set_defaults._disable() AttributeError: 'MinimalDistribution' object has no attribute 'set_defaults' Traceback (most recent call last): File "/home/athena/test/pyside-setup-opensource-src-6.4.0/setup.py", line 42, in <module> setup_runner.run_setup() File "/home/athena/test/pyside-setup-opensource-src-6.4.0/build_scripts/setup_runner.py", line 260, in run_setup raise RuntimeError(msg) RuntimeError: setup.py invocation failed with exit code: 1. setup.py invocation was: /usr/bin/python setup.py build --internal-build-type=shiboken6
How can we solve it?
Attachments
Issue Links
- is duplicated by
-
PYSIDE-2132 All setup.py commands fail with setuptools 65.6
- Closed