Just got into using ledger and I love it. I need to start using python with ledger, and running into some trouble. I've scoured the previous post and made progress, but full success still evades me. Ledger without python works fine.
I am running OS X 10.10.1 (Yosemite) with Python 2.7.6. gcc is : [local] gcc -v Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.0.0 Thread model: posix I have tried two things: 1 .I have been able to compile the source code through the acmake command fine after enabling python, but it cannot find the python module when I do "python import". 2. I install "brew install --with-python ledger" and I get the following: [local] python [GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.2.79)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ledger Fatal Python error: PyThreadState_Get: no current thread [1] 87853 abort python The PyThreadState_Get seems related to LoadableModule on Python OSX binding <http://comments.gmane.org/gmane.comp.programming.tools.scons.user/23384> issue and I do not want to mess around with a new python version (many of my projects use Python and I do not want to introduce any new variables) I have been exploring a little more on both of those options, but have not had any luck. Would any of you have any experience in this and have a recommendation? -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
