Open fazhang-master opened 1 year ago
Have you tried doing as suggested and running
pip install --use-pep517
On Sat, Sep 16, 2023 at 3:57 PM fage66639 @.***> wrote:
(autohic) C:\Users\Administrator>pip install hic-straw -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting hic-straw Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Preparing metadata (setup.py) ... done Collecting pybind11>=2.4 (from hic-straw) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/06/55/9f73c32dda93fa4f539fafa268f9504e83c489f460c380371d94296126cd/pybind11-2.11.1-py3-none-any.whl (227 kB) Building wheels for collected packages: hic-straw Building wheel for hic-straw (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdistwheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] I:\conda\envs\autohic\lib\site-packages\setuptoolsinit_.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!
******************************************************************************** Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try `pip install --use-pep517`. ********************************************************************************
!! dist.fetch_build_eggs(dist.setup_requires) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hic-straw Running setup.py clean for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
— Reply to this email directly, view it on GitHub https://github.com/aidenlab/straw/issues/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK2EW4BTRNVWBNGZTDKPCTX2WV5FANCNFSM6AAAAAA425CHQA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Neva Cherniavsky Durand, Ph.D. | she, her, hers Senior Scientist | Gene Regulation Observatory Broad Institute of MIT and Harvard
(autohic) C:\Users\Administrator>pip install --verbose hic-straw==1.3.1 --use-pep517 Using pip 23.2.1 from I:\conda\envs\autohic\lib\site-packages\pip (python 3.9) Looking in indexes: https://pypi.douban.com/simple/ Collecting hic-straw==1.3.1 Using cached https://pypi.doubanio.com/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Running command pip subprocess to install build dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting setuptools>=40.8.0 Using cached https://pypi.doubanio.com/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB) Collecting wheel Using cached https://pypi.doubanio.com/packages/61/86/cc8d1ff2ca31a312a25a708c891cf9facbad4eae493b3872638db6785eb5/wheel-0.40.0-py3-none-any.whl (64 kB) Installing collected packages: wheel, setuptools Successfully installed setuptools-68.0.0 wheel-0.40.0 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command pip subprocess to install backend dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting pybind11>=2.4 Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Installing collected packages: pybind11 Successfully installed pybind11-2.10.4 Installing backend dependencies ... done Running command Preparing metadata (pyproject.toml) running dist_info creating C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info writing C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\PKG-INFO writing dependency_links to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\dependency_links.txt writing requirements to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\requires.txt writing top-level names to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\top_level.txt writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt' reading manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt' creating 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw-1.3.1.dist-info' Preparing metadata (pyproject.toml) ... done Collecting pybind11>=2.4 (from hic-straw==1.3.1) Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Building wheels for collected packages: hic-straw Running command Building wheel for hic-straw (pyproject.toml) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 error: subprocess-exited-with-error
× Building wheel for hic-straw (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: 'I:\conda\envs\autohic\python.exe' 'I:\conda\envs\autohic\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py' build_wheel 'C:\Users\Administrator\AppData\Local\Temp\tmpo81ymztw' cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-791d60lq\hic-straw_dc45237ec34143368fcacff6feb26bb9 Building wheel for hic-straw (pyproject.toml) ... error ERROR: Failed building wheel for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
Please take a moment to review as I am still encountering errors.
Thank you.
FA ZHANG
fazhang | |
---|---|
@. | ---- Replied Message ---- | From | @.> | | Date | 9/16/2023 22:54 | | To | @.> | | Cc | @.> , @.***> | | Subject | Re: [aidenlab/straw] can't install hic-straw on win11 python3.9 (Issue #129) |
Have you tried doing as suggested and running
pip install --use-pep517
On Sat, Sep 16, 2023 at 3:57 PM fage66639 @.***> wrote:
(autohic) C:\Users\Administrator>pip install hic-straw -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting hic-straw Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Preparing metadata (setup.py) ... done Collecting pybind11>=2.4 (from hic-straw) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/06/55/9f73c32dda93fa4f539fafa268f9504e83c489f460c380371d94296126cd/pybind11-2.11.1-py3-none-any.whl (227 kB) Building wheels for collected packages: hic-straw Building wheel for hic-straw (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdistwheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] I:\conda\envs\autohic\lib\site-packages\setuptoolsinit_.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!
Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try
pip install --use-pep517
.
!! dist.fetch_build_eggs(dist.setup_requires) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hic-straw Running setup.py clean for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
— Reply to this email directly, view it on GitHub https://github.com/aidenlab/straw/issues/129, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK2EW4BTRNVWBNGZTDKPCTX2WV5FANCNFSM6AAAAAA425CHQA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Neva Cherniavsky Durand, Ph.D. | she, her, hers Senior Scientist | Gene Regulation Observatory Broad Institute of MIT and Harvard
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> (autohic) C:\Users\Administrator>pip install --verbose hic-straw==1.3.1 --use-pep517 Using pip 23.2.1 from I:\conda\envs\autohic\lib\site-packages\pip (python 3.9) Looking in indexes: https://pypi.douban.com/simple/ Collecting hic-straw==1.3.1 Using cached https://pypi.doubanio.com/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Running command pip subprocess to install build dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting setuptools>=40.8.0 Using cached https://pypi.doubanio.com/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB) Collecting wheel Using cached https://pypi.doubanio.com/packages/61/86/cc8d1ff2ca31a312a25a708c891cf9facbad4eae493b3872638db6785eb5/wheel-0.40.0-py3-none-any.whl (64 kB) Installing collected packages: wheel, setuptools Successfully installed setuptools-68.0.0 wheel-0.40.0 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command pip subprocess to install backend dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting pybind11>=2.4 Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Installing collected packages: pybind11 Successfully installed pybind11-2.10.4 Installing backend dependencies ... done Running command Preparing metadata (pyproject.toml) running dist_info creating C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info writing C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\PKG-INFO writing dependency_links to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\dependency_links.txt writing requirements to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\requires.txt writing top-level names to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\top_level.txt writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt' reading manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt' creating 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw-1.3.1.dist-info' Preparing metadata (pyproject.toml) ... done Collecting pybind11>=2.4 (from hic-straw==1.3.1) Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Building wheels for collected packages: hic-straw Running command Building wheel for hic-straw (pyproject.toml) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 error: subprocess-exited-with-error
× Building wheel for hic-straw (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: 'I:\conda\envs\autohic\python.exe' 'I:\conda\envs\autohic\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py' build_wheel 'C:\Users\Administrator\AppData\Local\Temp\tmpo81ymztw' cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-791d60lq\hic-straw_dc45237ec34143368fcacff6feb26bb9 Building wheel for hic-straw (pyproject.toml) ... error ERROR: Failed building wheel for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
You need to install curl
On Sat, Sep 16, 2023 at 5:17 PM fage66639 @.***> wrote:
Please take a moment to review as I am still encountering errors.
Thank you.
FA ZHANG
fazhang @. | ---- Replied Message ---- | From | @.> | | Date | 9/16/2023 22:54 | | To | @.> | | Cc | @.> , @.***> | | Subject | Re: [aidenlab/straw] can't install hic-straw on win11 python3.9 (Issue #129) |
Have you tried doing as suggested and running
pip install --use-pep517
On Sat, Sep 16, 2023 at 3:57 PM fage66639 @.***> wrote:
(autohic) C:\Users\Administrator>pip install hic-straw -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting hic-straw Using cached
https://pypi.tuna.tsinghua.edu.cn/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Preparing metadata (setup.py) ... done Collecting pybind11>=2.4 (from hic-straw) Using cached
https://pypi.tuna.tsinghua.edu.cn/packages/06/55/9f73c32dda93fa4f539fafa268f9504e83c489f460c380371d94296126cd/pybind11-2.11.1-py3-none-any.whl (227 kB) Building wheels for collected packages: hic-straw Building wheel for hic-straw (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdistwheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] I:\conda\envs\autohic\lib\site-packages\setuptoolsinit_.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!
Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try
pip install --use-pep517
.
!! dist.fetch_build_eggs(dist.setup_requires) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hic-straw Running setup.py clean for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
— Reply to this email directly, view it on GitHub https://github.com/aidenlab/straw/issues/129, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAK2EW4BTRNVWBNGZTDKPCTX2WV5FANCNFSM6AAAAAA425CHQA
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Neva Cherniavsky Durand, Ph.D. | she, her, hers Senior Scientist | Gene Regulation Observatory Broad Institute of MIT and Harvard
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> (autohic) C:\Users\Administrator>pip install --verbose hic-straw==1.3.1 --use-pep517 Using pip 23.2.1 from I:\conda\envs\autohic\lib\site-packages\pip (python 3.9) Looking in indexes: https://pypi.douban.com/simple/ Collecting hic-straw==1.3.1 Using cached https://pypi.doubanio.com/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Running command pip subprocess to install build dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting setuptools>=40.8.0 Using cached https://pypi.doubanio.com/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB) Collecting wheel Using cached https://pypi.doubanio.com/packages/61/86/cc8d1ff2ca31a312a25a708c891cf9facbad4eae493b3872638db6785eb5/wheel-0.40.0-py3-none-any.whl (64 kB) Installing collected packages: wheel, setuptools Successfully installed setuptools-68.0.0 wheel-0.40.0 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command pip subprocess to install backend dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting pybind11>=2.4 Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Installing collected packages: pybind11 Successfully installed pybind11-2.10.4 Installing backend dependencies ... done Running command Preparing metadata (pyproject.toml) running dist_info creating C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info
writing C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\PKG-INFO
writing dependency_links to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\dependency_links.txt
writing requirements to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\requires.txt
writing top-level names to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\top_level.txt
writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in' writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt'
creating 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw-1.3.1.dist-info'
Preparing metadata (pyproject.toml) ... done Collecting pybind11>=2.4 (from hic-straw==1.3.1) Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Building wheels for collected packages: hic-straw Running command Building wheel for hic-straw (pyproject.toml) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 error: subprocess-exited-with-error
× Building wheel for hic-straw (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: 'I:\conda\envs\autohic\python.exe' 'I:\conda\envs\autohic\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py' build_wheel 'C:\Users\Administrator\AppData\Local\Temp\tmpo81ymztw' cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-791d60lq\hic-straw_dc45237ec34143368fcacff6feb26bb9
Building wheel for hic-straw (pyproject.toml) ... error ERROR: Failed building wheel for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
— Reply to this email directly, view it on GitHub https://github.com/aidenlab/straw/issues/129#issuecomment-1722251583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK2EW6VGMJAZI2YHKMYMVTX2W7JJANCNFSM6AAAAAA425CHQA . You are receiving this because you commented.Message ID: @.***>
-- Neva Cherniavsky Durand, Ph.D. | she, her, hers Senior Scientist | Gene Regulation Observatory Broad Institute of MIT and Harvard
I have downloaded curl, but I am still experiencing issues.
Thank you.
FA ZHANG
fazhang | |
---|---|
@. | ---- Replied Message ---- | From | @.> | | Date | 9/16/2023 23:23 | | To | @.> | | Cc | @.> , @.***> | | Subject | Re: [aidenlab/straw] can't install hic-straw on win11 python3.9 (Issue #129) |
You need to install curl
On Sat, Sep 16, 2023 at 5:17 PM fage66639 @.***> wrote:
Please take a moment to review as I am still encountering errors.
Thank you.
FA ZHANG
fazhang @. | ---- Replied Message ---- | From | @.> | | Date | 9/16/2023 22:54 | | To | @.> | | Cc | @.> , @.***> | | Subject | Re: [aidenlab/straw] can't install hic-straw on win11 python3.9 (Issue #129) |
Have you tried doing as suggested and running
pip install --use-pep517
On Sat, Sep 16, 2023 at 3:57 PM fage66639 @.***> wrote:
(autohic) C:\Users\Administrator>pip install hic-straw -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting hic-straw Using cached
https://pypi.tuna.tsinghua.edu.cn/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Preparing metadata (setup.py) ... done Collecting pybind11>=2.4 (from hic-straw) Using cached
https://pypi.tuna.tsinghua.edu.cn/packages/06/55/9f73c32dda93fa4f539fafa268f9504e83c489f460c380371d94296126cd/pybind11-2.11.1-py3-none-any.whl (227 kB) Building wheels for collected packages: hic-straw Building wheel for hic-straw (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdistwheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] I:\conda\envs\autohic\lib\site-packages\setuptoolsinit_.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!
Requirements should be satisfied by a PEP 517 installer. If you are using pip, you can try
pip install --use-pep517
.
!! dist.fetch_build_eggs(dist.setup_requires) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -Ic:\users\administrator\appdata\local\temp\pip-install-0esd_50t\hic-straw_25cecc52233e4ddb94bfc9a631c3b6c7.eggs\pybind11-2.10.4-py3.9.egg\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 [end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hic-straw Running setup.py clean for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
— Reply to this email directly, view it on GitHub https://github.com/aidenlab/straw/issues/129, or unsubscribe < https://github.com/notifications/unsubscribe-auth/AAK2EW4BTRNVWBNGZTDKPCTX2WV5FANCNFSM6AAAAAA425CHQA
. You are receiving this because you are subscribed to this thread.Message ID: @.***>
-- Neva Cherniavsky Durand, Ph.D. | she, her, hers Senior Scientist | Gene Regulation Observatory Broad Institute of MIT and Harvard
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> (autohic) C:\Users\Administrator>pip install --verbose hic-straw==1.3.1 --use-pep517 Using pip 23.2.1 from I:\conda\envs\autohic\lib\site-packages\pip (python 3.9) Looking in indexes: https://pypi.douban.com/simple/ Collecting hic-straw==1.3.1 Using cached https://pypi.doubanio.com/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Running command pip subprocess to install build dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting setuptools>=40.8.0 Using cached https://pypi.doubanio.com/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB) Collecting wheel Using cached https://pypi.doubanio.com/packages/61/86/cc8d1ff2ca31a312a25a708c891cf9facbad4eae493b3872638db6785eb5/wheel-0.40.0-py3-none-any.whl (64 kB) Installing collected packages: wheel, setuptools Successfully installed setuptools-68.0.0 wheel-0.40.0 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command pip subprocess to install backend dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting pybind11>=2.4 Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Installing collected packages: pybind11 Successfully installed pybind11-2.10.4 Installing backend dependencies ... done Running command Preparing metadata (pyproject.toml) running dist_info creating C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info
writing C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\PKG-INFO
writing dependency_links to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\dependency_links.txt
writing requirements to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\requires.txt
writing top-level names to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\top_level.txt
writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt'
reading manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in' writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw.egg-info\SOURCES.txt'
creating 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-uw96mjct\hic_straw-1.3.1.dist-info'
Preparing metadata (pyproject.toml) ... done Collecting pybind11>=2.4 (from hic-straw==1.3.1) Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Building wheels for collected packages: hic-straw Running command Building wheel for hic-straw (pyproject.toml) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-_i4yf4ay\normal\Lib\site-packages\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 error: subprocess-exited-with-error
× Building wheel for hic-straw (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: 'I:\conda\envs\autohic\python.exe' 'I:\conda\envs\autohic\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py' build_wheel 'C:\Users\Administrator\AppData\Local\Temp\tmpo81ymztw' cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-791d60lq\hic-straw_dc45237ec34143368fcacff6feb26bb9
Building wheel for hic-straw (pyproject.toml) ... error ERROR: Failed building wheel for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
— Reply to this email directly, view it on GitHub https://github.com/aidenlab/straw/issues/129#issuecomment-1722251583, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAK2EW6VGMJAZI2YHKMYMVTX2W7JJANCNFSM6AAAAAA425CHQA . You are receiving this because you commented.Message ID: @.***>
-- Neva Cherniavsky Durand, Ph.D. | she, her, hers Senior Scientist | Gene Regulation Observatory Broad Institute of MIT and Harvard
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***> (autohic) C:\Users\Administrator>curl --version curl 8.3.0 (x86_64-pc-win32) libcurl/8.3.0 Schannel zlib/1.2.13 libssh2/1.11.0 Release-Date: 2023-09-13 Protocols: dict file ftp ftps gopher gophers http https imap imaps ldap ldaps mqtt pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp Features: alt-svc AsynchDNS HSTS HTTPS-proxy IPv6 Kerberos Largefile libz NTLM SPNEGO SSL SSPI threadsafe Unicode UnixSockets
(autohic) C:\Users\Administrator>pip install --verbose hic-straw==1.3.1 --use-pep517 Using pip 23.2.1 from I:\conda\envs\autohic\lib\site-packages\pip (python 3.9) Looking in indexes: https://pypi.douban.com/simple/ Collecting hic-straw==1.3.1 Downloading https://pypi.doubanio.com/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Running command pip subprocess to install build dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting setuptools>=40.8.0 Using cached https://pypi.doubanio.com/packages/c7/42/be1c7bbdd83e1bfb160c94b9cafd8e25efc7400346cf7ccdbdb452c467fa/setuptools-68.0.0-py3-none-any.whl (804 kB) Collecting wheel Using cached https://pypi.doubanio.com/packages/61/86/cc8d1ff2ca31a312a25a708c891cf9facbad4eae493b3872638db6785eb5/wheel-0.40.0-py3-none-any.whl (64 kB) Installing collected packages: wheel, setuptools Successfully installed setuptools-68.0.0 wheel-0.40.0 Installing build dependencies ... done Running command Getting requirements to build wheel Getting requirements to build wheel ... done Running command pip subprocess to install backend dependencies Looking in indexes: https://pypi.douban.com/simple/ Collecting pybind11>=2.4 Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Installing collected packages: pybind11 Successfully installed pybind11-2.10.4 Installing backend dependencies ... done Running command Preparing metadata (pyproject.toml) running dist_info creating C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info writing C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info\PKG-INFO writing dependency_links to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info\dependency_links.txt writing requirements to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info\requires.txt writing top-level names to C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info\top_level.txt writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info\SOURCES.txt' reading manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw.egg-info\SOURCES.txt' creating 'C:\Users\Administrator\AppData\Local\Temp\pip-modern-metadata-raou5dem\hic_straw-1.3.1.dist-info' Preparing metadata (pyproject.toml) ... done Collecting pybind11>=2.4 (from hic-straw==1.3.1) Using cached https://pypi.doubanio.com/packages/52/ed/68e989fdac8f352cb6d506fac111ba1e1b74c0ef3660fadeeeeb765bc03c/pybind11-2.10.4-py3-none-any.whl (222 kB) Building wheels for collected packages: hic-straw Running command Building wheel for hic-straw (pyproject.toml) running bdist_wheel running build running build_ext building 'hicstraw' extension creating build creating build\temp.win-amd64-cpython-39 creating build\temp.win-amd64-cpython-39\Release creating build\temp.win-amd64-cpython-39\Release\src "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-i2pc4y4x\normal\Lib\site-packages\pybind11\include -IC:\Users\Administrator\AppData\Local\Temp\pip-build-env-i2pc4y4x\normal\Lib\site-packages\pybind11\include -II:\conda\envs\autohic\include -II:\conda\envs\autohic\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-cpython-39\Release\src/straw.obj /EHsc /DVERSION_INFO=\\"1.3.1\\" straw.cpp src/straw.cpp(34): fatal error C1083: 无法打开包括文件: “curl/curl.h”: No such file or directory error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.37.32822\bin\HostX86\x64\cl.exe' failed with exit code 2 error: subprocess-exited-with-error
× Building wheel for hic-straw (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: 'I:\conda\envs\autohic\python.exe' 'I:\conda\envs\autohic\lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py' build_wheel 'C:\Users\Administrator\AppData\Local\Temp\tmpdq53m6mc' cwd: C:\Users\Administrator\AppData\Local\Temp\pip-install-e06tumpm\hic-straw_e82dc0544dc9415ab8d20f7d5df6bde2 Building wheel for hic-straw (pyproject.toml) ... error ERROR: Failed building wheel for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects
I am having the same problem on the bridges2 cluster on PSC
(autohic) C:\Users\Administrator>pip install hic-straw -i https://pypi.tuna.tsinghua.edu.cn/simple Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple Collecting hic-straw Using cached https://pypi.tuna.tsinghua.edu.cn/packages/8e/ec/431c76970f8973ea5937a9b5f2d1689a641b3fe6475246a32451274fa2dd/hic-straw-1.3.1.tar.gz (18 kB) Preparing metadata (setup.py) ... done Collecting pybind11>=2.4 (from hic-straw) Using cached https://pypi.tuna.tsinghua.edu.cn/packages/06/55/9f73c32dda93fa4f539fafa268f9504e83c489f460c380371d94296126cd/pybind11-2.11.1-py3-none-any.whl (227 kB) Building wheels for collected packages: hic-straw Building wheel for hic-straw (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [22 lines of output] I:\conda\envs\autohic\lib\site-packages\setuptools__init__.py:84: _DeprecatedInstaller: setuptools.installer and fetch_build_eggs are deprecated. !!
note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for hic-straw Running setup.py clean for hic-straw Failed to build hic-straw ERROR: Could not build wheels for hic-straw, which is required to install pyproject.toml-based projects