Skip to content

Instantly share code, notes, and snippets.

@msabramo
Created June 21, 2012 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save msabramo/2968422 to your computer and use it in GitHub Desktop.
Save msabramo/2968422 to your computer and use it in GitHub Desktop.
Error when trying to pip install pyobjc-core
[last: 0] marca@SCML-MarcA:~/dev/svn-repos$ svn co http://svn.red-bean.com/pyobjc/trunk/pyobjc/pyobjc-core && pyobjc-core...
[last: 0] marca@SCML-MarcA:~/dev/svn-repos/pyobjc-core$ virtualenv env && source env/bin/activate
New python executable in env/bin/python
Installing setuptools............done.
Installing pip...............done.
(env)[last: 0] marca@SCML-MarcA:~/dev/svn-repos/pyobjc-core$ which pip
/Users/marca/dev/svn-repos/pyobjc-core/env/bin/pip
(env)[last: 0] marca@SCML-MarcA:~/dev/svn-repos/pyobjc-core$ pip install .Unpacking /Users/marca/dev/svn-repos/pyobjc-core
Running setup.py egg_info for package from file:///Users/marca/dev/svn-repos/pyobjc-core
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_2to3'
warnings.warn(msg)
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pip-3Xyh27-build/setup.py", line 464, in <module>
**extra_args
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pip-3Xyh27-build/setup.py", line 121, in run
orig_egg_info.egg_info.run(self)
File "<string>", line 7, in replacement_run
AttributeError: class egg_info has no attribute 'iter_entry_points'
Complete output from command python setup.py egg_info:
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'use_2to3'
warnings.warn(msg)
running egg_info
creating pip-egg-info/pyobjc_core.egg-info
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pip-3Xyh27-build/setup.py", line 464, in <module>
**extra_args
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup
dist.run_commands()
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pip-3Xyh27-build/setup.py", line 121, in run
orig_egg_info.egg_info.run(self)
File "<string>", line 7, in replacement_run
AttributeError: class egg_info has no attribute 'iter_entry_points'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /var/folders/Z8/Z8PqKjxVE9yN98-ty2Nin-GaxZc/-Tmp-/pip-3Xyh27-build
Storing complete log in /Users/marca/.pip/pip.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment