Proxy Authentication Required NLTK download

后端 未结 3 564
余生分开走
余生分开走 2020-12-11 11:56

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

3条回答
  •  粉色の甜心
    2020-12-11 12:12

    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.

提交回复
热议问题