-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hawkeslib installation error #17
Comments
Hello @KattyKhromenko , thanks for raising this issue. Looks like you're running Windows but this line does not seem to be kicking in. Maybe can you comment out these portions and force it to run the portion for windows? Also, can you also please run:
and paste the result? In any case, I don't actively maintain this library unfortunately. Among other alternatives I could cite |
I have a similar issue when installing the library.
|
I also tried |
Hi, @canerturkmen!
I have encountered with the error trying to install hawkeslib. Could you, please, give a clue how to solve it? Thanks in advance!
The error is below:
Running setup.py install for hawkeslib ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\user\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-8ev3_4tx\hawkeslib_8961f264785c46b28d1a7f8704525c8e\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-8ev3_4tx\hawkeslib_8961f264785c46b28d1a7f8704525c8e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\User\AppData\Local\Temp\pip-record-nh9xizz0\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\user\appdata\local\programs\python\python38\Include\hawkeslib'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-8ev3_4tx\hawkeslib_8961f264785c46b28d1a7f8704525c8e
Complete output (38 lines):
running install
running build
running build_py
creating build
creating build\lib.win-amd64-3.8
creating build\lib.win-amd64-3.8\hawkeslib
copying hawkeslib_init_.py -> build\lib.win-amd64-3.8\hawkeslib
creating build\lib.win-amd64-3.8\hawkeslib\model
copying hawkeslib\model\model.py -> build\lib.win-amd64-3.8\hawkeslib\model
copying hawkeslib\model\mv_exp.py -> build\lib.win-amd64-3.8\hawkeslib\model
copying hawkeslib\model\poisson.py -> build\lib.win-amd64-3.8\hawkeslib\model
copying hawkeslib\model\uv_bayes.py -> build\lib.win-amd64-3.8\hawkeslib\model
copying hawkeslib\model\uv_exp.py -> build\lib.win-amd64-3.8\hawkeslib\model
copying hawkeslib\model_init_.py -> build\lib.win-amd64-3.8\hawkeslib\model
creating build\lib.win-amd64-3.8\hawkeslib\model\c
copying hawkeslib\model\c_init_.py -> build\lib.win-amd64-3.8\hawkeslib\model\c
creating build\lib.win-amd64-3.8\hawkeslib\util
copying hawkeslib\util\multitrace.py -> build\lib.win-amd64-3.8\hawkeslib\util
copying hawkeslib\util_init_.py -> build\lib.win-amd64-3.8\hawkeslib\util
running build_ext
building 'hawkeslib.model.c.c_uv_exp' extension
creating build\temp.win-amd64-3.8
creating build\temp.win-amd64-3.8\Release
creating build\temp.win-amd64-3.8\Release\hawkeslib
creating build\temp.win-amd64-3.8\Release\hawkeslib\model
creating build\temp.win-amd64-3.8\Release\hawkeslib\model\c
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ic:\users\user\appdata\local\programs\python\python38\lib\site-packages\numpy\core\include -Ic:\users\user\appdata\local\programs\python\python38\include -Ic:\users\user\appdata\local\programs\python\python38\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-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" /EHsc /Tphawkeslib/model/c/c_uv_exp.cpp /Fobuild\temp.win-amd64-3.8\Release\hawkeslib/model/c/c_uv_exp.obj -O3 -march=native
cl: Є®¬ ¤ п бва®Є warning D9002: Їа®ЇгбЄ ҐЁ§ўҐбв®Ј® Ї а ¬Ґва "-O3"
cl: Є®¬ ¤ п бва®Є warning D9002: Їа®ЇгбЄ ҐЁ§ўҐбв®Ј® Ї а ¬Ґва "-march=native"
c_uv_exp.cpp
c:\users\user\appdata\local\programs\python\python38\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
hawkeslib/model/c/c_uv_exp.cpp(2229): warning C4244: =: ЇаҐ®Ўа §®ў ЁҐ "npy_intp" ў "int", ў®§¬®¦ Ї®вҐап ¤ ле
hawkeslib/model/c/c_uv_exp.cpp(2551): warning C4244: =: ЇаҐ®Ўа §®ў ЁҐ "npy_intp" ў "int", ў®§¬®¦ Ї®вҐап ¤ ле
hawkeslib/model/c/c_uv_exp.cpp(2976): warning C4244: =: ЇаҐ®Ўа §®ў ЁҐ "Py_ssize_t" ў "int", ў®§¬®¦ Ї®вҐап ¤ ле
hawkeslib/model/c/c_uv_exp.cpp(5039): warning C4244: =: ЇаҐ®Ўа §®ў ЁҐ "Py_ssize_t" ў "int", ў®§¬®¦ Ї®вҐап ¤ ле
C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\link.exe /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:c:\users\user\appdata\local\programs\python\python38\libs /LIBPATH:c:\users\user\appdata\local\programs\python\python38\PCbuild\amd64 "/LIBPATH:C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" m.lib /EXPORT:PyInit_c_uv_exp build\temp.win-amd64-3.8\Release\hawkeslib/model/c/c_uv_exp.obj /OUT:build\lib.win-amd64-3.8\hawkeslib\model\c\c_uv_exp.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-3.8\Release\hawkeslib/model/c\c_uv_exp.cp38-win_amd64.lib
LINK : fatal error LNK1181: Ґ г¤ Ґвбп ®вЄалвм ўе®¤®© д ©« "m.lib"
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29910\bin\HostX86\x64\link.exe' failed with exit status 1181
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\user\appdata\local\programs\python\python38\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-8ev3_4tx\hawkeslib_8961f264785c46b28d1a7f8704525c8e\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-8ev3_4tx\hawkeslib_8961f264785c46b28d1a7f8704525c8e\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\User\AppData\Local\Temp\pip-record-nh9xizz0\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\user\appdata\local\programs\python\python38\Include\hawkeslib' Check the logs for full command output.
The text was updated successfully, but these errors were encountered: