Skip to content

Instantly share code, notes, and snippets.

@cdeil
Created May 19, 2014 21:55
Show Gist options
  • Save cdeil/382da88c55f46a17d329 to your computer and use it in GitHub Desktop.
Save cdeil/382da88c55f46a17d329 to your computer and use it in GitHub Desktop.
$ python3.3 setup.py build
Compiling wrappers/xpa.pyx because it changed.
Cythonizing wrappers/xpa.pyx
Traceback (most recent call last):
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/setuptools/dist.py", line 309, in fetch_build_egg
cmd = self._egg_fetcher
AttributeError: 'Distribution' object has no attribute '_egg_fetcher'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 90, in <module>
ext_modules=[xpa_module]
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/core.py", line 109, in setup
_setup_distribution = dist = klass(attrs)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/setuptools/dist.py", line 260, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/setuptools/dist.py", line 285, in fetch_build_eggs
replace_conflicting=True
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pkg_resources.py", line 631, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pkg_resources.py", line 871, in best_match
return self.obtain(req, installer)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/pkg_resources.py", line 883, in obtain
return installer(requirement)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/site-packages/setuptools/dist.py", line 314, in fetch_build_egg
dist.parse_config_files()
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/distutils/dist.py", line 381, in parse_config_files
parser.read(filename)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/configparser.py", line 672, in read
self._read(fp, filename)
File "/opt/local/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/configparser.py", line 1070, in _read
fpname, lineno)
configparser.DuplicateOptionError: While reading from 'setup.cfg' [line 36]: option 'modules' in section 'files' already exists
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment