I have previously used WHL (wheel) files to install various Python packages. But, it seems there's no such file for NLTK. Any workaround for this please?
The problem is I don't have access to install or *.exe files. Neither PIP3 works because of some reason (firewall i believe!)
NewConnectionError('pip._vendor.requests.packages.urllib3.connection.VerifiedHTTPSConnection object: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it',)': /simple/nltk/
Just discovered, there was a Zip installation file. And tried it. Had a dependency on "singledispatch-22.214.171.124-py2.py3-none-any.whl" but was able to install that being a WHL file. Got a success message -
Installed c:\users\rb\appdata\local\programs\python\python36\lib\site-packages\nltk-3.4-py3.6.egg Processing dependencies for nltk==3.4 Searching for singledispatch==126.96.36.199 Best match: singledispatch 188.8.131.52 Adding singledispatch 184.108.40.206 to easy-install.pth file Using c:\users\rb\appdata\local\programs\python\python36\lib\site-packages Searching for six==1.11.0 Best match: six 1.11.0 Adding six 1.11.0 to easy-install.pth file Using c:\users\rb\appdata\local\programs\python\python36\lib\site-packages Finished processing dependencies for nltk==3.4
Still i wasn't able to do
Import NLTK. But i noticed an Egg file in the Python folder.
C:\Users\rb>python -m easy_install "C:\Users\rb\AppData\Local\Programs\Python\Python36\Lib\site-packages\nltk-3.4-py3.6.egg" Processing nltk-3.4-py3.6.egg nltk 3.4 is already the active version in easy-install.pth Installed c:\users\rb\appdata\local\programs\python\python36\lib\site-packages\nltk-3.4-py3.6.egg Processing dependencies for nltk==3.4 Finished processing dependencies for nltk==3.4
Still i'm unable to proceed. But the hunt is still on ...