How to import a library GMP into Sage/Python project -


i have installed gmp library, want import library sage project tried put :

      import libgmpxx.so.4        libgmpxx.so.4.path.append('usr/local/lib/') 

but does'nt work unfortunately, how can that. regards

sage's integer class uses gmp (or mpir) automatically. if trying use gmp independently of sage, @ gmpy.

disclaimer: i'm maintainer of gmpy.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -