Installing NLTK using WHL file -
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?
https://pypi.org/project/nltk/
The problem is I don't have access to install or *.exe files. Neither PIP3 works because of some reason (firewall i believe!)
Error:
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/
Update-1
Just discovered, there was a Zip installation file. And tried it. Had a dependency on "singledispatch-3.4.0.3-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==3.4.0.3
Best match: singledispatch 3.4.0.3
Adding singledispatch 3.4.0.3 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
Update-2
Still i wasn't able to do Import NLTK
. But i noticed an Egg file in the Python folder.
C:\Users\rbpython -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 ...
Topic pip nltk text-mining python
Category Data Science