Coder Social home page Coder Social logo

trying to install requirements.... about pogom HOT 5 CLOSED

favll avatar favll commented on September 23, 2024
trying to install requirements....

from pogom.

Comments (5)

gheja avatar gheja commented on September 23, 2024 1

I get a similar error when installing on a clean Debian 8.0, using Python 2.7.

    Installed /tmp/pip-build-Mw0oTs/protobuf-to-dict/protobuf-3.0.0b4-py2.7.egg
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/tmp/pip-build-Mw0oTs/protobuf-to-dict/setup.py", line 25, in <module>
        'Topic :: Software Development :: Libraries :: Python Modules',
      File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 262, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/lib/python2.7/dist-packages/setuptools/dist.py", line 287, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 631, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 867, in best_match
        dist = working_set.find(req)
      File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 509, in find
        raise VersionConflict(dist, req)
    pkg_resources.VersionConflict: (six 1.8.0 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9'))
    Complete output from command python setup.py egg_info:

It seems that the 1.9 version of six package is not being installed for some reason, I guess a dependency is missing somewhere but when adding to requirements.txt it makes no difference (I am not too familiar with python and its installation system). Anyways installing that version manually using

sudo pip install --upgrade six==1.9

before running

sudo pip install -r requirements.txt

solves the problem.

from pogom.

Steev93 avatar Steev93 commented on September 23, 2024 1

It seems to be a issue related to protobuf-to-dict, but actually a version conflict of six.

The final solution is to uninstall the six by

 pip uninstall six

And then run the

pip install -r requirements.txt 

it will install everything without any errors.

from pogom.

anton101101 avatar anton101101 commented on September 23, 2024

Do you get any errors above that line? Paste from the traceback lines.

from pogom.

nborrmann avatar nborrmann commented on September 23, 2024

Try installing it manually from here
https://github.com/benhodgson/protobuf-to-dict

from pogom.

favll avatar favll commented on September 23, 2024

Check out if this might help.

from pogom.

Related Issues (20)

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.