rdisipio / qtransformer

Quantum-enhanced transformer neural network
112 stars 26 forks source link

I followed your instructions in the Readme file to build the code runtime environment, but it failed. #4

Open lihaoya5 opened 6 months ago

lihaoya5 commented 6 months ago

My computer is Windows10 and I activated the environment after conda create -n qtrans python=3.11 in the conda command window. The second step is pip, pip3 install --upgrade pip. I wanted to use quantum and torch blocks, so in me pip install -r requirements.torch.txt ,But an error arose. Here's the error message, (qtrans) E:\qtransformer-main>pip install -r requirements.torch.txt Collecting torch (from -r requirements.torch.txt (line 1)) Downloading torch-2.3.0-cp311-cp311-win_amd64.whl.metadata (26 kB) Collecting torchtext (from -r requirements.torch.txt (line 2)) Downloading torchtext-0.18.0-cp311-cp311-win_amd64.whl.metadata (7.9 kB) Collecting pennylane (from -r requirements.torch.txt (line 3)) Using cached PennyLane-0.36.0-py3-none-any.whl.metadata (9.2 kB) Collecting matplotlib (from -r requirements.torch.txt (line 4)) Using cached matplotlib-3.9.0-cp311-cp311-win_amd64.whl.metadata (11 kB) Requirement already satisfied: wheel in c:\users\qian.conda\envs\qtrans\lib\site-packages (from -r requirements.torch.txt (line 5)) (0.43.0) Collecting qulacs-gpu (from -r requirements.torch.txt (line 6)) Using cached Qulacs-GPU-0.3.1.tar.gz (209 kB) Preparing metadata (setup.py) ... done Collecting tqdm (from -r requirements.torch.txt (line 7)) Using cached tqdm-4.66.4-py3-none-any.whl.metadata (57 kB) Collecting pennylane-qulacs (from -r requirements.torch.txt (line 8)) Using cached pennylane_qulacs-0.36.0-py3-none-any.whl.metadata (8.4 kB) Collecting filelock (from torch->-r requirements.torch.txt (line 1)) Using cached filelock-3.14.0-py3-none-any.whl.metadata (2.8 kB) Collecting typing-extensions>=4.8.0 (from torch->-r requirements.torch.txt (line 1)) Using cached typing_extensions-4.11.0-py3-none-any.whl.metadata (3.0 kB) Collecting sympy (from torch->-r requirements.torch.txt (line 1)) Using cached sympy-1.12-py3-none-any.whl.metadata (12 kB) Collecting networkx (from torch->-r requirements.torch.txt (line 1)) Using cached networkx-3.3-py3-none-any.whl.metadata (5.1 kB) Collecting jinja2 (from torch->-r requirements.torch.txt (line 1)) Using cached jinja2-3.1.4-py3-none-any.whl.metadata (2.6 kB) Collecting fsspec (from torch->-r requirements.torch.txt (line 1)) Using cached fsspec-2024.5.0-py3-none-any.whl.metadata (11 kB) Collecting mkl<=2021.4.0,>=2021.1.1 (from torch->-r requirements.torch.txt (line 1)) Using cached mkl-2021.4.0-py2.py3-none-win_amd64.whl.metadata (1.4 kB) Collecting requests (from torchtext->-r requirements.torch.txt (line 2)) Using cached requests-2.31.0-py3-none-any.whl.metadata (4.6 kB) Collecting numpy (from torchtext->-r requirements.torch.txt (line 2)) Using cached numpy-1.26.4-cp311-cp311-win_amd64.whl.metadata (61 kB) Collecting scipy (from pennylane->-r requirements.torch.txt (line 3)) Using cached scipy-1.13.0-cp311-cp311-win_amd64.whl.metadata (60 kB) Collecting rustworkx (from pennylane->-r requirements.torch.txt (line 3)) Using cached rustworkx-0.14.2-cp311-cp311-win_amd64.whl.metadata (10 kB) Collecting autograd (from pennylane->-r requirements.torch.txt (line 3)) Using cached autograd-1.6.2-py3-none-any.whl.metadata (706 bytes) Collecting toml (from pennylane->-r requirements.torch.txt (line 3)) Using cached toml-0.10.2-py2.py3-none-any.whl.metadata (7.1 kB) Collecting appdirs (from pennylane->-r requirements.torch.txt (line 3)) Using cached appdirs-1.4.4-py2.py3-none-any.whl.metadata (9.0 kB) Collecting semantic-version>=2.7 (from pennylane->-r requirements.torch.txt (line 3)) Using cached semantic_version-2.10.0-py2.py3-none-any.whl.metadata (9.7 kB) Collecting autoray>=0.6.1 (from pennylane->-r requirements.torch.txt (line 3)) Using cached autoray-0.6.12-py3-none-any.whl.metadata (5.7 kB) Collecting cachetools (from pennylane->-r requirements.torch.txt (line 3)) Using cached cachetools-5.3.3-py3-none-any.whl.metadata (5.3 kB) Collecting pennylane-lightning>=0.36 (from pennylane->-r requirements.torch.txt (line 3)) Using cached PennyLane_Lightning-0.36.0-cp311-cp311-win_amd64.whl.metadata (21 kB) Collecting contourpy>=1.0.1 (from matplotlib->-r requirements.torch.txt (line 4)) Downloading contourpy-1.2.1-cp311-cp311-win_amd64.whl.metadata (5.8 kB) Collecting cycler>=0.10 (from matplotlib->-r requirements.torch.txt (line 4)) Using cached cycler-0.12.1-py3-none-any.whl.metadata (3.8 kB) Collecting fonttools>=4.22.0 (from matplotlib->-r requirements.torch.txt (line 4)) Downloading fonttools-4.51.0-cp311-cp311-win_amd64.whl.metadata (162 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 162.8/162.8 kB 610.1 kB/s eta 0:00:00 Collecting kiwisolver>=1.3.1 (from matplotlib->-r requirements.torch.txt (line 4)) Downloading kiwisolver-1.4.5-cp311-cp311-win_amd64.whl.metadata (6.5 kB) Collecting packaging>=20.0 (from matplotlib->-r requirements.torch.txt (line 4)) Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB) Collecting pillow>=8 (from matplotlib->-r requirements.torch.txt (line 4)) Downloading pillow-10.3.0-cp311-cp311-win_amd64.whl.metadata (9.4 kB) Collecting pyparsing>=2.3.1 (from matplotlib->-r requirements.torch.txt (line 4)) Using cached pyparsing-3.1.2-py3-none-any.whl.metadata (5.1 kB) Collecting python-dateutil>=2.7 (from matplotlib->-r requirements.torch.txt (line 4)) Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl.metadata (8.4 kB) Collecting colorama (from tqdm->-r requirements.torch.txt (line 7)) Using cached colorama-0.4.6-py2.py3-none-any.whl.metadata (17 kB) Collecting intel-openmp==2021. (from mkl<=2021.4.0,>=2021.1.1->torch->-r requirements.torch.txt (line 1)) Using cached intel_openmp-2021.4.0-py2.py3-none-win_amd64.whl.metadata (1.2 kB) Collecting tbb==2021. (from mkl<=2021.4.0,>=2021.1.1->torch->-r requirements.torch.txt (line 1)) Using cached tbb-2021.12.0-py3-none-win_amd64.whl.metadata (1.1 kB) Collecting six>=1.5 (from python-dateutil>=2.7->matplotlib->-r requirements.torch.txt (line 4)) Using cached six-1.16.0-py2.py3-none-any.whl.metadata (1.8 kB) Collecting future>=0.15.2 (from autograd->pennylane->-r requirements.torch.txt (line 3)) Using cached future-1.0.0-py3-none-any.whl.metadata (4.0 kB) Collecting MarkupSafe>=2.0 (from jinja2->torch->-r requirements.torch.txt (line 1)) Downloading MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl.metadata (3.1 kB) Collecting charset-normalizer<4,>=2 (from requests->torchtext->-r requirements.torch.txt (line 2)) Using cached charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl.metadata (34 kB) Collecting idna<4,>=2.5 (from requests->torchtext->-r requirements.torch.txt (line 2)) Using cached idna-3.7-py3-none-any.whl.metadata (9.9 kB) Collecting urllib3<3,>=1.21.1 (from requests->torchtext->-r requirements.torch.txt (line 2)) Using cached urllib3-2.2.1-py3-none-any.whl.metadata (6.4 kB) Collecting certifi>=2017.4.17 (from requests->torchtext->-r requirements.torch.txt (line 2)) Using cached certifi-2024.2.2-py3-none-any.whl.metadata (2.2 kB) Collecting mpmath>=0.19 (from sympy->torch->-r requirements.torch.txt (line 1)) Using cached mpmath-1.3.0-py3-none-any.whl.metadata (8.6 kB) Downloading torch-2.3.0-cp311-cp311-win_amd64.whl (159.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 159.8/159.8 MB 12.8 MB/s eta 0:00:00 Downloading torchtext-0.18.0-cp311-cp311-win_amd64.whl (1.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.9/1.9 MB 15.5 MB/s eta 0:00:00 Using cached PennyLane-0.36.0-py3-none-any.whl (1.7 MB) Downloading matplotlib-3.9.0-cp311-cp311-win_amd64.whl (8.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.0/8.0 MB 12.1 MB/s eta 0:00:00 Using cached tqdm-4.66.4-py3-none-any.whl (78 kB) Using cached pennylane_qulacs-0.36.0-py3-none-any.whl (13 kB) Using cached autoray-0.6.12-py3-none-any.whl (50 kB) Downloading contourpy-1.2.1-cp311-cp311-win_amd64.whl (188 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.2/188.2 kB 872.3 kB/s eta 0:00:00 Using cached cycler-0.12.1-py3-none-any.whl (8.3 kB) Downloading fonttools-4.51.0-cp311-cp311-win_amd64.whl (2.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.2/2.2 MB 6.3 MB/s eta 0:00:00 Downloading kiwisolver-1.4.5-cp311-cp311-win_amd64.whl (56 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 56.1/56.1 kB 2.9 MB/s eta 0:00:00 Using cached mkl-2021.4.0-py2.py3-none-win_amd64.whl (228.5 MB) Using cached intel_openmp-2021.4.0-py2.py3-none-win_amd64.whl (3.5 MB) Using cached tbb-2021.12.0-py3-none-win_amd64.whl (286 kB) Using cached numpy-1.26.4-cp311-cp311-win_amd64.whl (15.8 MB) Using cached packaging-24.0-py3-none-any.whl (53 kB) Using cached PennyLane_Lightning-0.36.0-cp311-cp311-win_amd64.whl (5.6 MB) Downloading pillow-10.3.0-cp311-cp311-win_amd64.whl (2.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.5/2.5 MB 10.1 MB/s eta 0:00:00 Using cached pyparsing-3.1.2-py3-none-any.whl (103 kB) Using cached python_dateutil-2.9.0.post0-py2.py3-none-any.whl (229 kB) Using cached semantic_version-2.10.0-py2.py3-none-any.whl (15 kB) Using cached typing_extensions-4.11.0-py3-none-any.whl (34 kB) Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Using cached autograd-1.6.2-py3-none-any.whl (49 kB) Using cached cachetools-5.3.3-py3-none-any.whl (9.3 kB) Using cached colorama-0.4.6-py2.py3-none-any.whl (25 kB) Using cached filelock-3.14.0-py3-none-any.whl (12 kB) Using cached fsspec-2024.5.0-py3-none-any.whl (316 kB) Using cached jinja2-3.1.4-py3-none-any.whl (133 kB) Using cached networkx-3.3-py3-none-any.whl (1.7 MB) Using cached requests-2.31.0-py3-none-any.whl (62 kB) Using cached rustworkx-0.14.2-cp311-cp311-win_amd64.whl (1.6 MB) Using cached scipy-1.13.0-cp311-cp311-win_amd64.whl (46.2 MB) Using cached sympy-1.12-py3-none-any.whl (5.7 MB) Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB) Using cached certifi-2024.2.2-py3-none-any.whl (163 kB) Using cached charset_normalizer-3.3.2-cp311-cp311-win_amd64.whl (99 kB) Using cached future-1.0.0-py3-none-any.whl (491 kB) Using cached idna-3.7-py3-none-any.whl (66 kB) Downloading MarkupSafe-2.1.5-cp311-cp311-win_amd64.whl (17 kB) Using cached mpmath-1.3.0-py3-none-any.whl (536 kB) Using cached six-1.16.0-py2.py3-none-any.whl (11 kB) Using cached urllib3-2.2.1-py3-none-any.whl (121 kB) Building wheels for collected packages: qulacs-gpu Building wheel for qulacs-gpu (setup.py) ... error error: subprocess-exited-with-error

× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [153 lines of output] running bdist_wheel running build running build_ext C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\setup.py:48: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. cmake_version = LooseVersion(re.search(r'version\s*([\d.]+)', out.decode()).group(1)) -- Building for: Visual Studio 17 2022 CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as

      project(ProjectName)

    near the top of the file, but after cmake_minimum_required().

    CMake is pretending there is a "project(Project)" command on the first
    line.
  This warning is for project developers.  Use -Wno-dev to suppress it.

  CMake Warning (dev) in CMakeLists.txt:
    cmake_minimum_required() should be called prior to this top-level project()
    call.  Please see the cmake-commands(7) manual for usage documentation of
    both commands.
  This warning is for project developers.  Use -Wno-dev to suppress it.

  -- Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22631.
  -- The C compiler identification is MSVC 19.35.32216.1
  -- The CXX compiler identification is MSVC 19.35.32216.1
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - failed
  -- Check for working C compiler: D:/software_CS/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe
  -- Check for working C compiler: D:/software_CS/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe - broken
  CMake Error at C:/Program Files/CMake/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
    The C compiler

      "D:/software_CS/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.35.32215/bin/Hostx64/x64/cl.exe"

    is not able to compile a simple test program.

    It fails with the following output:

      Change Dir: 'C:/Users/qian/AppData/Local/Temp/pip-install-8r2ife73/qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8/build/temp.win-amd64-cpython-311/Release/CMakeFiles/CMakeScratch/TryCompile-wc73h6'

      Run Build Command(s): "D:/software_CS/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe" cmTC_7fda8.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:n
      MSBuild version 17.5.1+f6fdcf537 for .NET Framework
      鐢熸垚鍚\xaf鍔ㄦ椂闂翠负 2024/5/20 19:48:43銆\x82
      Included response file: D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64\MSBuild.rsp

      鑺傜偣 1 涓婄殑椤圭洰鈥淐:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj鈥\x9d(榛樿\xaeょ洰鏍\x87)銆\x82
      PrepareForBuild:
        姝e湪鍒涘缓鐩\xae褰曗\x80渃mTC_7fda8.dir\Debug\鈥濄\x80\x82
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(527,5): warning MSB8029: 涓\xad闂寸洰褰曟垨杈撳嚭鐩\xae褰曟棤娉曢┗鐣欏湪涓存椂鐩\xae褰曚笅锛屽洜涓鸿繖鍙\xaf鑳戒細瀵艰嚧澧 為噺鐢熸垚鍑虹幇闂\xae棰樸\x80\x82 [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
        姝e湪鍒涘缓鐩\xae褰曗\x80淐:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\Debug\鈥濄\x80\x82
        姝e湪鍒涘缓鐩\xae褰曗\x80渃mTC_7fda8.dir\Debug\cmTC_7fda8.tlog\鈥濄\x80\x82
      InitializeBuildStatus:
        姝e湪鍒涘缓鈥渃mTC_7fda8.dir\Debug\cmTC_7fda8.tlog\unsuccessfulbuild鈥濓紝鍥犱负宸叉寚瀹氣\x80淎lwaysCreate鈥濄\x80\x82
      ClCompile:
        D:\software_CS\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX64\x64\CL.exe /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_7fda8.dir\Debug\\" /Fd"cmTC_7fda8.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\testCCompiler.c"
        鐢ㄤ簬 x64 鐨\x84 Microsoft (R) C/C++ 浼樺寲缂栬瘧鍣\xa8 19.35.32216.1 鐗\x88
        testCCompiler.c
        鐗堟潈鎵\x80鏈\x89(C) Microsoft Corporation銆備繚鐣欐墍鏈夋潈鍒┿\x80\x82
        cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_7fda8.dir\Debug\\" /Fd"cmTC_7fda8.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\testCCompiler.c"
      Link:
        D:\software_CS\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.35.32215\bin\HostX64\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\Debug\cmTC_7fda8.exe" /INCREMENTAL /ILK:"cmTC_7fda8.dir\Debug\cmTC_7fda8.ilk" /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/qian/AppData/Local/Temp/pip-install-8r2ife73/qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8/build/temp.win-amd64-cpython-311/Release/CMakeFiles/CMakeScratch/TryCompile-wc73h6/Debug/cmTC_7fda8.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/qian/AppData/Local/Temp/pip-install-8r2ife73/qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8/build/temp.win-amd64-cpython-311/Release/CMakeFiles/CMakeScratch/TryCompile-wc73h6/Debug/cmTC_7fda8.lib" /MACHINE:X64  /machine:x64 cmTC_7fda8.dir\Debug\testCCompiler.obj
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003: 鎸囧畾鐨勪换鍔″彲鎵ц\xa1屾枃浠垛\x80渓ink.exe鈥濇湭鑳借繍琛屻\x80係ystem.IO.DirectoryNotFoundException: 鏈\xaa鑳芥壘鍒拌矾寰勨\x80淐:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.dir\Debug\cmTC_7fda8.tlog鈥濈殑涓\x80閮ㄥ垎銆\x82 [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      宸插畬鎴愮敓鎴愰」鐩\xae鈥淐:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj鈥\x9d(榛樿\xaeょ洰鏍\x87)鐨勬搷浣\x9c - 澶辫触銆\x82

      鐢熸垚澶辫触銆\x82

      鈥淐:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj鈥\x9d(榛樿\xaeょ洰鏍\x87) (1) ->
      (PrepareForBuild 鐩\xae鏍\x87) ->
        D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(527,5): warning MSB8029: 涓\xad闂寸洰褰曟垨杈撳嚭鐩\xae褰曟棤娉曢┗鐣欏湪涓存椂鐩\xae褰曚笅锛屽洜涓鸿繖鍙\xaf鑳戒細瀵艰嚧 澧為噺鐢熸垚鍑虹幇闂\xae棰樸\x80\x82 [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]

      鈥淐:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj鈥\x9d(榛樿\xaeょ洰鏍\x87) (1) ->
      (Link 鐩\xae鏍\x87) ->
        D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003: 鎸囧畾鐨勪换鍔″彲鎵ц\xa1屾枃浠垛\x80渓ink.exe鈥濇湭鑳借繍琛屻\x80係ystem.IO.DirectoryNotFoundException: 鏈\xaa鑳芥壘鍒拌矾寰勨\x80淐:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.dir\Debug\cmTC_7fda8.tlog鈥濈殑涓\x80閮ㄥ垎銆\x82 [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.FileSystemEnumerableIterator`1.CommonInit() [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 System.IO.Directory.GetFiles(String path, String searchPattern) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.Utilities.TrackedDependencies.ExpandWildcards(ITaskItem[] expand) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.Utilities.CanonicalTrackedOutputFiles.InternalConstruct(ITask ownerTask, ITaskItem[] tlogFiles, Boolean constructOutputsFromTLogs) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.CPPTasks.TrackedVCToolTask.PostExecuteTool(Int32 exitCode) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.CPPTasks.TrackedVCToolTask.ExecuteTool(String pathToTool, String responseFileCommands, String commandLineCommands) [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]
      D:\software_CS\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppCommon.targets(1096,5): error MSB6003:    鍦\xa8 Microsoft.Build.Utilities.ToolTask.Execute() [C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\build\temp.win-amd64-cpython-311\Release\CMakeFiles\CMakeScratch\TryCompile-wc73h6\cmTC_7fda8.vcxproj]

          1 涓\xaa璀﹀憡
          1 涓\xaa閿欒\xaf\xaf

      宸茬敤鏃堕棿 00:00:00.66

    CMake will not be able to correctly generate this project.
  Call Stack (most recent call first):
    CMakeLists.txt

  -- Configuring incomplete, errors occurred!
  Traceback (most recent call last):
    File "<string>", line 2, in <module>
    File "<pip-setuptools-caller>", line 34, in <module>
    File "C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\setup.py", line 111, in <module>
      setup(
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\__init__.py", line 104, in setup
      return distutils.core.setup(**attrs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\core.py", line 184, in setup
      return run_commands(dist)
             ^^^^^^^^^^^^^^^^^^
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\core.py", line 200, in run_commands
      dist.run_commands()
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\dist.py", line 967, in run_command
      super().run_command(command)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\wheel\bdist_wheel.py", line 368, in run
      self.run_command("build")
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\dist.py", line 967, in run_command
      super().run_command(command)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\command\build.py", line 132, in run
      self.run_command(cmd_name)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\cmd.py", line 316, in run_command
      self.distribution.run_command(command)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\dist.py", line 967, in run_command
      super().run_command(command)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\setup.py", line 50, in run
      self.build_extension(ext)
    File "C:\Users\qian\AppData\Local\Temp\pip-install-8r2ife73\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\setup.py", line 108, in build_extension
      subprocess.check_call(['cmake', ext.sourcedir] + cmake_args, cwd=self.build_temp, env=env)
    File "C:\Users\qian\.conda\envs\qtrans\Lib\subprocess.py", line 413, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\qian\\AppData\\Local\\Temp\\pip-install-8r2ife73\\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\qian\\AppData\\Local\\Temp\\pip-install-8r2ife73\\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\\build\\lib.win-amd64-cpython-311', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY=C:\\Users\\qian\\AppData\\Local\\Temp\\pip-install-8r2ife73\\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\\build\\lib.win-amd64-cpython-311', '-DPYTHON_EXECUTABLE=C:\\Users\\qian\\.conda\\envs\\qtrans\\python.exe', '-DPYTHON_SETUP_FLAG:STR=Yes', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\qian\\AppData\\Local\\Temp\\pip-install-8r2ife73\\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\\build\\lib.win-amd64-cpython-311', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\qian\\AppData\\Local\\Temp\\pip-install-8r2ife73\\qulacs-gpu_e7430a1dd0ec4af28ff9b88ed9bcd8b8\\build\\lib.win-amd64-cpython-311', '-A', 'x64', '-DUSE_GPU:STR=Yes']' returned non-zero exit status 1.
  [end of output]

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

Can you take a look at the reason for this issue in your free time, thank you very much.