Closed jordanlmx closed 5 years ago
hi i have solve until following part
inside the src folder
python setup.py build_ext
pip install .
it give me this error
(base) C:\Users\jorda\sent2vec\src>python setup.py build_ext
Compiling sent2vec.pyx because it changed.
[1/1] Cythonizing sent2vec.pyx
running build_ext
building 'sent2vec' extension
creating build
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -IC:\Users\jorda\Anaconda3\lib\site-packages\numpy\core\include -IC:\Users\jorda\Anaconda3\include -IC:\Users\jorda\Anaconda3\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-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 /Tpsent2vec.cpp /Fobuild\temp.win-amd64-3.7\Release\sent2vec.obj -std=c++0x -Wno-cpp -pthread -Wno-sign-compare
cl : Command line error D8021 : invalid numeric argument '/Wno-cpp'
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
any help is appreciate thank you
Hi I don't think sent2vec (which rely on fasttext library) supports Windows but there is maybe a fix to make it work on a windows machine. Here is the official repository of sent2vec https://github.com/epfml/sent2vec where you'll certainly find some help :)
Thanks for your help
Hi I face problem when I try to install it with anaconda prompt and I am quite not understand what is write in the README.md, for example:
how should I do with this part? Any useful suggestion is appreciate. Thank you.