[sage-support] Gnuplot installation problem

2009-07-19 Thread mourad gouicem
Hello, I'm trying to install the optional package gnuplotpy-1.7.p3, but when I try to install it by typing ./sage -i gnuplotpy-1.7.p3, I get an error. The extraction finished successfully but the installation failed. Here is the traceback : Traceback (most recent call last): File setup.py,

[sage-support] Re: Gnuplot installation problem

2009-07-19 Thread mourad gouicem
Thank you for your answer, Can you tell me more precisely how do I install it and what do you mean by You can try to install the new one directly using the python with Sage? I've downloaded gnuplot.py (1.8) and installed it by running python setup.py install, but this command installs the

[sage-support] Re: Gnuplot installation problem

2009-07-19 Thread mourad gouicem
Thank you very much, It works On 19 juil, 19:37, William Stein wst...@gmail.com wrote: On 7/19/09, mourad gouicem gouicem.mou...@gmail.com wrote: Thank you for your answer, Can you tell me more precisely how do I install it and what do you mean by You can try to install the new one

[sage-support] using C code with ctypes module

2009-05-27 Thread mourad gouicem
Hello, I'm trying to use some C code I've written, using the ctypes module. So, I've compile my C code into a shared object and written the following code into the sage notebook : from ctypes import * myobj=CDLL(/home/mourad/Documents/PSTL/Simulator/simulator.so) #I specify the return type of