C:\Users\poig>pip --version
pip 22.0.3 from C:\Users\poig\AppData\Local\Programs\Python\Python310\lib\site-packages\pip (python 3.10)
C:\Users\poig>pip install pennylane-qchem
Collecting pennylane-qchem
Using cached PennyLane_Qchem-0.21.0-py3-none-any.whl (57 kB)
Requirement already satisfied: scipy in c:\users\poig\appdata\local\programs\python\python310\lib\site-packages (from pennylane-qchem) (1.8.0)
Collecting openfermionpsi4>=0.5
Using cached openfermionpsi4-0.5-py3-none-any.whl (16 kB)
Collecting openfermion>=1.0
Using cached openfermion-1.3.0-py3-none-any.whl (1.0 MB)
Requirement already satisfied: pennylane>=0.13 in c:\users\poig\appdata\local\programs\python\python310\lib\site-packages (from pennylane-qchem) (0.21.0)
Collecting h5py<=3.2.1
Using cached h5py-3.2.1.tar.gz (368 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies did not run successfully.
│ exit code: 1
╰─> [340 lines of output]
Ignoring numpy: markers 'python_version == "3.8"' don't match your environment
Ignoring Cython: markers 'python_version < "3.8"' don't match your environment
Ignoring Cython: markers 'python_version == "3.8"' don't match your environment
Ignoring numpy: markers 'python_version == "3.7"' don't match your environment
Collecting pkgconfig
Using cached pkgconfig-1.5.5-py3-none-any.whl (6.7 kB)
Collecting numpy==1.19.3
Using cached numpy-1.19.3.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [311 lines of output]
setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.10.
warnings.warn(
Running from numpy source directory.
setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
Processing numpy/random\_bounded_integers.pxd.in
Processing numpy/random\bit_generator.pyx
Processing numpy/random\mtrand.pyx
Processing numpy/random\_bounded_integers.pyx.in
Processing numpy/random\_common.pyx
Processing numpy/random\_generator.pyx
Processing numpy/random\_mt19937.pyx
Processing numpy/random\_pcg64.pyx
Processing numpy/random\_philox.pyx
Processing numpy/random\_sfc64.pyx
Cythonizing sources
blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
blis_info:
libraries blis not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Found executable C:\msys64\mingw64\bin\gfortran.exe
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gfortran.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-11.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --enable-checking=release --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-lto --enable-libgomp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --with-boot-ldflags='-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc' 'LDFLAGS_FOR_TARGET=-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high' --enable-linker-plugin-flags='LDFLAGS=-static-libstdc++\ -static-libgcc\ -pipe\ -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high\ -Wl,--stack,12582912'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (Rev2, Built by MSYS2 project)
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\system_info.py:1914: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
blas_info:
libraries blas not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\system_info.py:1914: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
blas_src_info:
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\system_info.py:1914: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
NOT AVAILABLE
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gfortran.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-11.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --enable-checking=release --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-lto --enable-libgomp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --with-boot-ldflags='-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc' 'LDFLAGS_FOR_TARGET=-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high' --enable-linker-plugin-flags='LDFLAGS=-static-libstdc++\ -static-libgcc\ -pipe\ -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high\ -Wl,--stack,12582912'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (Rev2, Built by MSYS2 project)
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
customize IntelVisualFCompiler
customize AbsoftFCompiler
customize CompaqVisualFCompiler
customize IntelItaniumVisualFCompiler
customize Gnu95FCompiler
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gfortran.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-11.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --enable-checking=release --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-lto --enable-libgomp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --with-boot-ldflags='-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc' 'LDFLAGS_FOR_TARGET=-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high' --enable-linker-plugin-flags='LDFLAGS=-static-libstdc++\ -static-libgcc\ -pipe\ -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high\ -Wl,--stack,12582912'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (Rev2, Built by MSYS2 project)
NOT AVAILABLE
flame_info:
libraries flame not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries tatlas,tatlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries lapack_atlas not found in C:\
libraries tatlas,tatlas not found in C:\
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
libraries tatlas,tatlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries satlas,satlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries lapack_atlas not found in C:\
libraries satlas,satlas not found in C:\
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
libraries satlas,satlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries ptf77blas,ptcblas,atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
libraries ptf77blas,ptcblas,atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries f77blas,cblas,atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\lib
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
libraries f77blas,cblas,atlas not found in C:\Users\poig\AppData\Local\Programs\Python\Python310\libs
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\lib', 'C:\\', 'C:\\Users\\poig\\AppData\\Local\\Programs\\Python\\Python310\\libs']
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\system_info.py:1748: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
lapack_src_info:
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\system_info.py:1748: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
NOT AVAILABLE
numpy_linalg_lapack_lite:
FOUND:
language = c
define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\dist.py:275: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running dist_info
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.10
creating build\src.win-amd64-3.10\numpy
creating build\src.win-amd64-3.10\numpy\distutils
building library "npymath" sources
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gfortran.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-11.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --enable-checking=release --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-lto --enable-libgomp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --with-boot-ldflags='-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc' 'LDFLAGS_FOR_TARGET=-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high' --enable-linker-plugin-flags='LDFLAGS=-static-libstdc++\ -static-libgcc\ -pipe\ -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high\ -Wl,--stack,12582912'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (Rev2, Built by MSYS2 project)
Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gfortran.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-11.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --enable-checking=release --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++,jit --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts --enable-libstdcxx-time --disable-libstdcxx-pch --disable-libstdcxx-debug --enable-lto --enable-libgomp --disable-multilib --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://github.com/msys2/MINGW-packages/issues --with-gnu-as --with-gnu-ld --with-boot-ldflags='-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high -Wl,--disable-dynamicbase -static-libstdc++ -static-libgcc' 'LDFLAGS_FOR_TARGET=-pipe -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high' --enable-linker-plugin-flags='LDFLAGS=-static-libstdc++\ -static-libgcc\ -pipe\ -Wl,--dynamicbase,--high-entropy-va,--nxcompat,--default-image-base-high\ -Wl,--stack,12582912'
Thread model: posix
Supported LTO compression algorithms: zlib zstd
gcc version 11.2.0 (Rev2, Built by MSYS2 project)
Traceback (most recent call last):
File "C:\Users\poig\AppData\Local\Temp\tmp0v6wn31l_in_process.py", line 363, in <module>
main()
File "C:\Users\poig\AppData\Local\Temp\tmp0v6wn31l_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\poig\AppData\Local\Temp\tmp0v6wn31l_in_process.py", line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\build_meta.py", line 157, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\build_meta.py", line 248, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 508, in <module>
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 967, in run_commands
self.run_command(cmd)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\command\dist_info.py", line 31, in run
egg_info.run()
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\egg_info.py", line 24, in run
self.run_command("build_src")
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 986, in run_command
cmd_obj.run()
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\build_src.py", line 144, in run
self.build_sources()
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\build_src.py", line 155, in build_sources
self.build_library_sources(*libname_info)
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\build_src.py", line 288, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\build_src.py", line 378, in generate_sources
source = func(extension, build_dir)
File "numpy\core\setup.py", line 658, in get_mathlib_info
st = config_cmd.try_link('int main(void) { return 0;}')
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\command\config.py", line 243, in try_link
self._link(body, headers, include_dirs,
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\config.py", line 162, in _link
return self._wrap_method(old_config._link, lang,
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\config.py", line 96, in _wrap_method
ret = mth(*((self,)+args))
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\command\config.py", line 137, in _link
(src, obj) = self._compile(body, headers, include_dirs, lang)
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\config.py", line 105, in _compile
src, obj = self._wrap_method(old_config._compile, lang,
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\command\config.py", line 96, in _wrap_method
ret = mth(*((self,)+args))
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\command\config.py", line 132, in _compile
self.compiler.compile([src], include_dirs=include_dirs)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 401, in compile
self.spawn(args)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-bzsoac_j\overlay\Lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 505, in spawn
return super().spawn(cmd, env=env)
File "C:\Users\poig\AppData\Local\Temp\pip-install-nx7e9uin\numpy_b21692115bc647cd95f215eece2d20e7\numpy\distutils\ccompiler.py", line 90, in <lambda>
m = lambda self, *args, **kw: func(self, *args, **kw)
TypeError: CCompiler_spawn() got an unexpected keyword argument 'env'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install backend dependencies 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.
Hi @poig, this does look like an issue with your Python version. If you create a new virtual environment with Python 3.9 does this solve your problem?
I got This.
.venv\bin\python3.9.exe -m pip install --upgrade pip
Requirement already satisfied: pip in c:\users\poig\downloads\django_private_chat2-master\project\qhack\coding_challenge\qhack\coding_challenges\games_200_chsh_template\.venv\lib\python3.9\site-packages (21.2.3)
Collecting pip
Using cached pip-22.0.3-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.2.3
Uninstalling pip-21.2.3:
Successfully uninstalled pip-21.2.3
Successfully installed pip-22.0.3
C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv>C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\bin\python3.9.exe -m pip install pennylane-qchem
Collecting pennylane-qchem
Using cached PennyLane_Qchem-0.21.0-py3-none-any.whl (57 kB)
Collecting scipy
Downloading scipy-1.8.0.tar.gz (38.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.3/38.3 MB 5.6 MB/s eta 0:00:00
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [280 lines of output]
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "aarch64" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
Ignoring numpy: markers 'python_version == "3.9" and platform_machine == "arm64" and platform_system == "Darwin"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and platform_machine == "s390x" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version == "3.8" and (platform_machine != "arm64" or platform_system != "Darwin") and platform_machine != "aarch64" and platform_machine != "s390x" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version == "3.10" and platform_python_implementation != "PyPy"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.11"' don't match your environment
Ignoring numpy: markers 'python_version >= "3.8" and platform_python_implementation == "PyPy"' don't match your environment
Collecting wheel<0.38.0
Using cached wheel-0.37.1-py2.py3-none-any.whl (35 kB)
Collecting setuptools<60.0.0
Downloading setuptools-59.8.0-py3-none-any.whl (952 kB)
-------------------------------------- 952.8/952.8 KB 6.7 MB/s eta 0:00:00
Collecting Cython<3.0,>=0.29.18
Using cached Cython-0.29.28-py2.py3-none-any.whl (983 kB)
Collecting pybind11<2.9.0,>=2.4.3
Downloading pybind11-2.8.1-py2.py3-none-any.whl (208 kB)
------------------------------------- 208.6/208.6 KB 13.2 MB/s eta 0:00:00
Collecting pythran<0.11.0,>=0.10.0
Downloading pythran-0.10.0-py3-none-any.whl (4.3 MB)
---------------------------------------- 4.3/4.3 MB 8.8 MB/s eta 0:00:00
Collecting numpy==1.19.3
Using cached numpy-1.19.3.zip (7.3 MB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [236 lines of output]
Running from numpy source directory.
setup.py:480: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
Processing numpy/random\_bounded_integers.pxd.in
Processing numpy/random\bit_generator.pyx
Processing numpy/random\mtrand.pyx
Processing numpy/random\_bounded_integers.pyx.in
Processing numpy/random\_common.pyx
Processing numpy/random\_generator.pyx
Processing numpy/random\_mt19937.pyx
Processing numpy/random\_pcg64.pyx
Processing numpy/random\_philox.pyx
Processing numpy/random\_sfc64.pyx
Cythonizing sources
blas_opt_info:
blas_mkl_info:
customize Mingw32CCompiler
libraries mkl_rt not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
blis_info:
libraries blis not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\system_info.py:1914: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
blas_info:
libraries blas not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\system_info.py:1914: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
blas_src_info:
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\system_info.py:1914: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
NOT AVAILABLE
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
flame_info:
libraries flame not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries tatlas,tatlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries lapack_atlas not found in C:\
libraries tatlas,tatlas not found in C:\
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries satlas,satlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries lapack_atlas not found in C:\
libraries satlas,satlas not found in C:\
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries ptf77blas,ptcblas,atlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries f77blas,cblas,atlas not found in C:\Users\poig\Downloads\django_private_chat2-master\project\qhack\coding_challenge\QHack\Coding_Challenges\games_200_CHSH_template\.venv\lib
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\Users\\poig\\Downloads\\django_private_chat2-master\\project\\qhack\\coding_challenge\\QHack\\Coding_Challenges\\games_200_CHSH_template\\.venv\\lib', 'C:\\']
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\system_info.py:1748: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
lapack_src_info:
NOT AVAILABLE
C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\system_info.py:1748: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
return getattr(self, '_calc_info_{}'.format(name))()
NOT AVAILABLE
numpy_linalg_lapack_lite:
FOUND:
language = c
define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
C:\msys64\mingw64\lib\python3.9\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running dist_info
running build_src
build_src
building py_modules sources
creating build
creating build\src.mingw_x86_64-3.9
creating build\src.mingw_x86_64-3.9\numpy
creating build\src.mingw_x86_64-3.9\numpy\distutils
building library "npymath" sources
Traceback (most recent call last):
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\fcompiler\compaq.py", line 78, in CompaqVisualFCompiler
m.initialize()
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\msvccompiler.py", line 48, in initialize
_MSVCCompiler.initialize(self)
File "C:\msys64\mingw64\lib\python3.9\distutils\msvccompiler.py", line 259, in initialize
self.__paths = self.get_msvc_paths("path")
File "C:\msys64\mingw64\lib\python3.9\distutils\msvccompiler.py", line 602, in get_msvc_paths
r"\Win32 (%s)\Directories" % (self.__root, platform))
AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__root'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\poig\AppData\Local\Temp\tmp03zw6csq_in_process.py", line 363, in <module>
main()
File "C:\Users\poig\AppData\Local\Temp\tmp03zw6csq_in_process.py", line 345, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "C:\Users\poig\AppData\Local\Temp\tmp03zw6csq_in_process.py", line 164, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-lz76lamb\overlay\lib\python3.9\site-packages\setuptools\build_meta.py", line 157, in prepare_metadata_for_build_wheel
self.run_setup()
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-lz76lamb\overlay\lib\python3.9\site-packages\setuptools\build_meta.py", line 248, in run_setup
super(_BuildMetaLegacyBackend,
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-lz76lamb\overlay\lib\python3.9\site-packages\setuptools\build_meta.py", line 142, in run_setup
exec(compile(code, __file__, 'exec'), locals())
File "setup.py", line 508, in <module>
setup_package()
File "setup.py", line 500, in setup_package
setup(**metadata)
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\core.py", line 169, in setup
return old_setup(**new_attr)
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-lz76lamb\overlay\lib\python3.9\site-packages\setuptools\__init__.py", line 165, in setup
return distutils.core.setup(**attrs)
File "C:\msys64\mingw64\lib\python3.9\distutils\core.py", line 148, in setup
dist.run_commands()
File "C:\msys64\mingw64\lib\python3.9\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "C:\msys64\mingw64\lib\python3.9\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\poig\AppData\Local\Temp\pip-build-env-lz76lamb\overlay\lib\python3.9\site-packages\setuptools\command\dist_info.py", line 31, in run
egg_info.run()
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\command\egg_info.py", line 24, in run
self.run_command("build_src")
File "C:\msys64\mingw64\lib\python3.9\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "C:\msys64\mingw64\lib\python3.9\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\command\build_src.py", line 144, in run
self.build_sources()
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\command\build_src.py", line 155, in build_sources
self.build_library_sources(*libname_info)
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\command\build_src.py", line 288, in build_library_sources
sources = self.generate_sources(sources, (lib_name, build_info))
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\command\build_src.py", line 378, in generate_sources
source = func(extension, build_dir)
File "numpy\core\setup.py", line 658, in get_mathlib_info
st = config_cmd.try_link('int main(void) { return 0;}')
File "C:\msys64\mingw64\lib\python3.9\distutils\command\config.py", line 241, in try_link
self._check_compiler()
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\command\config.py", line 80, in _check_compiler self.fcompiler = new_fcompiler(compiler=self.fcompiler,
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\fcompiler\__init__.py", line 876, in new_fcompiler
load_all_fcompiler_classes()
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\fcompiler\__init__.py", line 777, in load_all_fcompiler_classes
__import__ (module_name)
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\fcompiler\compaq.py", line 54, in <module>
class CompaqVisualFCompiler(FCompiler):
File "C:\Users\poig\AppData\Local\Temp\pip-install-9j41d2hi\numpy_3b70e0205f0243f3aa2e28a7e28463ba\numpy\distutils\fcompiler\compaq.py", line 83, in CompaqVisualFCompiler
if '_MSVCCompiler__root' in str(msg):
NameError: name 'msg' is not defined
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies 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.
Hi @poig, are you using an M1 machine?
I am using a window desktop.
Hi @poig,
The issue will likely be related to the compiler that you’re using. The error in the traceback AttributeError: 'MSVCCompiler' object has no attribute '_MSVCCompiler__root'
would be hinting at this.
I’ve tried installing PennyLane-QChem in a fresh conda environment for Python 3.9 on Windows and it worked without issues.
Could you check if the MSVC compiler that you have could be updated?
Also @poig, something stranger might be happening that is related to the OS/python environment being used.
Based on the traceback:
-
pip
is downloading NumPy/SciPy source code , which is super strange, it typically should be downloading wheels/binaries; - It is then failing to compile numpy and scipy, it isn’t even getting to the qchem installation.
Double-checking why that is so could also be helpful.