boo*_*htp 1 python path beautifulsoup easy-install
我正在尝试安装easy_install以便使用BeautifulSoup ...但是我不知道我的PATH目录是什么...当我运行easy_install BeautifulSoup时......我得到了
错误:不是可识别的存档类型:C:\ docume~1\tom\locals~1\temp\weasy_install-w6haxs\BeautifulSoup-3.2.1.tar.gz
我猜这与在环境变量中没有设置的PATH有关.....但我不知道我的路径应该是什么...任何帮助都会受到赞赏...我很新所有这一切所以说英语而不是编程将不胜感激lol ..
安装beautifulsoup正是我昨天所做的.这些步骤适用于我的Windows 64:
在http://peak.telecommunity.com/dist/ez_setup.py下载并运行ez_setup.py 这将把easy_install.exe安装到python脚本目录.对我来说,它是C:/ python26/scripts
CD到C:/ python26/scripts
运行easy_install.exe pip这将安装pip.
然后运行pip install beautifulsoup4来获得美丽的汤.
请确保允许这些工具在防火墙程序中访问Internet.