installation fails

Issue #14 invalid
Eelco Hoogendoorn
created an issue

Installation fails for me (anaconda python 2.7.3).

Note: I get the same result for both easy_install as pip. Seems like an internal bug in my distutils; but that seems difficult to believe. Perhaps it means something to you?

C:\Docs\AE\testcode>easy_install gipc
Searching for gipc
Best match: gipc 0.4.0
Writing c:\users\eelco\appdata\local\temp\easy_install-1g_mv0\gipc-0.4.0\setup.c
Running gipc-0.4.0\ -q bdist_egg --dist-dir c:\users\eelco\appdata\local
zip_safe flag not set; analyzing archive contents...
Adding gipc 0.4.0 to easy-install.pth file

Installed c:\anaconda\lib\site-packages\gipc-0.4.0-py2.7.egg
Processing dependencies for gipc
Searching for gevent>=1.0
Best match: gevent 1.0.1
Processing gevent-1.0.1.tar.gz
Writing c:\users\eelco\appdata\local\temp\easy_install-sjtwrx\gevent-1.0.1\setup
Running gevent-1.0.1\ -q bdist_egg --dist-dir c:\users\eelco\appdata\loc
Traceback (most recent call last):
  File "C:\Anaconda\Scripts\", line 5, in <module>
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
1949, in main
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
1930, in with_ei_usage
    return f()
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
1953, in <lambda>
    distclass=DistributionWithoutHelpCommands, **kw
  File "C:\Anaconda\lib\distutils\", line 152, in setup
  File "C:\Anaconda\lib\distutils\", line 953, in run_commands
  File "C:\Anaconda\lib\distutils\", line 972, in run_command
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
358, in run
    self.easy_install(spec, not self.no_deps)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
598, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
630, in install_item
    self.process_distribution(spec, dist, deps)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
682, in process_distribution
    [requirement], self.local_index, self.easy_install
  File "C:\Anaconda\lib\site-packages\", line 586, in resolve
    dist = best[req.key] = env.best_match(req, self, installer)
  File "C:\Anaconda\lib\site-packages\", line 831, in best_match

    return self.obtain(req, installer) # try and download/install
  File "C:\Anaconda\lib\site-packages\", line 843, in obtain
    return installer(requirement)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
598, in easy_install
    return self.install_item(spec, dist.location, tmpdir, deps)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
628, in install_item
    dists = self.install_eggs(spec, download, tmpdir)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
823, in install_eggs
    return self.build_and_install(setup_script, setup_base)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
1103, in build_and_install
    self.run_setup(setup_script, setup_base, args)
  File "C:\Anaconda\lib\site-packages\setuptools\command\", line
1089, in run_setup
    run_setup(setup_script, args)
  File "C:\Anaconda\lib\site-packages\setuptools\", line 33, in run_se
    lambda: execfile(
  File "C:\Anaconda\lib\site-packages\setuptools\", line 81, in run
    return func()
  File "C:\Anaconda\lib\site-packages\setuptools\", line 35, in <lambd
    {'__file__':setup_script, '__name__':'__main__'}
  File "", line 316, in <module>
  File "", line 311, in run_setup
  File "C:\Anaconda\lib\distutils\", line 112, in setup
    _setup_distribution = dist = klass(attrs)
  File "C:\Anaconda\lib\site-packages\setuptools\", line 225, in __init__

  File "C:\Anaconda\lib\distutils\", line 287, in __init__
  File "C:\Anaconda\lib\site-packages\setuptools\", line 258, in finalize
    ep.load()(self,, value)
  File "C:\Anaconda\lib\site-packages\", line 2013, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "C:\Anaconda\lib\site-packages\", line 21, in <module
    class build_cython(Cython.Distutils.build_ext, object):
AttributeError: 'module' object has no attribute 'Distutils'

Comments (2)

  1. Jan-Philip Gehrcke repo owner

    Pip does not even reach gipc installation in your case. Your gevent installation is failing already. But you also should not report this to the gevent issue tracker, because your setup is "broken". I recommend setting up a clean environment using virtualenv, which pulls fresh pip/setuptools code which you can then use -- independently of the possibly old and screwed packaging environment provided by your anaconda.

    Closing this now.

  2. Log in to comment