[Distutils] AttributeError: 'tuple' object has no attribute 'split'

Oscar Benjamin oscar.j.benjamin at gmail.com
Fri Oct 25 15:30:56 CEST 2013


On 24 October 2013 21:04, Dominique Orban <dominique.orban at gmail.com> wrote:
>
> I hope this is the right place to ask for help. I'm not finding much comfort in the PyPi documentation or in Google searches. I uploaded my package `pykrylov` with `python setup.py sdist upload`. Installing it locally with `python setup.py` install works fine but `pip install pykrylov` breaks with the messages below. I since removed it from PyPI but I get the same error message if I try installing from the git repository. I'm hoping someone can put me on track as I've no idea what's wrong. You can see my setup.py here:
>
> https://github.com/dpo/pykrylov/blob/ea553cdb287f6e685406ceadcb297fd6704af52d/setup.py
>
> I'm using Python 2.7.5 on OSX installed with Homebrew and pip 1.4.1. Attempts to upgrade setuptools or pip result in another error message (AttributeError: 'str' object has no attribute 'rollback')...

Can you install a more recent setuptools by downloading it and running
the setup.py yourself?
https://pypi.python.org/packages/source/s/setuptools/setuptools-1.1.6.tar.gz


Oscar


More information about the Distutils-SIG mailing list