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
Post a Comment