Re: Getting Python bindings working when installing ledger from source

2015-01-05 Thread Alexis
Hi Tim, I've investigated the issue and to me it seems that it is also necessary to pass the --python option to the ./acprep clean, otherwise CMake does not try to find and use Python and removing CMakeCache.txt before ./acprep --python --debug update isn't enough to (re-)activate Python support fo

Re: Getting Python bindings working when installing ledger from source

2015-01-05 Thread Tim Swanson
That did it! Thank you. For posterity, here's what I did. (I don't know how acprep works, but it looks like Alexis was doing a parallel build so as not to mess with anything already installed.) $ ./acprep gitclean $ ./acprep --python dependencies $ ./acprep --python clean $ ./acprep --p

Re: Getting Python bindings working when installing ledger from source

2015-01-05 Thread Tim Swanson
Sorry, typo. It's 'update' not '--update'. $ ./acprep gitclean $ ./acprep --python dependencies $ ./acprep --python clean $ ./acprep --python --debug update $ sudo make install $ ledger python -- --version Python 2.7.6 $ ledger python python/demo.py Welcome to the Ledger.Python