python教程—安装python dateutil-Python实用宝典

python教程—安装python dateutil

我试图为我的django tastypie安装python dateutil,但是没有成功,http://labix.org/pythondateutil #head-2f49784d6b27bae60cde1cff6a535663cf87497b

我试图为我的django tastypie安装python dateutil,但没有成功,

# head-2f49784d6b27bae60cde1cff6a535663cf87497b < a href = " http://labix.org/python-dateutil " > http://labix.org/python-dateutil head-2f49784d6b27bae60cde1cff6a535663cf87497b < / >

我下载了c:/python27中的tar文件并解压缩了它,

我得到以下错误的味精,

    **C:Python27Scripts>**easy_install dateutil-1.5 Searching for dateutil-1.5 Reading http://pypi.python.org/simple/dateutil-1.5/ Couldn't find index page for 'dateutil-1.5' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading http://pypi.python.org/simple/ No local packages or download links found for dateutil-1.5 Best match: None Traceback (most recent call last): File "C:Python27Scriptseasy_install-script.py", line 8, in <module> load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 171 2, in main File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 170 0, in with_ei_usage File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 171 6, in <lambda> File "C:Python27libdistutilscore.py", line 152, in setup dist.run_commands() File "C:Python27libdistutilsdist.py", line 953, in run_commands self.run_command(cmd) File "C:Python27libdistutilsdist.py", line 972, in run_command cmd_obj.run() File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 211 , in run File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 434 , in easy_install File "build/bdist.linux-i686/egg/setuptools/package_index.py", line 475, in fe tch_distribution AttributeError: 'NoneType' object has no attribute 'clone'

回答

​Python实用宝典 (pythondict.com)
不只是一个宝典
欢迎关注公众号:Python实用宝典

本文由 Python实用宝典 作者:Python实用宝典 发表,其版权均为 Python实用宝典 所有,文章内容系作者个人观点,不代表 Python实用宝典 对观点赞同或支持。如需转载,请注明文章来源。
2

发表评论