Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Unable to install PyPodio via PIP #30

Open
sreenadhp opened this issue Sep 23, 2014 · 4 comments
Open

Unable to install PyPodio via PIP #30

sreenadhp opened this issue Sep 23, 2014 · 4 comments

Comments

@sreenadhp
Copy link

When I tried to install PyPodio via PIP, I got the following error. Is it an issue or my mistake. I am a newbie to PIP & Linux(my current OS).
The command I ran was :
sudo pip install PyPodio

/usr/bin/pip run on Tue Sep 23 17:23:39 2014
Downloading/unpacking PyPodio
Getting page https://pypi.python.org/simple/PyPodio/
Could not fetch URL https://pypi.python.org/simple/PyPodio/: 404 Client Error: Not Found
Will skip URL https://pypi.python.org/simple/PyPodio/ when looking for download links for PyPodio
Getting page https://pypi.python.org/simple/
URLs to search for versions for PyPodio:

  • https://pypi.python.org/simple/PyPodio/
    Getting page https://pypi.python.org/simple/PyPodio/
    Could not fetch URL https://pypi.python.org/simple/PyPodio/: 404 Client Error: Not Found
    Will skip URL https://pypi.python.org/simple/PyPodio/ when looking for download links for PyPodio
    Could not find any downloads that satisfy the requirement PyPodio
    Cleaning up...
    Removing temporary dir /tmp/pip_build_root...
    No distributions at all found for PyPodio
    Exception information:
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
    status = self.run(options, args)
    File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
    File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1177, in prepare_files
    url = finder.find_requirement(req_to_install, upgrade=self.upgrade)
    File "/usr/lib/python2.7/dist-packages/pip/index.py", line 277, in find_requirement
    raise DistributionNotFound('No distributions at all found for %s' % req)
    DistributionNotFound: No distributions at all found for PyPodio
@r14c
Copy link
Contributor

r14c commented Sep 23, 2014

PyPodio2 is not yet available on PyPi.

You can install it directly from the git repo by running:

pip install git+https://github.com/podio/podio-py.git@master

@sreenadhp
Copy link
Author

I got the following message:
Downloading/unpacking git+https://github.com/podio/podio-py.git@master
Cloning https://github.com/podio/podio-py.git (to master) to /tmp/pip-FSOrAq-build
Cleaning up...
Cannot find command 'git'
Storing debug log for failure in /tmp/tmpslef9p

In '/tmp/tmpslef9p':
/usr/bin/pip run on Wed Sep 24 11:15:42 2014
Downloading/unpacking git+https://github.com/podio/podio-py.git@master
Cloning https://github.com/podio/podio-py.git (to master) to /tmp/pip-FSOrAq-build
Cleaning up...
Removing temporary dir /tmp/pip_build_plit15...
Cannot find command 'git'
Exception information:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 122, in main
status = self.run(options, args)
File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 278, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1197, in prepare_files
do_download,
File "/usr/lib/python2.7/dist-packages/pip/req.py", line 1360, in unpack_url
unpack_vcs_link(link, loc, only_download)
File "/usr/lib/python2.7/dist-packages/pip/download.py", line 344, in unpack_vcs_link
vcs_backend.unpack(location)
File "/usr/lib/python2.7/dist-packages/pip/vcs/init.py", line 240, in unpack
self.obtain(location)
File "/usr/lib/python2.7/dist-packages/pip/vcs/git.py", line 111, in obtain
call_subprocess([self.cmd, 'clone', '-q', url, dest])
File "/usr/lib/python2.7/dist-packages/pip/vcs/init.py", line 110, in cmd
command = find_command(self.name)
File "/usr/lib/python2.7/dist-packages/pip/util.py", line 109, in find_command
raise BadCommand('Cannot find command %r' % cmd)
BadCommand: Cannot find command 'git'

@r14c
Copy link
Contributor

r14c commented Sep 24, 2014

Do you have git installed?

@gregtampa
Copy link

I have same issue and yes i have git installed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants