I have installed python 2.7.3 on a Windows 8, 64 bit machine, sublime text and nltk 3.0.1 with the following steps:
Install Setuptools: http://pypi.python.o
Try this format instead for setting the proxy details:
import nltk
nltk.set_proxy('https://username:password@proxy.example.com:port')
It worked for me.
I also faced the same issue but i could able to solve with this
> nltk.set_proxy('xxx.xx.xx.xx:yy' , 'username', 'passcode')
This work for me on macOS 10.15
Search for 'Install Certificates.command' in finder and open it.
Now,
import nltk
nltk.download()
It will open the NLTK downloader then you can select and download the required package.