Closed mozesjacobs closed 2 years ago
Does it work if you also include curl in the environment? https://anaconda.org/conda-forge/curl
That fixed it!
Thank you!
I tried install curl via conda, but it still not works for me, maybe I need to configure some path env on my own system.
(plus) C:\Users\Liu.D.H>conda install -c conda-forge curl
Collecting package metadata (current_repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 4.12.0
latest version: 4.13.0
Please update conda by running
$ conda update -n base -c defaults conda
## Package Plan ##
environment location: D:\apps\anaconda3\envs\plus
added / updated specs:
- curl
The following packages will be downloaded:
package | build
---------------------------|-----------------
ca-certificates-2022.6.15 | h5b45459_0 188 KB conda-forge
curl-7.83.1 | h789b8ee_0 134 KB conda-forge
krb5-1.19.3 | hc8ab02b_0 852 KB conda-forge
libcurl-7.83.1 | h789b8ee_0 303 KB conda-forge
libssh2-1.10.0 | h9a1e1f7_3 228 KB conda-forge
libzlib-1.2.12 | h8ffe710_2 68 KB conda-forge
openssl-3.0.5 | h8ffe710_1 7.6 MB conda-forge
------------------------------------------------------------
Total: 9.3 MB
The following NEW packages will be INSTALLED:
ca-certificates conda-forge/win-64::ca-certificates-2022.6.15-h5b45459_0
curl conda-forge/win-64::curl-7.83.1-h789b8ee_0
krb5 conda-forge/win-64::krb5-1.19.3-hc8ab02b_0
libcurl conda-forge/win-64::libcurl-7.83.1-h789b8ee_0
libssh2 conda-forge/win-64::libssh2-1.10.0-h9a1e1f7_3
libzlib conda-forge/win-64::libzlib-1.2.12-h8ffe710_2
openssl conda-forge/win-64::openssl-3.0.5-h8ffe710_1
Proceed ([y]/n)?
Downloading and Extracting Packages
ca-certificates-2022 | 188 KB | ############################################################################ | 100%
libssh2-1.10.0 | 228 KB | ############################################################################ | 100%
libzlib-1.2.12 | 68 KB | ############################################################################ | 100%
curl-7.83.1 | 134 KB | ############################################################################ | 100%
openssl-3.0.5 | 7.6 MB | ############################################################################ | 100%
libcurl-7.83.1 | 303 KB | ############################################################################ | 100%
krb5-1.19.3 | 852 KB | ############################################################################ | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
(plus) C:\Users\Liu.D.H>python -m pip install hic-straw
Collecting hic-straw
Using cached hic-straw-1.3.1.tar.gz (18 kB)
Requirement already satisfied: pybind11>=2.4 in d:\apps\anaconda3\envs\plus\lib\site-packages (from hic-straw) (2.10.0)
Building wheels for collected packages: hic-straw
Building wheel for hic-straw (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\apps\anaconda3\envs\plus\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-bef4uj2w\\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\\setup.py'"'"'; __file__='"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-bef4uj2w\\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\LIUD~1.H\AppData\Local\Temp\pip-wheel-shc7hxpc'
cwd: C:\Users\LIUD~1.H\AppData\Local\Temp\pip-install-bef4uj2w\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\
Complete output (12 lines):
running bdist_wheel
running build
running build_ext
building 'hicstraw' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\src
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\include -ID:\apps\anaconda3\envs\plus\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-3.6\Release\src/straw.obj /EHsc /DVERSION_INFO=\"1.3.1\"
straw.cpp
src/straw.cpp(34): fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for hic-straw
Running setup.py clean for hic-straw
Failed to build hic-straw
Installing collected packages: hic-straw
Running setup.py install for hic-straw ... error
ERROR: Command errored out with exit status 1:
command: 'D:\apps\anaconda3\envs\plus\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-bef4uj2w\\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\\setup.py'"'"'; __file__='"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-bef4uj2w\\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\LIUD~1.H\AppData\Local\Temp\pip-record-_rq3j1ds\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\apps\anaconda3\envs\plus\Include\hic-straw'
cwd: C:\Users\LIUD~1.H\AppData\Local\Temp\pip-install-bef4uj2w\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\
Complete output (12 lines):
running install
running build
running build_ext
building 'hicstraw' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\src
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\include -ID:\apps\anaconda3\envs\plus\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-3.6\Release\src/straw.obj /EHsc /DVERSION_INFO=\"1.3.1\"
straw.cpp
src/straw.cpp(34): fatal error C1083: Cannot open include file: 'curl/curl.h': No such file or directory
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'D:\apps\anaconda3\envs\plus\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-bef4uj2w\\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\\setup.py'"'"'; __file__='"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-bef4uj2w\\hic-straw_7b31c426ea0c418aa67ea3e5b4ac23b3\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\LIUD~1.H\AppData\Local\Temp\pip-record-_rq3j1ds\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\apps\anaconda3\envs\plus\Include\hic-straw' Check the logs for full command output.
(plus) C:\Users\Liu.D.H>
If I set INCLUDE
env via set INCLUDE=%INCLUDE%;D:\apps\anaconda3\Library\include
, this error disappeared, but it failed with other errors.
(plus) C:\Users\Liu.D.H>set INCLUDE=%INCLUDE%;D:\apps\anaconda3\Library\include
(plus) C:\Users\Liu.D.H>python -m pip install hic-straw
Collecting hic-straw
Using cached hic-straw-1.3.1.tar.gz (18 kB)
Requirement already satisfied: pybind11>=2.4 in d:\apps\anaconda3\envs\plus\lib\site-packages (from hic-straw) (2.10.0)
Building wheels for collected packages: hic-straw
Building wheel for hic-straw (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'D:\apps\anaconda3\envs\plus\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-v98k59i4\\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\\setup.py'"'"'; __file__='"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-v98k59i4\\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\LIUD~1.H\AppData\Local\Temp\pip-wheel-_y63_5wj'
cwd: C:\Users\LIUD~1.H\AppData\Local\Temp\pip-install-v98k59i4\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\
Complete output (35 lines):
running bdist_wheel
running build
running build_ext
building 'hicstraw' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\src
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\include -ID:\apps\anaconda3\envs\plus\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -I%INCLUDE% -ID:\apps\anaconda3\Library\include /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-3.6\Release\src/straw.obj /EHsc /DVERSION_INFO=\"1.3.1\"
straw.cpp
C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-v98k59i4\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\src\straw.h(74): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
src/straw.cpp(338): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
src/straw.cpp(340): warning C4267: '=': conversion from 'size_t' to 'int32_t', possible loss of data
src/straw.cpp(1023): warning C4244: 'return': conversion from 'uint64_t' to 'long', possible loss of data
src/straw.cpp(1286): warning C4244: 'argument': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1396): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1397): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1398): error C2131: expression did not evaluate to a constant
src/straw.cpp(1398): note: failure was caused by a read of a variable outside its lifetime
src/straw.cpp(1398): note: see usage of 'numRows'
src/straw.cpp(1398): error C2131: expression did not evaluate to a constant
src/straw.cpp(1398): note: failure was caused by a read of a variable outside its lifetime
src/straw.cpp(1398): note: see usage of 'numCols'
src/straw.cpp(1401): error C3863: array type 'float [numRows][numCols]' is not assignable
src/straw.cpp(1407): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1408): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1410): error C3863: array type 'float [numRows][numCols]' is not assignable
src/straw.cpp(1413): warning C4244: '=': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1414): warning C4244: '=': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1416): error C3863: array type 'float [numRows][numCols]' is not assignable
src/straw.cpp(1526): error C2131: expression did not evaluate to a constant
src/straw.cpp(1526): note: failure was caused by a read of a variable outside its lifetime
src/straw.cpp(1526): note: see usage of 'this'
src/straw.cpp(1530): error C3863: array type 'chromosome ['function']' is not assignable
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for hic-straw
Running setup.py clean for hic-straw
Failed to build hic-straw
Installing collected packages: hic-straw
Running setup.py install for hic-straw ... error
ERROR: Command errored out with exit status 1:
command: 'D:\apps\anaconda3\envs\plus\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-v98k59i4\\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\\setup.py'"'"'; __file__='"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-v98k59i4\\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\LIUD~1.H\AppData\Local\Temp\pip-record-2o7hupvq\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\apps\anaconda3\envs\plus\Include\hic-straw'
cwd: C:\Users\LIUD~1.H\AppData\Local\Temp\pip-install-v98k59i4\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\
Complete output (35 lines):
running install
running build
running build_ext
building 'hicstraw' extension
creating build
creating build\temp.win-amd64-3.6
creating build\temp.win-amd64-3.6\Release
creating build\temp.win-amd64-3.6\Release\src
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\lib\site-packages\pybind11\include -ID:\apps\anaconda3\envs\plus\include -ID:\apps\anaconda3\envs\plus\include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.33.31629\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\um" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\shared" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\winrt" "-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.19041.0\\cppwinrt" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" -I%INCLUDE% -ID:\apps\anaconda3\Library\include /EHsc /Tpsrc/straw.cpp /Fobuild\temp.win-amd64-3.6\Release\src/straw.obj /EHsc /DVERSION_INFO=\"1.3.1\"
straw.cpp
C:\Users\Liu.D.H\AppData\Local\Temp\pip-install-v98k59i4\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\src\straw.h(74): warning C4244: 'argument': conversion from '__int64' to 'int', possible loss of data
src/straw.cpp(338): warning C4267: 'initializing': conversion from 'size_t' to 'int32_t', possible loss of data
src/straw.cpp(340): warning C4267: '=': conversion from 'size_t' to 'int32_t', possible loss of data
src/straw.cpp(1023): warning C4244: 'return': conversion from 'uint64_t' to 'long', possible loss of data
src/straw.cpp(1286): warning C4244: 'argument': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1396): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1397): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1398): error C2131: expression did not evaluate to a constant
src/straw.cpp(1398): note: failure was caused by a read of a variable outside its lifetime
src/straw.cpp(1398): note: see usage of 'numRows'
src/straw.cpp(1398): error C2131: expression did not evaluate to a constant
src/straw.cpp(1398): note: failure was caused by a read of a variable outside its lifetime
src/straw.cpp(1398): note: see usage of 'numCols'
src/straw.cpp(1401): error C3863: array type 'float [numRows][numCols]' is not assignable
src/straw.cpp(1407): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1408): warning C4244: 'initializing': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1410): error C3863: array type 'float [numRows][numCols]' is not assignable
src/straw.cpp(1413): warning C4244: '=': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1414): warning C4244: '=': conversion from 'int64_t' to 'int32_t', possible loss of data
src/straw.cpp(1416): error C3863: array type 'float [numRows][numCols]' is not assignable
src/straw.cpp(1526): error C2131: expression did not evaluate to a constant
src/straw.cpp(1526): note: failure was caused by a read of a variable outside its lifetime
src/straw.cpp(1526): note: see usage of 'this'
src/straw.cpp(1530): error C3863: array type 'chromosome ['function']' is not assignable
error: command 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Command errored out with exit status 1: 'D:\apps\anaconda3\envs\plus\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-v98k59i4\\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\\setup.py'"'"'; __file__='"'"'C:\\Users\\LIUD~1.H\\AppData\\Local\\Temp\\pip-install-v98k59i4\\hic-straw_1f7c176d69e440a5a81ff01798d0d6ac\\setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\LIUD~1.H\AppData\Local\Temp\pip-record-2o7hupvq\install-record.txt' --single-version-externally-managed --compile --install-headers 'D:\apps\anaconda3\envs\plus\Include\hic-straw' Check the logs for full command output.
(plus) C:\Users\Liu.D.H>
I have the same question. Has it been resolved?
Describe the bug When I try to install the package using a conda environment, it doesn't seem to work. I get an error related to curl/curl.h. It has something to do with the c package, I think.
To Reproduce Steps to reproduce the behavior:
Using environment.yml file
Expected behavior The installation fails with this error:
src/straw.cpp:34:10: fatal error: curl/curl.h: No such file or directory 34 | #include <curl/curl.h> | ^
~~~~ compilation terminated. error: command '/net/noble/vol1/home/mozesj/anaconda3/envs/protocol/bin/x86_64-conda-linux-gnu-cc' failed with exit code 1 [end of output]Desktop (please complete the following information):
Additional context When I remove the line that installs hic-straw line from the environment.yml file, the installation of the environment works, so something is happening when I make the environment include the environment.yml file.