First time here? Check out the FAQ!
1

NLTK Download

When attempting to download collections from within WingIDE receive error.

import nltk nltk.download() aborted (disconnected)

I have also tried nltk.download_shell() nltk.download_shell()

NLTK Downloader

d) Download l) List u) Update c) Config h) Help q) Quit

Downloader> l aborted (disconnected)

In either case after the error is reported, the python shell is no longer responsive and the shell needs to be restarted.

My configuration: WingPro 8.3.0.0 (rev 979f106f1aaa) Python 3.10.2 (tags/v3.10.2:a58ebcc, Jan 17 2022, 14:12:15) [MSC v.1929 64 bit (AMD64)]

As a work around, everything works outside of Wing by running python from the cmd prompt

Kindest, Chet

SandwedgeMyrtle's avatar
11
SandwedgeMyrtle
asked 2022-04-08 07:23:50 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2022-05-05 09:29:43 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

I can confirm that the problem happens with 64-bit Python 3.10 on Windows (but not with 32-bit Python 3.9). The segfault occurs in the elementtree / expat library, but it's not immediately clear what's causing it. We'll continue to look into it.

Wingware Support's avatar
4k
Wingware Support
answered 2022-04-08 15:09:50 -0500
edit flag offensive 0 remove flag delete link

Comments

This should be fixed in 8.3.1, which will be out soon

Wingware Support's avatar Wingware Support (2022-05-05 09:29:33 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer