DAWG
DAWG copied to clipboard
Build issue DAWG, build on win10 fails
Collecting DAWG>=0.7.3; extra == "fast" (from pymorphy2[fast]) Using cached https://files.pythonhosted.org/packages/29/c0/d8d967bcaa0b572f9dc1d878bbf5a7bfd5afa2102a5ae426731f6ce3bc26/DAWG-0.7.8.tar.gz Installing collected packages: DAWG Running setup.py install for DAWG ... error Complete output from command c:\users\loren\appdata\local\programs\python\python37\python.exe -u -c "import setuptools, tokenize;file='C:\Users\loren\AppData\Local\Temp\pip-install-u9ywe6f1\DAWG\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\loren\AppData\Local\Temp\pip-record-4frb1boo\install-record.txt --single-version-externally-managed --compile: running install running build running build_ext building 'dawg' extension creating build creating build\temp.win-amd64-3.7 creating build\temp.win-amd64-3.7\Release creating build\temp.win-amd64-3.7\Release\src creating build\temp.win-amd64-3.7\Release\lib creating build\temp.win-amd64-3.7\Release\lib\b64 C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilib -Ic:\users\loren\appdata\local\programs\python\python37\include -Ic:\users\loren\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /Tpsrc\b64_decode.cpp /Fobuild\temp.win-amd64-3.7\Release\src\b64_decode.obj b64_decode.cpp c:\users\loren\appdata\local\temp\pip-install-u9ywe6f1\dawg\src../lib/b64/decode.h(52): warning C4244: '=': conversion from 'std::streamsize' to 'int', possible loss of data C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ilib -Ic:\users\loren\appdata\local\programs\python\python37\include -Ic:\users\loren\appdata\local\programs\python\python37\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.10240.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /EHsc /Tpsrc\dawg.cpp /Fobuild\temp.win-amd64-3.7\Release\src\dawg.obj dawg.cpp c:\users\loren\appdata\local\temp\pip-install-u9ywe6f1\dawg\src../lib/b64/decode.h(52): warning C4244: '=': conversion from 'std::streamsize' to 'int', possible loss of data src\dawg.cpp(4638): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data src\dawg.cpp(4652): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data src\dawg.cpp(10580): warning C4267: 'argument': conversion from 'size_t' to 'const int', possible loss of data src\dawg.cpp(11052): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data src\dawg.cpp(11526): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data src\dawg.cpp(12419): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data src\dawg.cpp(12433): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data src\dawg.cpp(13011): warning C4244: '=': conversion from 'Py_ssize_t' to 'int', possible loss of data src\dawg.cpp(21523): error C2039: 'exc_type': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21524): error C2039: 'exc_value': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21525): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21526): error C2039: 'exc_type': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21527): error C2039: 'exc_value': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21528): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21550): error C2039: 'exc_type': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21551): error C2039: 'exc_value': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21552): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21553): error C2039: 'exc_type': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21554): error C2039: 'exc_value': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21555): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21568): error C2039: 'exc_type': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21569): error C2039: 'exc_value': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21570): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21582): error C2039: 'exc_type': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21583): error C2039: 'exc_value': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21584): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21585): error C2039: 'exc_type': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21586): error C2039: 'exc_value': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' src\dawg.cpp(21587): error C2039: 'exc_traceback': is not a member of '_ts' c:\users\loren\appdata\local\programs\python\python37\include\pystate.h(212): note: see declaration of '_ts' error: command 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe' failed with exit status 2
same here failed_install_dawg.txt
I am also still having this issue; getting the same error messages as posted above. Using Python 3.7.3. 64 Bit on Windows 10.
Also facing this issue - have reinstalled MS Visual Studio Build Tools now, installed .whls from https://www.lfd.uci.edu/~gohlke/pythonlibs/#spacy, etc. etc. Nothing is working.
Using Python 3.7.3 in Windows 10 64-bit.
@erba994 This is free software. Please don't use it with Windows.
@erba994 This is free software. Please don't use it with Windows.
lol@this guy downvoting this entire thread because he hates Windows.
I love Ubuntu, FWIW, but it's not practical for my day to day use for many reasons.
May be able to fixed by direct pip install from github https
pip install git+https://github.com/pytries/DAWG.git
@Shigeyuki-Matsunami Thanks. It works! 👍
yes. it's working. thanks