Open tony1747 opened 2 years ago
Can anybody explain what is going wrong here?
It looks to me that you might not have ailist installed. Try "pip install ailist". After that it is possible you will need to pip install cbseg, bcpseg, hmmcopy, intervalframe, and ngsfragments. It seems that sometimes pip won't find these packages on its own. I am currently working to find out why.
It looks to me that you might not have ailist installed. Try "pip install ailist". After that it is possible you will need to pip install cbseg, bcpseg, hmmcopy, intervalframe, and ngsfragments. It seems that sometimes pip won't find these packages on its own. I am currently working to find out why.
I tried to install ailist by "pip install ailist", but the installation still failed:
pip install ailist WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages) WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages) Collecting ailist Using cached ailist-1.0.4.tar.gz (805 kB) Preparing metadata (setup.py) ... done Requirement already satisfied: numpy in d:\python\lib\site-packages (from ailist) (1.18.2) Requirement already satisfied: pandas in d:\python\lib\site-packages (from ailist) (1.0.3) Requirement already satisfied: cython in d:\python\lib\site-packages (from ailist) (0.29.26) Requirement already satisfied: python-dateutil>=2.6.1 in d:\python\lib\site-packages (from pandas->ailist) (2.8.1) Requirement already satisfied: pytz>=2017.2 in d:\python\lib\site-packages (from pandas->ailist) (2019.3) Requirement already satisfied: six>=1.5 in d:\python\lib\site-packages (from python-dateutil>=2.6.1->pandas->ailist) (1.14.0) Building wheels for collected packages: ailist Building wheel for ailist (setup.py) ... error error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [116 lines of output] build configuration selected: optimized d:\python\lib\site-packages\setuptools\dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( d:\python\lib\site-packages\setuptools\dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running bdist_wheel running build running build_py creating build creating build\lib.win32-3.8 creating build\lib.win32-3.8\ailist copying ailist__init.py -> build\lib.win32-3.8\ailist running egg_info writing manifest file 'ailist.egg-info\SOURCES.txt' copying ailist\AIList_core.c -> build\lib.win32-3.8\ailist copying ailist\AIList_core.pxd -> build\lib.win32-3.8\ailist copying ailist\AIList_core.pyx -> build\lib.win32-3.8\ailist copying ailist\IntervalArray_core.c -> build\lib.win32-3.8\ailist copying ailist\IntervalArray_core.pxd -> build\lib.win32-3.8\ailist copying ailist\IntervalArray_core.pyx -> build\lib.win32-3.8\ailist copying ailist\Interval_core.c -> build\lib.win32-3.8\ailist copying ailist\Interval_core.pxd -> build\lib.win32-3.8\ailist copying ailist\Interval_core.pyx -> build\lib.win32-3.8\ailist copying ailist\LabeledIntervalArray_core.c -> build\lib.win32-3.8\ailist copying ailist\LabeledIntervalArray_core.pxd -> build\lib.win32-3.8\ailist copying ailist\LabeledIntervalArray_core.pyx -> build\lib.win32-3.8\ailist copying ailist\LabeledInterval_core.c -> build\lib.win32-3.8\ailist copying ailist\LabeledInterval_core.pxd -> build\lib.win32-3.8\ailist copying ailist\LabeledInterval_core.pyx -> build\lib.win32-3.8\ailist copying ailist\array_query_core.c -> build\lib.win32-3.8\ailist copying ailist\array_query_core.pxd -> build\lib.win32-3.8\ailist copying ailist\array_query_core.pyx -> build\lib.win32-3.8\ailist creating build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_add.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_construct.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_coverage.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_extract.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_filter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_merge.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_nhits.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_ops.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_query.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_wps.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_add.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_construct.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_coverage.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_extract.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_filter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_iter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_merge.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_nhits.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_ops.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_query.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_wps.c -> build\lib.win32-3.8\ailist\src copying ailist\src\array_query_utilities.c -> build\lib.win32-3.8\ailist\src copying ailist\src\array_query_utilities.h -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_array.c -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_array.h -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_list.c -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_list.h -> build\lib.win32-3.8\ailist\src copying ailist\src\interval.c -> build\lib.win32-3.8\ailist\src copying ailist\src\interval.h -> build\lib.win32-3.8\ailist\src copying ailist\src\khash.h -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_add.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_construct.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_coverage.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_extract.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_filter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_get.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_has_hit.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_iter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_match.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_merge.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_nhits.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_query.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_wps.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_augmented_array.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_augmented_array.h -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_interval.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_interval.h -> build\lib.win32-3.8\ailist\src copying ailist\src\overlap_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\overlap_label_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\utilities.h -> build\lib.win32-3.8\ailist\src running build_ext creating build\temp.win32-3.8 creating build\temp.win32-3.8\Release creating build\temp.win32-3.8\Release\ailist "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iailist -I. -Id:\python\lib\site-packages\numpy\core\include -Id:\python\include -Id:\python\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\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\shared" "-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\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcailist\Interval_core.c /Fobuild\temp.win32-3.8\Release\ailist\Interval_core.obj -O2 Interval_core.c d:\python\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:d:\python\libs /LIBPATH:d:\python /LIBPATH:d:\python\PCbuild\win32 "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\lib\x86" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\lib\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86" /EXPORT:PyInit_Interval_core build\temp.win32-3.8\Release\ailist\Interval_core.obj /OUT:build\lib.win32-3.8\ailist\Interval_core.cp38-win32.pyd /IMPLIB:build\temp.win32-3.8\Release\ailist\Interval_core.cp38-win32.lib Creating library build\temp.win32-3.8\Release\ailist\Interval_core.cp38-win32.lib and object build\temp.win32-3.8\Release\ailist\Interval_core.cp38-win32.exp Generating code Finished generating code "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iailist -I.\ailist -I. -Id:\python\lib\site-packages\numpy\core\include -Id:\python\include -Id:\python\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\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\shared" "-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\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcailist\AIList_core.c /Fobuild\temp.win32-3.8\Release\ailist\AIList_core.obj -O2 AIList_core.c d:\python\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/augmented_interval_list.c(22): warning C4244: 'function': conversion from 'int64_t' to 'size_t', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_add.c(24): warning C4013: 'typeof__' undefined; assuming extern returning int C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_add.c(24): warning C4047: '=': 'interval_t *' differs in levels of indirection from 'int' C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_add.c(24): error C2146: syntax error: missing ')' before identifier 'realloc' C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_construct.c(25): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_iter.c(23): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_coverage.c(68): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_coverage.c(97): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(17): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(30): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(47): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(72): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_filter.c(40): warning C4244: 'function': conversion from 'time_t' to 'unsigned int', possible loss of data ailist\AIList_core.c(3660): warning C4244: 'function': conversion from 'int64_t' to 'Py_ssize_t', possible loss of data ailist\AIList_core.c(7217): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\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 ailist Running setup.py clean for ailist Failed to build ailist WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages) Installing collected packages: ailist Running setup.py install for ailist ... error error: subprocess-exited-with-error
× Running setup.py install for ailist did not run successfully. │ exit code: 1 ╰─> [118 lines of output] build configuration selected: optimized d:\python\lib\site-packages\setuptools\dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( d:\python\lib\site-packages\setuptools\dist.py:723: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead warnings.warn( running install d:\python\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build\lib.win32-3.8 creating build\lib.win32-3.8\ailist copying ailist__init.py -> build\lib.win32-3.8\ailist running egg_info writing manifest file 'ailist.egg-info\SOURCES.txt' copying ailist\AIList_core.c -> build\lib.win32-3.8\ailist copying ailist\AIList_core.pxd -> build\lib.win32-3.8\ailist copying ailist\AIList_core.pyx -> build\lib.win32-3.8\ailist copying ailist\IntervalArray_core.c -> build\lib.win32-3.8\ailist copying ailist\IntervalArray_core.pxd -> build\lib.win32-3.8\ailist copying ailist\IntervalArray_core.pyx -> build\lib.win32-3.8\ailist copying ailist\Interval_core.c -> build\lib.win32-3.8\ailist copying ailist\Interval_core.pxd -> build\lib.win32-3.8\ailist copying ailist\Interval_core.pyx -> build\lib.win32-3.8\ailist copying ailist\LabeledIntervalArray_core.c -> build\lib.win32-3.8\ailist copying ailist\LabeledIntervalArray_core.pxd -> build\lib.win32-3.8\ailist copying ailist\LabeledIntervalArray_core.pyx -> build\lib.win32-3.8\ailist copying ailist\LabeledInterval_core.c -> build\lib.win32-3.8\ailist copying ailist\LabeledInterval_core.pxd -> build\lib.win32-3.8\ailist copying ailist\LabeledInterval_core.pyx -> build\lib.win32-3.8\ailist copying ailist\array_query_core.c -> build\lib.win32-3.8\ailist copying ailist\array_query_core.pxd -> build\lib.win32-3.8\ailist copying ailist\array_query_core.pyx -> build\lib.win32-3.8\ailist creating build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_add.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_construct.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_coverage.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_extract.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_filter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_merge.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_nhits.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_ops.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_query.c -> build\lib.win32-3.8\ailist\src copying ailist\src\aiarray_wps.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_add.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_construct.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_coverage.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_extract.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_filter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_iter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_merge.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_nhits.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_ops.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_query.c -> build\lib.win32-3.8\ailist\src copying ailist\src\ailist_wps.c -> build\lib.win32-3.8\ailist\src copying ailist\src\array_query_utilities.c -> build\lib.win32-3.8\ailist\src copying ailist\src\array_query_utilities.h -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_array.c -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_array.h -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_list.c -> build\lib.win32-3.8\ailist\src copying ailist\src\augmented_interval_list.h -> build\lib.win32-3.8\ailist\src copying ailist\src\interval.c -> build\lib.win32-3.8\ailist\src copying ailist\src\interval.h -> build\lib.win32-3.8\ailist\src copying ailist\src\khash.h -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_add.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_construct.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_coverage.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_extract.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_filter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_get.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_has_hit.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_iter.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_match.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_merge.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_nhits.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_query.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_aiarray_wps.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_augmented_array.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_augmented_array.h -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_interval.c -> build\lib.win32-3.8\ailist\src copying ailist\src\labeled_interval.h -> build\lib.win32-3.8\ailist\src copying ailist\src\overlap_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\overlap_label_index.c -> build\lib.win32-3.8\ailist\src copying ailist\src\utilities.h -> build\lib.win32-3.8\ailist\src running build_ext creating build\temp.win32-3.8 creating build\temp.win32-3.8\Release creating build\temp.win32-3.8\Release\ailist "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iailist -I. -Id:\python\lib\site-packages\numpy\core\include -Id:\python\include -Id:\python\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\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\shared" "-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\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcailist\Interval_core.c /Fobuild\temp.win32-3.8\Release\ailist\Interval_core.obj -O2 Interval_core.c d:\python\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:d:\python\libs /LIBPATH:d:\python /LIBPATH:d:\python\PCbuild\win32 "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\lib\x86" "/LIBPATH:C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\lib\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x86" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x86" /EXPORT:PyInit_Interval_core build\temp.win32-3.8\Release\ailist\Interval_core.obj /OUT:build\lib.win32-3.8\ailist\Interval_core.cp38-win32.pyd /IMPLIB:build\temp.win32-3.8\Release\ailist\Interval_core.cp38-win32.lib Creating library build\temp.win32-3.8\Release\ailist\Interval_core.cp38-win32.lib and object build\temp.win32-3.8\Release\ailist\Interval_core.cp38-win32.exp Generating code Finished generating code "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Iailist -I.\ailist -I. -Id:\python\lib\site-packages\numpy\core\include -Id:\python\include -Id:\python\Include "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\ATLMFC\include" "-IC:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\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\shared" "-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\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /Tcailist\AIList_core.c /Fobuild\temp.win32-3.8\Release\ailist\AIList_core.obj -O2 AIList_core.c d:\python\lib\site-packages\numpy\core\include\numpy\npy_1_7_deprecated_api.h(14) : Warning Msg: Using deprecated NumPy API, disable it with #define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/augmented_interval_list.c(22): warning C4244: 'function': conversion from 'int64_t' to 'size_t', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_add.c(24): warning C4013: 'typeof__' undefined; assuming extern returning int C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_add.c(24): warning C4047: '=': 'interval_t *' differs in levels of indirection from 'int' C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_add.c(24): error C2146: syntax error: missing ')' before identifier 'realloc' C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_construct.c(25): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_iter.c(23): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_coverage.c(68): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_coverage.c(97): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(17): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(30): warning C4244: '=': conversion from 'int64_t' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(47): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_nhits.c(72): warning C4244: 'initializing': conversion from 'double' to 'int', possible loss of data C:\Users\lirun\AppData\Local\Temp\pip-install-az1rv6qq\ailist_53faf1e1e93f4413b092f24abcc4e09d\ailist\src/ailist_filter.c(40): warning C4244: 'function': conversion from 'time_t' to 'unsigned int', possible loss of data ailist\AIList_core.c(3660): warning C4244: 'function': conversion from 'int64_t' to 'Py_ssize_t', possible loss of data ailist\AIList_core.c(7217): warning C4244: 'function': conversion from 'int64_t' to 'int', possible loss of data error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.30.30705\bin\HostX86\x86\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: legacy-install-failure
× Encountered error while trying to install package. ╰─> ailist
note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure. WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages) WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages)
I have the following error messages from running the command "pip install -r requirements.txt'.
D:\cfdna-main\cfdna-main>pip install -r requirements.txt WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages) WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages) Requirement already satisfied: numpy>=1.0.0 in d:\python\lib\site-packages (from -r requirements.txt (line 1)) (1.18.2) Requirement already satisfied: pandas>=1.0.0 in d:\python\lib\site-packages (from -r requirements.txt (line 2)) (1.0.3) Requirement already satisfied: cython>=0.29.0 in d:\python\lib\site-packages (from -r requirements.txt (line 3)) (0.29.26) Requirement already satisfied: pytest>=5.4.0 in d:\python\lib\site-packages (from -r requirements.txt (line 4)) (6.2.5) Collecting ngsfragments>=1.0.0 Using cached ngsfragments-1.0.8.tar.gz (52.3 MB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully. │ exit code: 1 ╰─> [6 lines of output] Traceback (most recent call last): File "", line 2, in
File "", line 34, in
File "C:\Users\lirun\AppData\Local\Temp\pip-install-esbxa8kc\ngsfragments_0fc79bbdf9774a2fa1d3f0f75ac8b16c\setup.py", line 3, in
import ailist
ModuleNotFoundError: No module named 'ailist'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details. WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages) WARNING: Ignoring invalid distribution -ip (d:\python\lib\site-packages)