<p><br>
On Oct 31, 2013 4:09 PM, "Dominique Orban" <<a href="mailto:dominique.orban@gmail.com">dominique.orban@gmail.com</a>> wrote:<br>
><br>
> On 25 October, 2013 at 2:06:34 PM, Dominique Orban (<a href="mailto:dominique.orban@gmail.com">dominique.orban@gmail.com</a>) wrote:<br>
> ><br>
> ><br>
> ><br>
> >On 25 October, 2013 at 1:56:26 PM, Oscar Benjamin (<a href="mailto:oscar.j.benjamin@gmail.com">oscar.j.benjamin@gmail.com</a>) wrote:<br>
> >><br>
> >>On Oct 25, 2013 3:52 PM, "Dominique Orban"<br>
> >>wrote:<br>
> >>><br>
> >>><br>
> >>><br>
> >>> On 25 October, 2013 at 9:31:16 AM, Oscar Benjamin (<br>
> >><a href="mailto:oscar.j.benjamin@gmail.com">oscar.j.benjamin@gmail.com</a>) wrote:<br>
> >>> ><br>
> >>> >On 24 October 2013 21:04, Dominique Orban wrote:<br>
> >>> >><br>
> >>> >> I hope this is the right place to ask for help. I'm not finding much<br>
> >>comfort in the PyPi documentation or in Google searches. I uploaded my<br>
> >>package `pykrylov` with `python setup.py sdist upload`. Installing it<br>
> >>locally with `python setup.py` install works fine but `pip install<br>
> >>pykrylov` breaks with the messages below. I since removed it from PyPI but<br>
> >>I get the same error message if I try installing from the git repository.<br>
> >>I'm hoping someone can put me on track as I've no idea what's wrong. You<br>
> >>can see my setup.py here:<br>
> >>> >><br>
> >>> >><br>
> >><a href="https://github.com/dpo/pykrylov/blob/ea553cdb287f6e685406ceadcb297fd6704af52d/setup.py">https://github.com/dpo/pykrylov/blob/ea553cdb287f6e685406ceadcb297fd6704af52d/setup.py</a><br>
> >>> >><br>
> >>> >> I'm using Python 2.7.5 on OSX installed with Homebrew and pip 1.4.1.<br>
> >>Attempts to upgrade setuptools or pip result in another error message<br>
> >>(AttributeError: 'str' object has no attribute 'rollback')...<br>
> >>> ><br>
> >>> >Can you install a more recent setuptools by downloading it and running<br>
> >>> >the setup.py yourself?<br>
> >>> ><br>
> >><a href="https://pypi.python.org/packages/source/s/setuptools/setuptools-1.1.6.tar.gz">https://pypi.python.org/packages/source/s/setuptools/setuptools-1.1.6.tar.gz</a><br>
> >>><br>
> >>> Thanks for the suggestion. I'm still getting the same error with<br>
> >>setuptools 1.1.6. I also tried "upgrading" Numpy (since I'm using Numpy<br>
> >>distutils) by installing from their git repository, and I'm still getting<br>
> >>the same error.<br>
> >>><br>
> >>> Is anything obviously wrong with the setup.py?<br>
> >><br>
> >>I don't know but I'm not totally clear what you mean. Previously you<br>
> >>described multiple problems: with pip, setuptools and pykrylov. Have you<br>
> >>successfully installed setuptools now?<br>
> >><br>
> >>If the "same error" is with pykrylov's setup.py have you tried debugging<br>
> >>it? E.g. 'python -m pdb setup.py install'<br>
> ><br>
> >"python setup.py install" works fine. It's the installation with pip that returns the error message I mentioned. I was wondering if something in setup.py didn't agree with pip/setuptools.<br>
> ><br>
> >Yes I installed setuptools 1.1.6. But "pip install -e git://<a href="http://github.com/dpo/pykrylov.git@ea553cd#egg=pykrylov">github.com/dpo/pykrylov.git@ea553cd#egg=pykrylov</a>" still returns "AttributeError: 'tuple' object has no attribute 'split'".<br>

> ><br>
> >I hope I'm making sense.<br>
><br>
> Anybody can provide any help with this?</p>
<p>Run pip under pdb. Find the location of the pip script and run:<br>
python -m pdb /path/to/pip install ...</p>
<p>Then find out which object has the wrong type and see if you can trace it back to something in the setup.py.<br></p>
<p>Oscar</p>