Giter Site home page Giter Site logo

Comments (24)

vbabiy avatar vbabiy commented on May 18, 2024

mx-egenix-base does extensive patching of distutils in its setup.py, which
conflicts with setuptools; in particular, it uses its own mx_install command
that doesn't recognize --single-version-externally-managed.

mx-egenix-base does look for a special "--use-setuptools" argument and imports
setuptools if its found, but this doesn't do anything that pip's setuptools-
importing hack doesn't already accomplish. It still doesn't use setuptools'
install command.

For packages like this where pip is unable to install them in its preferred
layout, should it refuse to install them, or should there be some option to
allow installing them "raw" (that is, whatever "python setup.py install" does
natively), so people can at least still include them in a requirements file?


Original Comment By: Carl Meyer

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

I'd argue that a fallback to a raw python setup.py install, either with a
blinking red warning or through a CLI switch, would be nice. It'd probably
"unbreak" a bunch of packages though it wouldn't help with completely hare-
brained ones (such as Reportlab's which put setup.py in a subdirectory)


Original Comment By: masklinn

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

The scons package has this same issue, so presumably it's using the same tool.
What's the proposed fix for this?


Original Comment By: Anonymous

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

(just commenting logged in so that I can be notified now; anon above was me)


Original Comment By: offbyone

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

The numscons (git master) package too has the same issue.


Original Comment By: Sridhar Ratnakumar

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

Issue #96 was marked as a duplicate of this issue.

version


Original Comment By: Carl Meyer

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

Issue #159 was marked as a duplicate of this issue.


Original Comment By: Hugo Lopes Tavares

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

Has there been any progress on this?


Original Comment By: offbyone

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

I have the same issue. Anyone made progress with this?


Original Comment By: Anonymous

from pip.

vbabiy avatar vbabiy commented on May 18, 2024

Unfortunately, I too have run into this…


Original Comment By: tehfink

from pip.

drobati avatar drobati commented on May 18, 2024

Same here. Very annoying because this ruins my beautiful requirements file.

from pip.

santagada avatar santagada commented on May 18, 2024

I've also run into this and from the discussion I had http://thread.gmane.org/gmane.comp.python.egenix.user/1552 they are not planning on fixing this from their side.

from pip.

santagada avatar santagada commented on May 18, 2024

s/they are not/they are/

Sorry for the typo.

from pip.

nduthoit avatar nduthoit commented on May 18, 2024

Thanks for the link @santagada, just tried to run pip install egenix-mx-base and it worked like a charm (installed version 3.2.1).

from pip.

santagada-proge avatar santagada-proge commented on May 18, 2024

Yes this can be closed, as of 3.2 they fixed pip problems (now they are having problems with virtualenv on the patched python 2.7 on ubuntu 11.04 but they think the bug is on ubuntu.

from pip.

kbrownlees avatar kbrownlees commented on May 18, 2024

Just a random comment in case this info will help others. This also breaks pysvn, ie "pip install http://pysvn.barrys-emacs.org/source_kits/pysvn-1.7.5.tar.gz" Seems like it is doing the compile stage in a non standard way -> http://pysvn.tigris.org/issues/show_bug.cgi?id=86. Would be nice to have a command line flag to disable this flag :)

from pip.

pnasrat avatar pnasrat commented on May 18, 2024

Confirmed installable and import works. Closing

$ pip install --user egenix-mx-base
Successfully installed egenix-mx-base
Cleaning up...

from pip.

appleparan avatar appleparan commented on May 18, 2024

Still have the same problem with installing SCons. (Python 2.6.6 on RHEL6, Python 2.7.2 on Mac Mountain Lion)

from pip.

halfaleague avatar halfaleague commented on May 18, 2024

Still doesn't work for scons with ubuntu 12.04 ...

from pip.

appleparan avatar appleparan commented on May 18, 2024

I found this answer

Try

$ pip install --egg scons

from pip.

smithsp avatar smithsp commented on May 18, 2024

Thank you @appleparan .

from pip.

robsonpeixoto avatar robsonpeixoto commented on May 18, 2024

I'm having this problem =/

$ pip --version
pip 1.5.6 from /Users/robinho/.virtualenvs/l/lib/python2.7/site-packages (python 2.7)

$ pip install egenix-mx-base
Downloading/unpacking egenix-mx-base
  Could not find any downloads that satisfy the requirement egenix-mx-base
  Some externally hosted files were ignored (use --allow-external egenix-mx-base to allow).
Cleaning up...
No distributions at all found for egenix-mx-base
Storing debug log for failure in /Users/robinho/.pip/pip.log

from pip.

Ivoz avatar Ivoz commented on May 18, 2024

@robsonpeixoto add the suggested flag

pip install egenix-mx-base --allow-external egenix-mx-base

from pip.

robsonpeixoto avatar robsonpeixoto commented on May 18, 2024

Thanks

from pip.

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.