Attempting to bootstrap and getting weird errors

Posted by miah on Super User See other posts from Super User or by miah
Published on 2014-06-02T20:57:09Z Indexed on 2014/06/02 21:31 UTC
Read the original article Hit count: 386

Filed under:
|

I'm on a new computer(mac 10.9.2) and I am attempting to bootstrap my companies project, but setuptools is failing.

I can run python bootstrap.py, which creates the ./bin/buildout, but when I run the buildout, it returns the following error:

Traceback (most recent call last):
  File "./bin/buildout", line 17, in <module>
    import zc.buildout.buildout
  File "/Users/miah/Documents/realmassive/joson/eggs/zc.buildout-1.7.1-py2.7.    egg/zc/buildout/buildout.py", line 40, in <module>
    import zc.buildout.download
  File "/Users/miah/Documents/realmassive/joson/eggs/zc.buildout-1.7.1-py2.7.    egg/zc/buildout/download.py", line 20, in <module>
    from zc.buildout.easy_install import realpath
  File "/Users/miah/Documents/realmassive/joson/eggs/zc.buildout-1.7.1-py2.7.    egg/zc/buildout/easy_install.py", line 29, in <module>
    import setuptools.archive_util
  File "build/bdist.macosx-10.9-intel/egg/setuptools/archive_util.py", line     15, in <module>
ImportError: cannot import name ContextualZipFile

I've attempted installing it via https://pypi.python.org/pypi/setuptools#unix-including-mac-os-x-curl and homebrew.

© Super User or respective owner

Related posts about osx

Related posts about python