Open jwoehr opened 3 weeks ago
We don't depend on z3
- it's just an optional. Can you pip install qiskit
(no extras) without issue?
(Your post says pip install qiskit
, but your error message says pip install 'qiskit[all]'
.)
Oops, you're right ... fixed that ... So now it dies here:
Building wheels for collected packages: symengine
Building wheel for symengine (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [40 lines of output]
/usr/lib/python3.12/site-packages/setuptools/__init__.py:80: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated.
!!
********************************************************************************
Requirements should be satisfied by a PEP 517 installer.
If you are using pip, you can try `pip install --use-pep517`.
********************************************************************************
!!
dist.fetch_build_eggs(dist.setup_requires)
running bdist_wheel
running build
running build_ext
-- The C compiler identification is GNU 11.4.1
-- The CXX compiler identification is GNU 11.4.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/gcc - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:16 (find_package):
Could not find a package configuration file provided by "SymEngine"
(requested version 0.8.1) with any of the following names:
SymEngineConfig.cmake
symengine-config.cmake
Add the installation prefix of "SymEngine" to CMAKE_PREFIX_PATH or set
"SymEngine_DIR" to a directory containing one of the above files. If
"SymEngine" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
error: error calling cmake
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for symengine
Running setup.py clean for symengine
Failed to build symengine
ERROR: Could not build wheels for symengine, which is required to install pyproject.toml-based projects
Did:
pip install pep517
pip install --use-pep517 qiskit --no-cache-dir
and it still doesn't install
Building wheels for collected packages: symengine
Building wheel for symengine (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for symengine (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [45 lines of output]
/home/linux1/work/Qiskit/qiskit_venv/lib64/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py:251: _IncompatibleBdistWheel: wheel.bdist_wheel is deprecated, please import it from setuptools
!!
********************************************************************************
Ensure that any custom bdist_wheel implementation is a subclass of
setuptools.command.bdist_wheel.bdist_wheel.
By 2025-Oct-15, you need to update your project and remove deprecated calls
or your builds will no longer be supported.
See https://github.com/pypa/wheel/pull/631 for details.
********************************************************************************
!!
return _build_backend().build_wheel(wheel_directory, config_settings,
running bdist_wheel
running build
running build_ext
-- The C compiler identification is GNU 11.4.1
-- The CXX compiler identification is GNU 11.4.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/gcc - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:16 (find_package):
Could not find a package configuration file provided by "SymEngine"
(requested version 0.8.1) with any of the following names:
SymEngineConfig.cmake
symengine-config.cmake
Add the installation prefix of "SymEngine" to CMAKE_PREFIX_PATH or set
"SymEngine_DIR" to a directory containing one of the above files. If
"SymEngine" provides a separate development package or SDK, be sure it has
been installed.
-- Configuring incomplete, errors occurred!
error: error calling cmake
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for symengine
Failed to build symengine
ERROR: Could not build wheels for symengine, which is required to install pyproject.toml-based projects
Environment
What is happening?
pip install qiskit
seems to fail in z3 ... and there is noz3
package via DNF on LinuxOne RHEL 9.1How can we reproduce the issue?
pip install qiskit
What should happen?
Should install
Any suggestions?
@mtreinish to the rescue?