Qiskit / qiskit-aer

Aer is a high performance simulator for quantum circuits that includes noise models
https://qiskit.github.io/qiskit-aer/
Apache License 2.0
485 stars 360 forks source link

Apple M1 install failed due to 'wchar.h' file not found and conan install: error: unrecognized arguments #1782

Closed dove-young closed 1 year ago

dove-young commented 1 year ago

Environment

What is happening?

I install qiskit with this requirements.txt on my Mac Book Pro, it always fails

 ->   cat requirements.txt
qiskit==0.34.1
matplotlib==3.5.1
pylatexenc==2.10
sympy==1.9
kaleidoscope==0.0.13
ipywidgets==7.6.5

How can we reproduce the issue?

I install qiskit with this requirements.txt

 ->   cat requirements.txt
qiskit==0.34.1
matplotlib==3.5.1
pylatexenc==2.10
sympy==1.9
kaleidoscope==0.0.13
ipywidgets==7.6.5

 -> conda create -n ibmQ-3.10 python=3.10
 -> conda install -n ibmQ-3.10 pip
 -> conda activate ibmQ-3.1
->  pip3 install --prefer-binary --use-pep517 -r requirements.txt

the error says

Building wheels for collected packages: qiskit-aer
  Building wheel for qiskit-aer (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for qiskit-aer (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [138 lines of output]
      /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py:617: _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(setup_requires)

      --------------------------------------------------------------------------------
      -- Trying 'Ninja' generator
      --------------------------------
      ---------------------------
      ----------------------
      -----------------
      ------------
      -------
      --
      Not searching for unused variables given on the command line.
      -- The C compiler identification is AppleClang 14.0.3.14030022
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- The CXX compiler identification is AppleClang 14.0.3.14030022
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Configuring done (7.7s)
      -- Generating done (0.0s)
      -- Build files have been written to: /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81/_cmake_test_compile/build
      --
      -------
      ------------
      -----------------
      ----------------------
      ---------------------------
      --------------------------------
      -- Trying 'Ninja' generator - success
      --------------------------------------------------------------------------------

      Configuring Project
        Working directory:
          /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81/_skbuild/macosx-10.16-x86_64-3.10/cmake-build
        Command:
          /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81 -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81/_skbuild/macosx-10.16-x86_64-3.10/cmake-install -DPYTHON_VERSION_STRING:STRING=3.10.10 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/bin/python -DPYTHON_INCLUDE_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/include/python3.10 -DPYTHON_LIBRARY:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/lib/libpython3.10.dylib -DPython_EXECUTABLE:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/bin/python -DPython_ROOT_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10 -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/include/python3.10 -DPython_LIBRARY:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/lib/libpython3.10.dylib -DPython_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/bin/python -DPython3_ROOT_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10 -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/include/python3.10 -DPython3_LIBRARY:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/lib/libpython3.10.dylib -DPython3_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/numpy/core/include -DCMAKE_MAKE_PROGRAM:FILEPATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/ninja/data/bin/ninja -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.16 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 -DCMAKE_BUILD_TYPE:STRING=Release

      Not searching for unused variables given on the command line.
      -- The CXX compiler identification is AppleClang 14.0.3.14030022
      -- The C compiler identification is AppleClang 14.0.3.14030022
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Performing Test flag_supported
      -- Performing Test flag_supported - Success
      -- Conan: Automatic detection of conan settings from cmake
      In file included from <stdin>:1:
      In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/string:519:
      In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__debug:14:
      In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iosfwd:98:
      In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__mbstate_t.h:29:
      /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/wchar.h:123:15: fatal error: 'wchar.h' file not found
      #include_next <wchar.h>
                    ^~~~~~~~~
      1 error generated.
      -- Conan: Settings= -s;build_type=Release;-s;compiler=apple-clang;-s;compiler.version=14.0;-s;compiler.libcxx=libc++
      -- Conan: checking conan executable
      -- Conan: Found program /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/bin/conan
      -- Conan: Version found Conan version 2.0.4

      -- Conan executing: /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/bin/conan install . -s build_type=Release -s compiler=apple-clang -s compiler.version=14.0 -s compiler.libcxx=libc++ -e=CONAN_CMAKE_PROGRAM=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake -g=cmake --build=missing
      usage: conan install [-h] [-f FORMAT] [-v [V]] [--name NAME]
                           [--version VERSION] [--user USER] [--channel CHANNEL]
                           [--requires REQUIRES] [--tool-requires TOOL_REQUIRES]
                           [-b BUILD] [-r REMOTE | -nr] [-u] [-o OPTIONS_HOST]
                           [-o:b OPTIONS_BUILD] [-o:h OPTIONS_HOST]
                           [-pr PROFILE_HOST] [-pr:b PROFILE_BUILD]
                           [-pr:h PROFILE_HOST] [-s SETTINGS_HOST]
                           [-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] [-c CONF_HOST]
                           [-c:b CONF_BUILD] [-c:h CONF_HOST] [-l LOCKFILE]
                           [--lockfile-partial] [--lockfile-out LOCKFILE_OUT]
                           [--lockfile-packages] [--lockfile-clean] [-g GENERATOR]
                           [-of OUTPUT_FOLDER] [--deploy DEPLOY] [--build-require]
                           [path]
      conan install: error: unrecognized arguments: -e=CONAN_CMAKE_PROGRAM=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake
      ERROR: Exiting with code: 2
      CMake Error at cmake/conan.cmake:402 (message):
        Conan install failed='2'
      Call Stack (most recent call first):
        cmake/conan.cmake:497 (conan_cmake_install)
        cmake/conan_utils.cmake:46 (conan_cmake_run)
        cmake/dependency_utils.cmake:20 (setup_conan)
        CMakeLists.txt:146 (setup_dependencies)

      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):
        File "/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 666, in setup
          env = cmkr.configure(
        File "/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 358, in configure
          raise SKBuildError(msg)

      An error occurred while configuring with CMake.
        Command:
          /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81 -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81/_skbuild/macosx-10.16-x86_64-3.10/cmake-install -DPYTHON_VERSION_STRING:STRING=3.10.10 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/bin/python -DPYTHON_INCLUDE_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/include/python3.10 -DPYTHON_LIBRARY:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/lib/libpython3.10.dylib -DPython_EXECUTABLE:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/bin/python -DPython_ROOT_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10 -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/include/python3.10 -DPython_LIBRARY:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/lib/libpython3.10.dylib -DPython_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/bin/python -DPython3_ROOT_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10 -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/include/python3.10 -DPython3_LIBRARY:PATH=/Users/davidyoung/anaconda3/envs/ibmQ-3.10/lib/libpython3.10.dylib -DPython3_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/numpy/core/include -DCMAKE_MAKE_PROGRAM:FILEPATH=/private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-build-env-z2tgkjlt/overlay/lib/python3.10/site-packages/ninja/data/bin/ninja -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=10.16 -DCMAKE_OSX_ARCHITECTURES:STRING=x86_64 -DCMAKE_BUILD_TYPE:STRING=Release
        Source directory:
          /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81
        Working directory:
          /private/var/folders/c9/fvq8821n0bv2mljl5c6kqnbc0000gn/T/pip-install-9x0m2ctw/qiskit-aer_43617e587b9b4975b4d3e102c877fe81/_skbuild/macosx-10.16-x86_64-3.10/cmake-build
      Please see CMake's output for more information.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for qiskit-aer
Failed to build qiskit-aer
ERROR: Could not build wheels for qiskit-aer, which is required to install pyproject.toml-based projects

What should happen?

it should be installed successfully

Any suggestions?

No response

hhorii commented 1 year ago

Could you try x-code-select --install?

This error is frequently happened when mac os is updated, I guess. https://stackoverflow.com/questions/26185978/macos-wchar-h-file-not-found https://stackoverflow.com/questions/37321840/clang-via-homebrew-llvm38-compile-error-with-system-includes

xiaoshimimi commented 1 year ago

I did xcode-select --install, and sudo xcode-select --switch /Library/Developer/CommandLineTools/ but the problem still exist.

there is no message for wchar.h, but conan install: error: unrecognized arguments is still exist

mtreinish commented 1 year ago

I think the underlying issue here is that you're version of pip is not finding the precompiled binary via a wheel package for qiskit-aer on pypi. Unless you're trying to build qiskit-aer from source, pip should not ever try to build it from source on a support platform. The things I would check are that you're pip version is up to date. If it's not try running python -m pip install -U pip. If it's already up to date then I would try looking at the verbose output when running pip install to try and figure out why pip is rejecting the precompiled binaries.

xiaoshimimi commented 1 year ago

I just upgraded pip to pip-23.1, but problem still exist.

➜  QAcademy pip --version
pip 23.1 from /opt/homebrew/lib/python3.9/site-packages/pip (python 3.9)
➜  QAcademy python --version
Python 3.9.13
xiaoshimimi commented 1 year ago

Here are the verbose log:

➜  QAcademy pip install -r requirements2.txt --verbose
Using pip 23.1 from /opt/homebrew/lib/python3.9/site-packages/pip (python 3.9)
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Collecting qiskit==0.34.1 (from -r requirements2.txt (line 1))
  Using cached qiskit-0.34.1-py3-none-any.whl
Collecting qiskit-terra==0.19.1 (from qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached qiskit_terra-0.19.1-cp39-cp39-macosx_10_9_universal2.whl (5.8 MB)
Collecting qiskit-aer==0.10.2 (from qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached qiskit-aer-0.10.2.tar.gz (6.5 MB)
  Running command pip subprocess to install build dependencies
  Ignoring numpy: markers 'python_version <= "3.7" and platform_machine != "aarch64" or platform_python_implementation == "PyPy"' don't match your environment
  Collecting setuptools
    Using cached setuptools-67.6.1-py3-none-any.whl (1.1 MB)
  Collecting wheel
    Using cached wheel-0.40.0-py3-none-any.whl (64 kB)
  Collecting conan>=1.40.0
    Using cached conan-2.0.4-py3-none-any.whl
  Collecting scikit-build>=0.11.0
    Using cached scikit_build-0.17.1-py3-none-any.whl (81 kB)
  Collecting cmake!=3.17.0,!=3.17.1
    Using cached cmake-3.26.3-py2.py3-none-macosx_10_10_universal2.macosx_10_10_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (45.6 MB)
  Collecting ninja
    Using cached ninja-1.11.1-py2.py3-none-macosx_10_9_universal2.macosx_10_9_x86_64.macosx_11_0_arm64.macosx_11_0_universal2.whl (270 kB)
  Collecting pybind11>2.6
    Using cached pybind11-2.10.4-py3-none-any.whl (222 kB)
  Collecting oldest-supported-numpy
    Using cached oldest_supported_numpy-2022.11.19-py3-none-any.whl (4.9 kB)
  Collecting requests<3.0.0,>=2.25 (from conan>=1.40.0)
    Using cached requests-2.28.2-py3-none-any.whl (62 kB)
  Collecting urllib3<1.27,>=1.26.6 (from conan>=1.40.0)
    Using cached urllib3-1.26.15-py2.py3-none-any.whl (140 kB)
  Collecting colorama<0.5.0,>=0.4.3 (from conan>=1.40.0)
    Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB)
  Collecting PyYAML<=6.0,>=5.1 (from conan>=1.40.0)
    Using cached PyYAML-6.0-cp39-cp39-macosx_11_0_arm64.whl (173 kB)
  Collecting patch-ng<1.18,>=1.17.4 (from conan>=1.40.0)
    Using cached patch_ng-1.17.4-py3-none-any.whl
  Collecting fasteners>=0.15 (from conan>=1.40.0)
    Using cached fasteners-0.18-py3-none-any.whl (18 kB)
  Collecting Jinja2<4.0.0,>=3.0 (from conan>=1.40.0)
    Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
  Collecting python-dateutil<3,>=2.8.0 (from conan>=1.40.0)
    Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
  Collecting distro (from scikit-build>=0.11.0)
    Using cached distro-1.8.0-py3-none-any.whl (20 kB)
  Collecting packaging (from scikit-build>=0.11.0)
    Using cached packaging-23.1-py3-none-any.whl (48 kB)
  Collecting tomli (from scikit-build>=0.11.0)
    Using cached tomli-2.0.1-py3-none-any.whl (12 kB)
  Collecting numpy==1.21.0 (from oldest-supported-numpy)
    Using cached numpy-1.21.0-cp39-cp39-macosx_11_0_arm64.whl (12.1 MB)
  Collecting MarkupSafe>=2.0 (from Jinja2<4.0.0,>=3.0->conan>=1.40.0)
    Using cached MarkupSafe-2.1.2-cp39-cp39-macosx_10_9_universal2.whl (17 kB)
  Collecting six>=1.5 (from python-dateutil<3,>=2.8.0->conan>=1.40.0)
    Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
  Collecting charset-normalizer<4,>=2 (from requests<3.0.0,>=2.25->conan>=1.40.0)
    Using cached charset_normalizer-3.1.0-cp39-cp39-macosx_11_0_arm64.whl (122 kB)
  Collecting idna<4,>=2.5 (from requests<3.0.0,>=2.25->conan>=1.40.0)
    Using cached idna-3.4-py3-none-any.whl (61 kB)
  Collecting certifi>=2017.4.17 (from requests<3.0.0,>=2.25->conan>=1.40.0)
    Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
  Installing collected packages: patch-ng, ninja, cmake, wheel, urllib3, tomli, six, setuptools, PyYAML, pybind11, packaging, numpy, MarkupSafe, idna, fasteners, distro, colorama, charset-normalizer, certifi, scikit-build, requests, python-dateutil, oldest-supported-numpy, Jinja2, conan
  Successfully installed Jinja2-3.1.2 MarkupSafe-2.1.2 PyYAML-6.0 certifi-2022.12.7 charset-normalizer-3.1.0 cmake-3.26.3 colorama-0.4.6 conan-2.0.4 distro-1.8.0 fasteners-0.18 idna-3.4 ninja-1.11.1 numpy-1.21.0 oldest-supported-numpy-2022.11.19 packaging-23.1 patch-ng-1.17.4 pybind11-2.10.4 python-dateutil-2.8.2 requests-2.28.2 scikit-build-0.17.1 setuptools-67.6.1 six-1.16.0 tomli-2.0.1 urllib3-1.26.15 wheel-0.40.0
  Installing build dependencies ... done
  Running command Getting requirements to build wheel
  Getting requirements to build wheel ... done
  Running command Preparing metadata (pyproject.toml)
  running dist_info
  creating /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info
  writing /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info/PKG-INFO
  writing dependency_links to /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info/dependency_links.txt
  writing requirements to /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info/requires.txt
  writing top-level names to /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info/top_level.txt
  writing manifest file '/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info/SOURCES.txt'
  reading manifest file '/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info/SOURCES.txt'
  reading manifest template 'MANIFEST.in'
  warning: no files found matching '*pyx' under directory 'qiskit'
  warning: no files found matching '*.pxi' under directory 'qiskit'
  warning: no files found matching '*cpp' under directory 'qiskit'
  warning: no files found matching '*hpp' under directory 'qiskit'
  warning: no files found matching 'qiskit/providers/aer/pulse/qutip_extra_lite/cy/CMakeLists.txt'
  warning: no previously-included files found matching 'src/third-party/*/lib/*.a'
  warning: no previously-included files found matching 'src/third-party/*/lib/*.lib'
  writing manifest file '/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer.egg-info/SOURCES.txt'
  creating '/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-modern-metadata-enh431w_/qiskit_aer-0.10.2.dist-info'
  Preparing metadata (pyproject.toml) ... done
Collecting qiskit-ibmq-provider==0.18.3 (from qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached qiskit_ibmq_provider-0.18.3-py3-none-any.whl (238 kB)
Collecting qiskit-ignis==0.7.0 (from qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached qiskit_ignis-0.7.0-py3-none-any.whl (200 kB)
Collecting numpy>=1.16.3 (from qiskit-aer==0.10.2->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached numpy-1.24.2-cp39-cp39-macosx_11_0_arm64.whl (13.9 MB)
Collecting scipy>=1.0 (from qiskit-aer==0.10.2->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached scipy-1.10.1-cp39-cp39-macosx_12_0_arm64.whl (28.9 MB)
Requirement already satisfied: requests>=2.19 in /opt/homebrew/lib/python3.9/site-packages (from qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1)) (2.28.2)
Collecting requests-ntlm>=1.1.0 (from qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached requests_ntlm-1.2.0-py3-none-any.whl (6.0 kB)
Requirement already satisfied: urllib3>=1.21.1 in /opt/homebrew/lib/python3.9/site-packages (from qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1)) (1.26.15)
Requirement already satisfied: python-dateutil>=2.8.0 in /opt/homebrew/lib/python3.9/site-packages (from qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1)) (2.8.2)
Collecting websocket-client>=1.0.1 (from qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached websocket_client-1.5.1-py3-none-any.whl (55 kB)
Collecting retworkx>=0.8.0 (from qiskit-ignis==0.7.0->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached retworkx-0.12.1-py3-none-any.whl (10 kB)
Requirement already satisfied: setuptools>=40.1.0 in /opt/homebrew/lib/python3.9/site-packages (from qiskit-ignis==0.7.0->qiskit==0.34.1->-r requirements2.txt (line 1)) (62.3.2)
Collecting ply>=3.10 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached ply-3.11-py2.py3-none-any.whl (49 kB)
Collecting psutil>=5 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached psutil-5.9.5-cp38-abi3-macosx_11_0_arm64.whl (246 kB)
Collecting sympy>=1.3 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached sympy-1.11.1-py3-none-any.whl (6.5 MB)
Collecting dill>=0.3 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached dill-0.3.6-py3-none-any.whl (110 kB)
Collecting python-constraint>=1.4 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached python_constraint-1.4.0-py2.py3-none-any.whl
Collecting stevedore>=3.0.0 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached stevedore-5.0.0-py3-none-any.whl (49 kB)
Collecting tweedledum<2.0,>=1.1 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached tweedledum-1.1.1-cp39-cp39-macosx_13_0_arm64.whl
Collecting symengine>=0.8 (from qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached symengine-0.10.0-cp39-cp39-macosx_11_0_arm64.whl (16.9 MB)
Requirement already satisfied: six>=1.5 in /opt/homebrew/lib/python3.9/site-packages (from python-dateutil>=2.8.0->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1)) (1.16.0)
Requirement already satisfied: charset-normalizer<4,>=2 in /opt/homebrew/lib/python3.9/site-packages (from requests>=2.19->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1)) (3.1.0)
Requirement already satisfied: idna<4,>=2.5 in /opt/homebrew/lib/python3.9/site-packages (from requests>=2.19->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1)) (3.4)
Requirement already satisfied: certifi>=2017.4.17 in /opt/homebrew/lib/python3.9/site-packages (from requests>=2.19->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1)) (2022.12.7)
Collecting cryptography>=1.3 (from requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached cryptography-40.0.2-cp36-abi3-macosx_10_12_universal2.whl (5.1 MB)
Collecting pyspnego>=0.1.6 (from requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached pyspnego-0.8.0-py3-none-any.whl (130 kB)
Collecting rustworkx==0.12.1 (from retworkx>=0.8.0->qiskit-ignis==0.7.0->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached rustworkx-0.12.1-cp39-cp39-macosx_11_0_arm64.whl (1.4 MB)
Collecting pbr!=2.1.0,>=2.0.0 (from stevedore>=3.0.0->qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached pbr-5.11.1-py2.py3-none-any.whl (112 kB)
Collecting mpmath>=0.19 (from sympy>=1.3->qiskit-terra==0.19.1->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached mpmath-1.3.0-py3-none-any.whl (536 kB)
Collecting cffi>=1.12 (from cryptography>=1.3->requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached cffi-1.15.1-cp39-cp39-macosx_11_0_arm64.whl (174 kB)
Collecting pycparser (from cffi>=1.12->cryptography>=1.3->requests-ntlm>=1.1.0->qiskit-ibmq-provider==0.18.3->qiskit==0.34.1->-r requirements2.txt (line 1))
  Using cached pycparser-2.21-py2.py3-none-any.whl (118 kB)
Building wheels for collected packages: qiskit-aer
  Running command Building wheel for qiskit-aer (pyproject.toml)
  /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py:617: _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(setup_requires)

  --------------------------------------------------------------------------------
  -- Trying 'Ninja' generator
  --------------------------------
  ---------------------------
  ----------------------
  -----------------
  ------------
  -------
  --
  Not searching for unused variables given on the command line.
  -- The C compiler identification is AppleClang 14.0.3.14030022
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- The CXX compiler identification is AppleClang 14.0.3.14030022
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring done (0.7s)
  -- Generating done (0.0s)
  -- Build files have been written to: /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a/_cmake_test_compile/build
  --
  -------
  ------------
  -----------------
  ----------------------
  ---------------------------
  --------------------------------
  -- Trying 'Ninja' generator - success
  --------------------------------------------------------------------------------

  Configuring Project
    Working directory:
      /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a/_skbuild/macosx-13.0-arm64-3.9/cmake-build
    Command:
      /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a/_skbuild/macosx-13.0-arm64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.13 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/bin/python3.9 -DPYTHON_INCLUDE_DIR:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPYTHON_LIBRARY:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython_EXECUTABLE:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/bin/python3.9 -DPython_ROOT_DIR:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9 -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython_LIBRARY:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/bin/python3.9 -DPython3_ROOT_DIR:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9 -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython3_LIBRARY:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython3_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/numpy/core/include -DCMAKE_MAKE_PROGRAM:FILEPATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=13.0 -DCMAKE_OSX_ARCHITECTURES:STRING=arm64 -DCMAKE_BUILD_TYPE:STRING=Release

  Not searching for unused variables given on the command line.
  -- The CXX compiler identification is AppleClang 14.0.3.14030022
  -- The C compiler identification is AppleClang 14.0.3.14030022
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Performing Test flag_supported
  -- Performing Test flag_supported - Success
  -- Conan: Automatic detection of conan settings from cmake
  -- Conan: Settings= -s;build_type=Release;-s;compiler=apple-clang;-s;compiler.version=14.0;-s;compiler.libcxx=libc++
  -- Conan: checking conan executable
  -- Conan: Found program /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/bin/conan
  -- Conan: Version found Conan version 2.0.4

  -- Conan executing: /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/bin/conan install . -s build_type=Release -s compiler=apple-clang -s compiler.version=14.0 -s compiler.libcxx=libc++ -e=CONAN_CMAKE_PROGRAM=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake -g=cmake --build=missing
  usage: conan install [-h] [-f FORMAT] [-v [V]] [--name NAME]
                       [--version VERSION] [--user USER] [--channel CHANNEL]
                       [--requires REQUIRES] [--tool-requires TOOL_REQUIRES]
                       [-b BUILD] [-r REMOTE | -nr] [-u] [-o OPTIONS_HOST]
                       [-o:b OPTIONS_BUILD] [-o:h OPTIONS_HOST]
                       [-pr PROFILE_HOST] [-pr:b PROFILE_BUILD]
                       [-pr:h PROFILE_HOST] [-s SETTINGS_HOST]
                       [-s:b SETTINGS_BUILD] [-s:h SETTINGS_HOST] [-c CONF_HOST]
                       [-c:b CONF_BUILD] [-c:h CONF_HOST] [-l LOCKFILE]
                       [--lockfile-partial] [--lockfile-out LOCKFILE_OUT]
                       [--lockfile-packages] [--lockfile-clean] [-g GENERATOR]
                       [-of OUTPUT_FOLDER] [--deploy DEPLOY] [--build-require]
                       [path]
  conan install: error: unrecognized arguments: -e=CONAN_CMAKE_PROGRAM=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake
  ERROR: Exiting with code: 2
  CMake Error at cmake/conan.cmake:402 (message):
    Conan install failed='2'
  Call Stack (most recent call first):
    cmake/conan.cmake:497 (conan_cmake_install)
    cmake/conan_utils.cmake:46 (conan_cmake_run)
    cmake/dependency_utils.cmake:20 (setup_conan)
    CMakeLists.txt:146 (setup_dependencies)

  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/skbuild/setuptools_wrap.py", line 666, in setup
      env = cmkr.configure(
    File "/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/skbuild/cmaker.py", line 358, in configure
      raise SKBuildError(msg)

  An error occurred while configuring with CMake.
    Command:
      /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/cmake/data/bin/cmake /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a -G Ninja --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a/_skbuild/macosx-13.0-arm64-3.9/cmake-install -DPYTHON_VERSION_STRING:STRING=3.9.13 -DSKBUILD:INTERNAL=TRUE -DCMAKE_MODULE_PATH:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/skbuild/resources/cmake -DPYTHON_EXECUTABLE:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/bin/python3.9 -DPYTHON_INCLUDE_DIR:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPYTHON_LIBRARY:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython_EXECUTABLE:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/bin/python3.9 -DPython_ROOT_DIR:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9 -DPython_FIND_REGISTRY:STRING=NEVER -DPython_INCLUDE_DIR:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython_LIBRARY:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/numpy/core/include -DPython3_EXECUTABLE:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/bin/python3.9 -DPython3_ROOT_DIR:PATH=/opt/homebrew/Cellar/python@3.9/3.9.13_1/Frameworks/Python.framework/Versions/3.9 -DPython3_FIND_REGISTRY:STRING=NEVER -DPython3_INCLUDE_DIR:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/include/python3.9 -DPython3_LIBRARY:PATH=/opt/homebrew/opt/python@3.9/Frameworks/Python.framework/Versions/3.9/lib/libpython3.9.dylib -DPython3_NumPy_INCLUDE_DIRS:PATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/numpy/core/include -DCMAKE_MAKE_PROGRAM:FILEPATH=/private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-build-env-6domg851/overlay/lib/python3.9/site-packages/ninja/data/bin/ninja -DCMAKE_OSX_DEPLOYMENT_TARGET:STRING=13.0 -DCMAKE_OSX_ARCHITECTURES:STRING=arm64 -DCMAKE_BUILD_TYPE:STRING=Release
    Source directory:
      /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a
    Working directory:
      /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a/_skbuild/macosx-13.0-arm64-3.9/cmake-build
  Please see CMake's output for more information.

  error: subprocess-exited-with-error

  × Building wheel for qiskit-aer (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /opt/homebrew/opt/python@3.9/bin/python3.9 /opt/homebrew/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/tmp2pc62m4z
  cwd: /private/var/folders/sc/nlygddqd0n54nf442p09yp880000gn/T/pip-install-iy5o7k2m/qiskit-aer_25384edd05a84b3eae313273dd9d369a
  Building wheel for qiskit-aer (pyproject.toml) ... error
  ERROR: Failed building wheel for qiskit-aer
Failed to build qiskit-aer
ERROR: Could not build wheels for qiskit-aer, which is required to install pyproject.toml-based projects
mtreinish commented 1 year ago

You will need to increase the verbosity further with -vvv to see pip checking each individual file to see why it is ignoring one. But looking at that log it looks like pip has no issues with other py3.9 arm64 wheels for other packages. You can try manually downloading: https://files.pythonhosted.org/packages/8b/3c/359839a3f3d026a9e8dfc7898dd02e5554933a496e0fe212b739485d3420/qiskit_aer-0.12.0-cp39-cp39-macosx_11_0_arm64.whl and pip installing from the wheel file to see why it is not accepting the wheel for qiskit-aer

hhorii commented 1 year ago

No response for 3 weeks. Please create a new issue if you can not resolve with comments of @mtreinish.