New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
invalid command 'egg_info' #286
Comments
Attempting to replicate
I then did
That worked for me. Can you paste the full output of what occurs when you try these commands. You can use three backticks to mark the start and end of a block - see the GitHub Flavored Markdown link above the comment box in the issue. |
I, in reverse, have installed distribute and pip with macports, and am not using virtualenv (I need the majority of packages to be available system-wide) Full output of Downloading/unpacking pip
warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite' warnings.warn(msg) /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'tests_require' warnings.warn(msg) usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] or: -c --help [cmd1 cmd2 ...] or: -c --help-commands or: -c cmd --help error: invalid command 'egg_info' Command python setup.py egg_info failed with error code 1 cat /Users/eugenemirotin/.pip/pip.log - same plus Command python setup.py egg_info failed with error code 1 |
I've just installed macports from the dmg and done
Giving
Then I can do
Can you paste in
|
Yes, please find here: http://pastebin.com/TndgVa3c |
Is there any good reason to use macports to install pip and distribute? I strongly recommend you to not use macports (or any other OS system package) to install python packages, because OS package maintainers use to customize things and I remember Debian and Ubuntu breaking setuptools's package. |
well, yes, I know it might be because of distribute, but distribute itself is working fine passing macports in this cases means installing distribute from sources - correct? I mean, is it still needed for pip install? |
Pip still needs distribute/setuptools... You can install them easily with:
|
well, regarding distribute - I discovered that some (macports) packages depend on it, and these packages, I suppose, are in turn requirements for other packages.
That's really strange as pip 1.0.1 is not in ports yet: http://www.macports.org/ports.php?by=name&substr=py27-pip Anyway, thanks in advance! |
Getting this error when trying to install any package, like:
or even
at the same moment easy_install works fine
Mac OSX, python 2.7, pip 0.8.2, distribute 0.6.16 from macports
The text was updated successfully, but these errors were encountered: