Coder Social home page Coder Social logo

Comments (13)

wjwwood avatar wjwwood commented on September 26, 2024

You need distribute, it is a dependency as of 0.2.2 I think. Make sure you
have apt-get update and reinstall bloom from apt. If that doesn't work, you
can manually install python-distribute with apt.

Sent from my iPhone

On Oct 24, 2012, at 11:20 AM, eitanme [email protected] wrote:

I'm seeing the following error when trying to run bloom-import-upstream.
I've installed bloom from apt. Any ideas on what might be going on?

$ git bloom-import-upstream --upstream-devel=groovy_devel
Traceback (most recent call last):
File "/usr/bin/git-bloom-import-upstream", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in
parse_requirements(requires), Environment()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in
resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute>=0.6.24
eitan@grizzly:~/hidof/willow/rosdoc_lite-release$ vim
/usr/bin/git-bloom-import-upstream


Reply to this email directly or view it on
GitHubhttps://github.com//issues/52.

from bloom.

tfoote avatar tfoote commented on September 26, 2024

I've got 0.2.5 with the same problem on precise. And python-distribute
doesn't exist:

tfoote@btn:/tmp/robot_model-release$ apt-cache search python-distribute
python-distribute-doc - Python Distutils Enhancements (based on
distribute), documentation
python-setuptools - Python Distutils Enhancements (setuptools compatibility)

On Wed, Oct 24, 2012 at 11:28 AM, William Woodall
[email protected]:

You need distribute, it is a dependency as of 0.2.2 I think. Make sure you
have apt-get update and reinstall bloom from apt. If that doesn't work,
you
can manually install python-distribute with apt.

Sent from my iPhone

On Oct 24, 2012, at 11:20 AM, eitanme [email protected] wrote:

I'm seeing the following error when trying to run bloom-import-upstream.
I've installed bloom from apt. Any ideas on what might be going on?

$ git bloom-import-upstream --upstream-devel=groovy_devel
Traceback (most recent call last):
File "/usr/bin/git-bloom-import-upstream", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2711, in
parse_requirements(requires), Environment()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in
resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: distribute>=0.6.24
eitan@grizzly:~/hidof/willow/rosdoc_lite-release$ vim
/usr/bin/git-bloom-import-upstream


Reply to this email directly or view it on
GitHubhttps://github.com//issues/52.


Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-9750647.

Tully Foote
[email protected]
(650) 475-2827

from bloom.

eitanme avatar eitanme commented on September 26, 2024

I have python-setuptools and python-distribute-doc installed as well. Also on precise.

from bloom.

smits avatar smits commented on September 26, 2024

On Wed, Oct 24, 2012 at 8:32 PM, eitanme [email protected] wrote:

I have python-setuptools and python-distribute-doc installed as well. Also
on precise.

I had the same problem, I think i resolved it by installing a more up to
date version of setuptools using pip.

Ruben


Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-9750828.

Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu

from bloom.

smits avatar smits commented on September 26, 2024

On Wed, Oct 24, 2012 at 10:02 PM, Ruben Smits
[email protected]:

On Wed, Oct 24, 2012 at 8:32 PM, eitanme [email protected] wrote:

I have python-setuptools and python-distribute-doc installed as well.
Also on precise.

I had the same problem, I think i resolved it by installing a more up to
date version of setuptools using pip.

Or just distribute should work too: sudo pip install -U distribute

Ruben

Ruben


Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-9750828.

Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu

Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu

from bloom.

wjwwood avatar wjwwood commented on September 26, 2024

Yeah sorry, it looks like python-setuptools is overloaded in apt (it actually contains distribute and supports "setuptools" which is slightly confusing). I will update the dependencies to depend on python-setuptools rather than python-distribute

from bloom.

tfoote avatar tfoote commented on September 26, 2024

I'm not sure that's adequate as I have python-setuptools installed and it's
still erroring.

On Wed, Oct 24, 2012 at 1:28 PM, William Woodall
[email protected]:

Yeah sorry, it looks like python-setuptools is overloaded in apt (it
actually contains distribute and supports "setuptools" which is slightly
confusing). I will update the dependencies to depend on python-setuptools
rather than python-distribute


Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-9755192.

Tully Foote
[email protected]
(650) 475-2827

from bloom.

tfoote avatar tfoote commented on September 26, 2024

I can confirm installing distribute 0.6.2 from pip made it work.

On Wed, Oct 24, 2012 at 1:37 PM, Tully Foote [email protected]:

I'm not sure that's adequate as I have python-setuptools installed and
it's still erroring.

On Wed, Oct 24, 2012 at 1:28 PM, William Woodall <[email protected]

wrote:

Yeah sorry, it looks like python-setuptools is overloaded in apt (it
actually contains distribute and supports "setuptools" which is slightly
confusing). I will update the dependencies to depend on python-setuptools
rather than python-distribute


Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-9755192.

Tully Foote
[email protected]
(650) 475-2827

Tully Foote
[email protected]
(650) 475-2827

from bloom.

wjwwood avatar wjwwood commented on September 26, 2024

Ok, I'll have to dig into this more, it is odd because on debian python-distribute is just a virtual package pointing to python-setuptools:

http://packages.debian.org/sid/python-distribute

from bloom.

tfoote avatar tfoote commented on September 26, 2024

BTW: anyone who tests installing distribute from pip and wants to revert
their system. You need to upgrade to pip 1.0.2 from pip to be able to
uninstall. And then you need to use apt to --reinstall python-setuptools
and python-pkg-resources

On Wed, Oct 24, 2012 at 1:41 PM, William Woodall
[email protected]:

Ok, I'll have to dig into this more, it is odd because on debian
python-distribute is just a virtual package pointing to python-setuptools:

http://packages.debian.org/sid/python-distribute


Reply to this email directly or view it on GitHubhttps://github.com//issues/52#issuecomment-9755647.

Tully Foote
[email protected]
(650) 475-2827

from bloom.

eitanme avatar eitanme commented on September 26, 2024

I can also confirm that installing distribute via pip gets things working. Not ideal, but will at least allow me to release things in the meantime.

from bloom.

wjwwood avatar wjwwood commented on September 26, 2024

I still haven't figured out what to do here, I might have to switch to distutils(2), but that will change how I do generator "plugins". The whole python distribution system is a mess... I am going to release 0.2.7 tonight and address this again tomorrow.

from bloom.

wjwwood avatar wjwwood commented on September 26, 2024

This is solved by removing the version on distribute in the installed_required field of setup.py.

Fixed in 399912f

I will release soon.

from bloom.

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.