On Sun, Sep 2, 2012 at 11:26 PM, Lennart Regebro <rege...@gmail.com> wrote: > Switched from python-dev to python-porting. > > On Sun, Sep 2, 2012 at 9:48 PM, anatoly techtonik <techto...@gmail.com> wrote: >> I work offline from remote location about 2000m above the sea level. There >> is no internet connection here, so I can not use tracker online. I need a >> Python editor here, and I have Spyder checkout. The problem is that my >> installation has only Python3. I've tried using 2to3 from setup.py >> (attached), but it fails when I execute: >> >> $ sudo python3 setup.py install >> >> stderr.log and stdout.log are attached. Is it the intended behavior? >> It is also hard find "Porting Python 2 Code to Python 3" article, because it >> is not referenced from "Porting to Python 3.x" chapters. > > 2to3 has not been run on the code that gives you errors. The traceback > seems incomplete, and gives no indication of where in the install you > get the errors. From the stdout it seems like it just installs the > code without using 2to3. > > The only idea I have at this moment i sto make sure that the build > directories are empty.
Removing build/ directory helped indeed. I wonder why it doesn't remove them automatically? IIRC there is no incremental build support. -- anatoly t. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com