Hi all, I am using ubuntu 10.04 for my desktop and Ubunt 10.04 server edition ofr my server.
the following commnad:
sudo pip install -e git+http://github.com/facebook/python-sdk.git#egg=facebook
Works on my deskotp, but doesnt work on the server.
On the server, I received the following error message:
Obtaining facebook from git+http://github.com/facebook/python-sdk.git#egg=facebook
Cloning http://github.com/facebook/python-sdk.git to ./src/facebook
Exception:
Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/pip/basecommand.py", line 115, in main
self.run(options, args)
File "/usr/local/lib/python2.6/dist-packages/pip/commands/install.py", line 155, in run
requirement_set.install_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/local/lib/python2.6/dist-packages/pip/req.py", line 805, in install_files
req_to_install.update_editable(not self.is_download)
File "/usr/local/lib/python2.6/dist-packages/pip/req.py", line 356, in update_editable
vcs_backend.obtain(self.source_dir)
File "/usr/local/lib/python2.6/dist-packages/pip/vcs/git.py", line 104, in obtain
[self.cmd, 'clone', '-q', url, dest])
File "/usr/local/lib/python2.6/dist-packages/pip/vcs/__init__.py", line 100, in cmd
raise BadCommand('Cannot find command %s' % self.name)
BadCommand: Cannot find command git
Storing complete log in ./pip-log.txt
May I know what am I missing? I have already installed pip, easy_install. What lese have I missed?
How to I get the command working?
Thank you!