Open himanshush opened 8 years ago
I successfully installed Polyglot on a Windows machine, but the downloader has a problem:
` Downloader> l
Collections: [ ] LANG:qu............. quechua packages and models [ ] TASK:counts2/qu..... counts2/qu
([*] marks installed packages)
d) Download l) List u) Update c) Config h) Help q) Quit ---------------------------------------------------------------------------`
I think that the index.json file is not correctly read. Therefore I am not able to download the add-ons.
@visheratin how can you do that? I install polyglot by command pip install polyglot
Here is the result
Failed to build PyICU
Installing collected packages: PyICU, polyglot
Running setup.py install for PyICU ... error
Complete output from command c:\anaconda\python.exe -u -c "import setuptools
, tokenize;__file__='c:\\users\\rain\\appdata\\local\\temp\\pip-build-f_2oxp\\Py
ICU\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().rep
lace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\rain\appdata\l
ocal\temp\pip-e6z2ia-record\install-record.txt --single-version-externally-manag
ed --compile:
running install
running build
running build_py
creating build
creating build\lib.win-amd64-2.7
copying icu.py -> build\lib.win-amd64-2.7
copying PyICU.py -> build\lib.win-amd64-2.7
copying docs.py -> build\lib.win-amd64-2.7
running build_ext
building '_icu' extension
creating build\temp.win-amd64-2.7
creating build\temp.win-amd64-2.7\Release
C:\Anaconda\MinGW\bin\gcc.exe -DMS_WIN64 -mdll -O -Wall -Ic:/icu/include -Ic
:\anaconda\include -Ic:\anaconda\PC -c bases.cpp -o build\temp.win-amd64-2.7\Rel
ease\bases.o /Zc:wchar_t /EHsc /DPYICU_VER=\"1.9.3\"
gcc: error: /Zc:wchar_t: No such file or directory
gcc: error: /EHsc: No such file or directory
gcc: error: /DPYICU_VER="1.9.3": Invalid argument
error: command 'C:\\Anaconda\\MinGW\\bin\\gcc.exe' failed with exit status 1
----------------------------------------
Command "c:\anaconda\python.exe -u -c "import setuptools, tokenize;__file__='c:\
\users\\rain\\appdata\\local\\temp\\pip-build-f_2oxp\\PyICU\\setup.py';exec(comp
ile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __fi
le__, 'exec'))" install --record c:\users\rain\appdata\local\temp\pip-e6z2ia-rec
ord\install-record.txt --single-version-externally-managed --compile" failed wit
h error code 1 in c:\users\rain\appdata\local\temp\pip-build-f_2oxp\PyICU\
@rain1024 Download the wheels for the dependencies i.e. PyICU and after installing that try to install polyglot again
Hi everyone,
We don't have access to Window machine now, so we may not be able fix when something is broken on Windows. But discussion on running Polyglot on Windows machine is welcome!
Hi there, I managed to install polyglot in Wondows 10 with the orientations, installing the .whl directly for the dependences but I have an error with the downloader, I also tried and managed to download manually the files from http://whoisbigger.com/polyglot/index.json but I wanted some help to know how to install those addons manually, where and how do I add them. Thanks
I was able to successfully install Polyglot on the Windows machine. What issues do you have?