datacenter / cobra

Cobra - Python bindings for the ACI REST API
Other
89 stars 41 forks source link

pip install fails on ubuntu14.04 #111

Closed jainvipin closed 9 years ago

jainvipin commented 9 years ago

This is in ubuntu 14.04, with pip installed. When I follow the instructions to install the acicobra it complains...

/cobra# pip install --upgrade cython acicobra
Downloading/unpacking cython
  Downloading Cython-0.23.2.tar.gz (1.6MB): 1.6MB downloaded
  Running setup.py (path:/tmp/pip_build_root/cython/setup.py) egg_info for package cython
    Unable to find pgen, not compiling formal grammar.
    Compiling module Cython.Plex.Scanners ...
    Compiling module Cython.Plex.Actions ...
    Compiling module Cython.Compiler.Lexicon ...
    Compiling module Cython.Compiler.Scanning ...
    Compiling module Cython.Compiler.Parsing ...
    Compiling module Cython.Compiler.Visitor ...
    Compiling module Cython.Compiler.FlowControl ...
    Compiling module Cython.Compiler.Code ...
    Compiling module Cython.Runtime.refnanny ...
    Compiling module Cython.Tempita._tempita ...

    warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.h' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Utility'
Downloading/unpacking acicobra
  Could not find any downloads that satisfy the requirement acicobra
Cleaning up...
No distributions at all found for acicobra
Storing debug log for failure in /root/.pip/pip.log
mtimm commented 9 years ago

Hi Vipin,

acicobra is not on pypi, so a pip install for it will not work.

Please see: http://cobra.readthedocs.org/en/latest/install.html

Mike

jainvipin commented 9 years ago

@mtimm

Well, I was following the instructions on the README in this repo's main page.

Install

$ pip install --upgrade cython acicobra

While following the instructions you pointed out on readthedocs.org, I did try that and get it to work with some tweaks, like the name of the download egg files is not the same as specified in the link.

mtimm commented 9 years ago

Updated the README to point to the proper installation instructions. Also removed references to cython. If there are still issues regarding this, please reopen this issue.