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

Python __call__ special method practical example -

How can I edit my VIM config so that Vim treats ".ejs" files the same as it currently treats my html files? -