Giter VIP home page Giter VIP logo

Comments (5)

itamarst avatar itamarst commented on July 27, 2024

As a workaround I believe you can do

pip install git+git://github.com/ScatterHQ/[email protected]

from flocker.

Nayana-ibm avatar Nayana-ibm commented on July 27, 2024

@itamarst Thanks for your inputs. I tried the mentioned command however facing below issue:

$ pip install git+git://github.com/ScatterHQ/[email protected]
Downloading/unpacking git+git://github.com/ScatterHQ/[email protected]
  Cloning git://github.com/ScatterHQ/flocker.git (to 1.15.0) to /tmp/pip-sOpPzd-build
  Running setup.py egg_info for package from git+git://github.com/ScatterHQ/[email protected]
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/tmp/pip-sOpPzd-build/setup.py", line 8, in <module>
        from pkg_resources import parse_requirements, RequirementParseError
    ImportError: cannot import name RequirementParseError
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 16, in <module>

  File "/tmp/pip-sOpPzd-build/setup.py", line 8, in <module>

    from pkg_resources import parse_requirements, RequirementParseError

ImportError: cannot import name RequirementParseError

Steps:

Now, tried with
pip install git+git://github.com/ScatterHQ/[email protected]

version: Python 2.7.5
Ref: https://flocker.readthedocs.io/en/latest/docker-integration/install-client.html

from flocker.

itamarst avatar itamarst commented on July 27, 2024
[itamarst@blake ~]$ virtualenv /tmp/test
New python executable in /tmp/test/bin/python2
Also creating executable in /tmp/test/bin/python
Installing setuptools, pip, wheel...done.
[itamarst@blake ~]$ source /tmp/test/bin/activate
(test) [itamarst@blake ~]$ pip install --upgrade pip
Requirement already up-to-date: pip in /tmp/test/lib/python2.7/site-packages
(test) [itamarst@blake ~]$ pip --version
pip 9.0.1 from /tmp/test/lib/python2.7/site-packages (python 2.7)
(test) [itamarst@blake ~]$ pip install git+git://github.com/ScatterHQ/[email protected]
...
<eventually finishes successfully>

What version of pip are you using? Possibly one that's too old, somehow.

from flocker.

Nayana-ibm avatar Nayana-ibm commented on July 27, 2024

Using version 9.0.1 for pip

pip --version
pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)

I have also tried the steps to build flocker from source.

yum install -y gcc-c++ git libffi-devel openssl-devel python python-devel python-virtualenv
git clone https://github.com/ClusterHQ/flocker
cd flocker
git checkout 1.15.0
sudo pip install -e .

Is there any dependency am missing here?

from flocker.

Nayana-ibm avatar Nayana-ibm commented on July 27, 2024

Hi,

I could build flocker using below steps:

sudo yum install -y  gcc-c++ git libffi-devel openssl-devel python python-devel
git clone https://github.com/ClusterHQ/flocker
cd flocker
git checkout 1.15.0
pip install --requirement requirements/all.txt
pip install -e .

from flocker.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.