Closed GeorgeWilliam1999 closed 12 months ago
Hi @GeorgeWilliam1999, we don't yet have Python 3.12 wheels built. We should have them soon though!
Hi @GeorgeWilliam1999, we don't yet have Python 3.12 wheels built. We should have them soon though!
So I need to downgrade to python 10 or something?
Yes, we currently support Python 3.8-3.11.
For tracking: made a PR to minorminer
adding 3.12 support (https://github.com/dwavesystems/minorminer/pull/239). We will need to test 3.12 support for dwave-system
itself once that's merged/deployed.
@GeorgeWilliam1999, dwave-system 1.22.0 adds support for Python 3.12.
Description I am getting the following error the using pip install dwave-systems:
Building wheels for collected packages: minorminer Building wheel for minorminer (pyproject.toml) ... error error: subprocess-exited-with-error
× Building wheel for minorminer (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [31 lines of output] running bdist_wheel running build running build_py creating build creating build/lib.macosx-10.9-x86_64-cpython-312 creating build/lib.macosx-10.9-x86_64-cpython-312/minorminer copying minorminer/package_info.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer copying minorminer/minorminer.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer copying minorminer/init.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer creating build/lib.macosx-10.9-x86_64-cpython-312/minorminer/layout copying minorminer/layout/layout.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/layout copying minorminer/layout/init.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/layout copying minorminer/layout/placement.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/layout creating build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils copying minorminer/utils/init.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils copying minorminer/utils/pegasus.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils copying minorminer/utils/diagnostic.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils copying minorminer/utils/polynomialembedder.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils copying minorminer/utils/chimera.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils copying minorminer/utils/zephyr.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils copying minorminer/utils/exceptions.py -> build/lib.macosx-10.9-x86_64-cpython-312/minorminer/utils running build_ext building 'minorminer._minorminer' extension creating build/temp.macosx-10.9-x86_64-cpython-312 creating build/temp.macosx-10.9-x86_64-cpython-312/minorminer clang -fno-strict-overflow -DNDEBUG -O2 -Wall -fPIC -O2 -isystem /Users/user/anaconda3/envs/Q_env/include -fPIC -O2 -isystem /Users/user/anaconda3/envs/Q_env/include -I -I./include/ -I./include/find_embedding -I/Users/user/anaconda3/envs/Q_env/include/python3.12 -c ./minorminer/_minorminer.cpp -o build/temp.macosx-10.9-x86_64-cpython-312/./minorminer/_minorminer.o -std=c++17 -Wall -Wno-format-security -Ofast -fomit-frame-pointer -DNDEBUG -fno-rtti ./minorminer/_minorminer.cpp:228:12: fatal error: 'longintrepr.h' file not found
include "longintrepr.h"
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for minorminer Failed to build minorminer ERROR: Could not build wheels for minorminer, which is required to install pyproject.toml-based projects
To Reproduce I have a freshly created conda environment with python 3.12, and pip at version pip 23.3.1
pip 23.3.1 from /Users/user/anaconda3/envs/Q_env/lib/python3.12/site-packages/pip (python 3.12)
All I have done is so far is :
pip install dimod, I have updated the setup tools
Requirement already satisfied: pip in /Users/user/anaconda3/envs/Q_env/lib/python3.12/site-packages (23.3.1) Requirement already satisfied: setuptools in /Users/user/anaconda3/envs/Q_env/lib/python3.12/site-packages (69.0.2)
Environment:
Additional context This issue persists with a clean build of my environment and issues 46 and 47 have no clear solution but look like similar issues.