Skip to content
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

Build issue DAWG, build on win10 fails #34

Open
erba994 opened this issue Feb 20, 2019 · 9 comments
Open

Build issue DAWG, build on win10 fails #34

erba994 opened this issue Feb 20, 2019 · 9 comments

Comments

@erba994
Copy link

erba994 commented Feb 20, 2019

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

@arnaldoleandro
Copy link

Hi! I'm facing the same issue right now.

failed_install_dawg.txt

@brmkn
Copy link

brmkn commented Mar 7, 2019

same here
failed_install_dawg.txt

@eldir
Copy link

eldir commented May 21, 2019

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.

@AbstractMonkey
Copy link

AbstractMonkey commented Jul 6, 2019

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.

@chazanov
Copy link

chazanov commented Jul 19, 2019

@erba994 This is free software. Please don't use it with Windows.

@AbstractMonkey
Copy link

@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.

@Shigeyuki-Matsunami
Copy link

May be able to fixed by direct pip install from github https

pip install git+https://github.com/pytries/DAWG.git

@harisanwar64
Copy link

@Shigeyuki-Matsunami Thanks. It works! 👍

@dzhang228
Copy link

yes. it's working. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants