Comments (24)
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.
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.
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.
(just commenting logged in so that I can be notified now; anon above was me)
Original Comment By: offbyone
from pip.
The numscons (git master) package too has the same issue.
Original Comment By: Sridhar Ratnakumar
from pip.
Issue #96 was marked as a duplicate of this issue.
version
Original Comment By: Carl Meyer
from pip.
Issue #159 was marked as a duplicate of this issue.
Original Comment By: Hugo Lopes Tavares
from pip.
Has there been any progress on this?
Original Comment By: offbyone
from pip.
I have the same issue. Anyone made progress with this?
Original Comment By: Anonymous
from pip.
Unfortunately, I too have run into this…
Original Comment By: tehfink
from pip.
Same here. Very annoying because this ruins my beautiful requirements file.
from pip.
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.
s/they are not/they are/
Sorry for the typo.
from pip.
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.
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.
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.
Confirmed installable and import works. Closing
$ pip install --user egenix-mx-base
Successfully installed egenix-mx-base
Cleaning up...
from pip.
Still have the same problem with installing SCons. (Python 2.6.6 on RHEL6, Python 2.7.2 on Mac Mountain Lion)
from pip.
Still doesn't work for scons with ubuntu 12.04 ...
from pip.
Try
$ pip install --egg scons
from pip.
Thank you @appleparan .
from pip.
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.
@robsonpeixoto add the suggested flag
pip install egenix-mx-base --allow-external egenix-mx-base
from pip.
Thanks
from pip.
Related Issues (20)
- there is very little documetation for the --target flag HOT 3
- Fail to resolve env var default in git packages HOT 3
- Pip caching doesn't embed --config-settings arguments, can interfere with subsequent installs (with different args) HOT 3
- pip 24.1b1 downgrade to pip 24.0 throws an exception HOT 7
- Continue downloads after network error. HOT 2
- Hash not matching HOT 1
- Hash comparison is case-sensitive
- [Documentation] Improve the documentation for pip.ini / pip.config
- Add / Extend Pip install command to automatically update the requirements.txt file HOT 1
- pip problem being recognized. HOT 1
- Installation error for package with un-normalized extra names in pip 24.1b1 HOT 5
- Possible to configure "truststore" to be persistent? HOT 5
- pip does not work with development versions of CPython due to parse error on version string HOT 2
- ModuleNotFoundError: No module named 'pip' HOT 1
- Command - pip reset HOT 6
- python -m ensurepip doesn't create the pip.exe shortcut on python-3.13.0b1 HOT 2
- installing via "git+file" fails under Windows when url point to different drive-letter HOT 1
- Pip >22.2.2 fails to install package from a proxy mirror of PyPI, but can do so directly from PyPI HOT 9
- "No module named 'Cython'", but only when installing a package and only with pip 23.1 or later HOT 2
- ERROR: Fatal Internal error [id=1] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pip.