You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was unable to install the lib on Windows 10 x64, either with or without the Cython flag.
Here's the full setup log:
running install
running bdist_egg
running egg_info
writing lsh.egg-info\PKG-INFO
writing dependency_links to lsh.egg-info\dependency_links.txt
writing requirements to lsh.egg-info\requires.txt
writing top-level names to lsh.egg-info\top_level.txt
reading manifest file 'lsh.egg-info\SOURCES.txt'
writing manifest file 'lsh.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
building 'lsh.cMinhash' extension
C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilsh -Ic:\_PROG_\WPy64-3720\python-3.7.2.amd64\lib\site-packages\numpy\core\include -Ic:\_PROG_\WPy64-3720\python-3.7.2.amd64\include -Ic:\_PROG_\WPy64-3720\python-3.7.2.amd64\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Tools\MSVC\14.20.27508\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\cppwinrt" /EHsc /Tplsh/cMinhash.cpp /Fobuild\temp.win-amd64-3.7\Release\lsh/cMinhash.obj
cMinhash.cpp
lsh/cMinhash.cpp(2153): warning C4244: =: converting "Py_ssize_t" to "uint32_t", data loss possible
lsh/cMinhash.cpp(2271): warning C4018: <: signed and unsigned types do not correspond
lsh/cMinhash.cpp(2554): warning C4244: =: converting "Py_ssize_t" to "uint32_t", data loss possible
lsh/cMinhash.cpp(2672): warning C4018: <: signed and unsigned types do not correspond
lsh/cMinhash.cpp(2957): error C2065: NPY_C_CONTIGUOUS: undeclared indentifier
lsh/cMinhash.cpp(3013): error C2065: NPY_F_CONTIGUOUS: undeclared indentifier
lsh/cMinhash.cpp(3198): error C2039: descr: is not a member of "tagPyArrayObject"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\lib\site-packages\numpy\core\include\numpy\ndarraytypes.h(722): note: see declaration "tagPyArrayObject"
lsh/cMinhash.cpp(4835): error C2039: base: is not a member of "tagPyArrayObject"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\lib\site-packages\numpy\core\include\numpy\ndarraytypes.h(722): note: see declaration "tagPyArrayObject"
lsh/cMinhash.cpp(4844): error C2039: base: is not a member of "tagPyArrayObject"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\lib\site-packages\numpy\core\include\numpy\ndarraytypes.h(722): note: see declaration "tagPyArrayObject"
lsh/cMinhash.cpp(4879): error C2039: base: is not a member of "tagPyArrayObject"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\lib\site-packages\numpy\core\include\numpy\ndarraytypes.h(722): note: see declaration "tagPyArrayObject"
lsh/cMinhash.cpp(4910): error C2039: base: is not a member of "tagPyArrayObject"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\lib\site-packages\numpy\core\include\numpy\ndarraytypes.h(722): note: see declaration "tagPyArrayObject"
lsh/cMinhash.cpp(4911): error C2039: base: is not a member of "tagPyArrayObject"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\lib\site-packages\numpy\core\include\numpy\ndarraytypes.h(722): note: see declaration "tagPyArrayObject"
lsh/cMinhash.cpp(19294): error C2039: exc_type: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19295): error C2039: exc_value: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19296): error C2039: exc_traceback: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19303): error C2039: exc_type: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19304): error C2039: exc_value: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19305): error C2039: exc_traceback: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19306): error C2039: exc_type: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19307): error C2039: exc_value: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19308): error C2039: exc_traceback: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19363): error C2039: exc_type: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19364): error C2039: exc_value: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19365): error C2039: exc_traceback: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19366): error C2039: exc_type: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19367): error C2039: exc_value: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19368): error C2039: exc_traceback: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19390): error C2039: exc_type: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19391): error C2039: exc_value: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19392): error C2039: exc_traceback: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19393): error C2039: exc_type: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19394): error C2039: exc_value: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
lsh/cMinhash.cpp(19395): error C2039: exc_traceback: is not a member of "_ts"
c:\_PROG_\WPy64-3720\python-3.7.2.amd64\include\pystate.h(212): note: see declaration "_ts"
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Professional\\VC\\Tools\\MSVC\\14.20.27508\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
The text was updated successfully, but these errors were encountered:
I, too, am confused a little bit by the cython flag. On all the systems I've installed this on the build process always seems to recompile, which makes the GCC version or numpy or cython version really critical to success.
Have you tried installing specific versions of Numpy/Cython like?:
numpy==1.14.3
cython==0.28.2
I was unable to install the lib on Windows 10 x64, either with or without the Cython flag.
Here's the full setup log:
The text was updated successfully, but these errors were encountered: