rhel6/fedora 14/ubuntu 11 can not install the LFC! (python 2.6/2.7)

50 views
Skip to first unread message

renwofei423

unread,
Jun 22, 2011, 2:37:12 PM6/22/11
to django-lfc
[root@renwofei lfc-buildout-development]# python bootstrap.py
Creating directory '/home/renwofei/workspace/lfc-buildout-development/
bin'.
Creating directory '/home/renwofei/workspace/lfc-buildout-development/
parts'.
Creating directory '/home/renwofei/workspace/lfc-buildout-development/
eggs'.
Creating directory '/home/renwofei/workspace/lfc-buildout-development/
develop-eggs'.
Download error: [Errno -2] Name or service not known -- Some packages
may not be found!
Generated script '/home/renwofei/workspace/lfc-buildout-development/
bin/buildout'.
[root@renwofei lfc-buildout-development]# bin/buildout -v
Installing 'zc.buildout', 'setuptools'.
We have the best distribution that satisfies 'zc.buildout'.
Picked: zc.buildout = 1.5.2
Getting distribution for 'setuptools'.
Got setuptools 0.6c12dev-r88846.
Picked: setuptools = 0.6c12dev-r88846
Egg from site-packages: zc.buildout 1.5.2
Upgraded:
zc.buildout version 1.5.2,
setuptools version 0.6c12dev-r88846;
restarting.
Traceback (most recent call last):
File "bin/buildout", line 17, in <module>
import zc.buildout.buildout
File "/usr/lib/python2.7/site-packages/zc.buildout-1.5.2-py2.7.egg/
zc/buildout/buildout.py", line 39, in <module>
import zc.buildout.download
File "/usr/lib/python2.7/site-packages/zc.buildout-1.5.2-py2.7.egg/
zc/buildout/download.py", line 20, in <module>
from zc.buildout.easy_install import realpath
File "/usr/lib/python2.7/site-packages/zc.buildout-1.5.2-py2.7.egg/
zc/buildout/easy_install.py", line 81, in <module>
pkg_resources.Requirement.parse('zc.buildout')).location
AttributeError: 'NoneType' object has no attribute 'location'

eXt

unread,
Jun 22, 2011, 3:58:33 PM6/22/11
to django-lfc
Just a guess... try to use latest bootstrap.py from buildout.org.
(wget http://svn.zope.org/*checkout*/zc.buildout/trunk/bootstrap/bootstrap.py)

Regards
Jakub

飞爱曦

unread,
Jun 23, 2011, 11:34:27 AM6/23/11
to djang...@googlegroups.com
no,Still does not work ~bootstrap.py is customized version Probably。。。


2011/6/23 eXt <restles...@gmail.com>
Reply all
Reply to author
Forward
0 new messages