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

polyglot_data on windows #14

Open
Seymour0724 opened this issue Sep 26, 2021 · 0 comments
Open

polyglot_data on windows #14

Seymour0724 opened this issue Sep 26, 2021 · 0 comments

Comments

@Seymour0724
Copy link

Hi,
I Have installed polyglot on windows10 with python 3.9, after some lib problems solved, I start getting this error:

downloader.download()
Polyglot Downloader


Collections:
Traceback (most recent call last):
File "", line 1, in
File "C:\Python34\lib\site-packages\polyglot-15.5.2-py3.4.egg\polyglot\downloader.py", line 649, in download
self._interactive_download()
File "C:\Python34\lib\site-packages\polyglot-15.5.2-py3.4.egg\polyglot\downloader.py", line 1068, in _interactive_download
DownloaderShell(self).run()
File "C:\Python34\lib\site-packages\polyglot-15.5.2-py3.4.egg\polyglot\downloader.py", line 1096, in run
more_prompt=True)
File "C:\Python34\lib\site-packages\polyglot-15.5.2-py3.4.egg\polyglot\downloader.py", line 459, in list
for info in sorted(getattr(self, category)(), key=str):
File "C:\Python34\lib\site-packages\polyglot-15.5.2-py3.4.egg\polyglot\downloader.py", line 495, in collections
self._update_index()
File "C:\Python34\lib\site-packages\polyglot-15.5.2-py3.4.egg\polyglot\downloader.py", line 832, in _update_index
P = Package.fromcsobj(p)
File "C:\Python34\lib\site-packages\polyglot-15.5.2-py3.4.egg\polyglot\downloader.py", line 232, in fromcsobj
language = subdir.split(path.sep)[1]
IndexError: list index out of range

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

1 participant