2014-04-27 37 views
1

我试图在我的Ubuntu 12.04.上安装灯泡。我安装了以下软件包。pip install/tmp/pip-c436mD-unpack/master成员espeed-bulbs-71d0cce/docs/social无效:

sudo apt-get install python2.7-dev 
sudo apt-get install libyaml-dev 

我已经安装

sudo pip install https://github.com/espeed/bulbs/tarball/master 

的输出是如下

Downloading/unpacking https://github.com/espeed/bulbs/tarball/master 
    Downloading master (unknown size): 177Kb downloaded 
    Cannot determine compression type for file /tmp/pip-c436mD-unpack/master 
    In the tar file /tmp/pip-c436mD-unpack/master the member espeed-bulbs-71d0cce/docs/social is invalid: "linkname 'espeed-bulbs-71d0cce/docs//home/james/projects/bulbflow.com/www/root/templates/social.html' not found" 
    Running setup.py egg_info for package from https://github.com/espeed/bulbs/tarball/master 

    warning: no previously-included files matching '*~' found under directory '.' 
    warning: no previously-included files matching '*.pyc' found under directory '.' 
    no previously-included directories found matching '*/*/old' 
    no previously-included directories found matching '*/old' 
Requirement already satisfied (use --upgrade to upgrade): distribute in /usr/lib/python2.7/dist-packages (from bulbs==0.3.29-20140426) 
Requirement already satisfied (use --upgrade to upgrade): httplib2>=0.7.2 in /usr/lib/python2.7/dist-packages (from bulbs==0.3.29-20140426) 
Requirement already satisfied (use --upgrade to upgrade): pyyaml>=3.10 in /usr/local/lib/python2.7/dist-packages/PyYAML-3.11-py2.7-linux-x86_64.egg (from bulbs==0.3.29-20140426) 
Requirement already satisfied (use --upgrade to upgrade): six in /usr/local/lib/python2.7/dist-packages (from bulbs==0.3.29-20140426) 
Requirement already satisfied (use --upgrade to upgrade): omnijson in /usr/local/lib/python2.7/dist-packages/omnijson-0.1.2-py2.7.egg (from bulbs==0.3.29-20140426) 
Requirement already satisfied (use --upgrade to upgrade): python-dateutil==1.5 in /usr/lib/python2.7/dist-packages (from bulbs==0.3.29-20140426) 
Cleaning up... 

是对线的误差上面显示

In the tar file /tmp/pip-c436mD-unpack/master the member espeed-bulbs-71d0cce/docs/social is invalid: "linkname 'espeed-bulbs-71d0cce/docs//home/james/projects/bulbflow.com/www/root/templates/social.html' not found" 

?这是否意味着安装灯泡没有成功?

回答

1

不要担心这个消息 - 这不是一个错误 - 从上面的输出,它看起来像灯泡安装。启动Rexster然后再试试...

>>> from bulbs.rexster import Graph 
>>> g = Graph() 
>>> james = g.vertices.create(name="James") 
>>> julie = g.vertices.create(name="Julie") 
>>> g.edges.create(james, "knows", julie)