我已经在Windows 8, 64位机器上安装了Python 2.7.3、Sublime Text和NLTK 3.0.1,具体步骤如下:
安装Setuptools: 从http://pypi.python.org/pypi/setuptools下载并运行ez_setup.py(从CMD提示符中),存储在python27目录中。
安装NLTK: 在nltk目录中运行setup.py以安装nltk(从CMD提示符中)http://pypi.python.org/pypi/nltk
更改环境变量为%PYTHONPATH%;C:\Python27;C:\Python27\DLLs;C:\Python27\Lib;C:\Python27\Lib\lib2to3;C:\Python27\Scripts,其中PYTHONPATH为C:\Python27
测试安装:开始>Python34,然后键入import nltk,在sublime中键入
import nltk
nltk.set_proxy('xxx.xx.xx.xx:yy',('username','pwd'))
nltk.download()
然而,我遇到了以下错误:
HTTP Error 407: Proxy Authentication Required (The ISA Server requires authorization to fulfill the request. Access to the Web Proxy Filter is denied.
尽管我提供了代理详细信息,为什么我仍然收到这个错误?请帮忙,Arc.