Skip to content
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

IOError: Could not build the egg. #19

Open
uid89626 opened this issue Sep 4, 2017 · 0 comments
Open

IOError: Could not build the egg. #19

uid89626 opened this issue Sep 4, 2017 · 0 comments

Comments

@uid89626
Copy link

uid89626 commented Sep 4, 2017

from distribute_setup import use_setuptools

$ python setup.py install
Scanning installed packages
Setuptools installation detected at /home/foxx00/Downloads/git/copperhead
Non-egg installation
Removing elements out of the way...
Already patched.
/home/foxx00/Downloads/git/copperhead/setuptools-0.6c9-py2.7.egg-info already patched.
Extracting in /tmp/tmpUEWY6Z
Now working in /tmp/tmpUEWY6Z/distribute-0.6.4
Building a Distribute egg in /home/foxx00/Downloads/git/copperhead
Traceback (most recent call last):
File "setup.py", line 142, in
scripts = scripts,
File "/usr/lib/python2.7/distutils/core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "/tmp/tmpUEWY6Z/distribute-0.6.4/setuptools/dist.py", line 224, in init
_Distribution.init(self,attrs)
File "/usr/lib/python2.7/distutils/dist.py", line 287, in init
self.finalize_options()
File "/tmp/tmpUEWY6Z/distribute-0.6.4/setuptools/dist.py", line 257, in finalize_options
ep.load()(self, ep.name, value)
File "/tmp/tmpUEWY6Z/distribute-0.6.4/pkg_resources.py", line 1922, in load
raise ImportError("%r has no %r attribute" % (entry,attr))
ImportError: <module 'setuptools.dist' from '/tmp/tmpUEWY6Z/distribute-0.6.4/setuptools/dist.py'> has no 'check_packages' attribute
/home/foxx00/Downloads/git/copperhead/setuptools-0.6c9-py2.7.egg-info already exists
Traceback (most recent call last):
File "setup.py", line 21, in
use_setuptools()
File "/home/foxx00/Downloads/git/copperhead/distribute_setup.py", line 139, in use_setuptools
return _do_download(version, download_base, to_dir, download_delay)
File "/home/foxx00/Downloads/git/copperhead/distribute_setup.py", line 120, in _do_download
egg = _build_egg(tarball, to_dir)
File "/home/foxx00/Downloads/git/copperhead/distribute_setup.py", line 112, in _build_egg
raise IOError('Could not build the egg.')
IOError: Could not build the egg.

Resolution:
Comment out lines 20, 21 and everything works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant