<p>On Oct 25, 2013 3:52 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 9:31:16 AM, Oscar Benjamin (<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 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:<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. Attempts to upgrade setuptools or pip result in another error message (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>
> ><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 setuptools 1.1.6. I also tried "upgrading" Numpy (since I'm using Numpy distutils) by installing from their git repository, and I'm still getting the same error.<br>
><br>
> Is anything obviously wrong with the setup.py?</p>
<p>I don't know but I'm not totally clear what you mean. Previously you described multiple problems: with pip, setuptools and pykrylov. Have you successfully installed setuptools now?</p>
<p>If the "same error" is with pykrylov's setup.py have you tried debugging it? E.g. 'python -m pdb setup.py install'<br></p>
<p>Oscar</p>