When I update some packages in my Python installation using pip, I get
TypeError: resolve() got an unexpected keyword argument 'replace_conflicting'
I get this error for certain packages, not others, and asked about ways to get around it (ideally, continuing to use it pip) in specific cases when I come across this; but the question here is what error means in the first place and what could be the probable cause.
What does this error mean and what can cause it?
Downloading/unpacking xattr
Downloading xattr-0.7.5.tar.gz
Running setup.py (path:/private/tmp/pip_build_root/xattr/setup.py) egg_info for package xattr
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/private/tmp/pip_build_root/xattr/setup.py", line 67, in <module>
cmdclass={'build': cffi_build},
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True
TypeError: resolve() got an unexpected keyword argument 'replace_conflicting'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/private/tmp/pip_build_root/xattr/setup.py", line 67, in <module>
cmdclass={'build': cffi_build},
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 112, in setup
_setup_distribution = dist = klass(attrs)
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 239, in __init__
self.fetch_build_eggs(attrs.pop('setup_requires'))
File "/Library/Python/2.7/site-packages/setuptools/dist.py", line 264, in fetch_build_eggs
replace_conflicting=True
TypeError: resolve() got an unexpected keyword argument 'replace_conflicting'
orome source
share