On Jul 19, 11:31 am, mourad gouicem <[email protected]> wrote:
> 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", line 17, in
> <module>
> from __init__ import
> __version__
> File "/home/mourad/Telechargements/sage-3.4.2/spkg/build/
> gnuplotpy-1.7.p3/src/__init__.py", line 167, in <module>
> from PlotItems import PlotItem, Func, File, Data, GridData
> File "/home/mourad/Telechargements/sage-3.4.2/spkg/build/
> gnuplotpy-1.7.p3/src/PlotItems.py", line 88
> 'with' : lambda self, with: self.set_string_option(
> ^
> SyntaxError: invalid syntax
> Error installing gnuplotpy.
>
> I'm using sage 3.4.2 upgraded to 4.1.
>
> Thank you.
It appears that the python upgrade to 2.6 broke the package. I think
the new version of gnuplot.py (1.8) might work. You can try to install
the new one directly using the python with Sage. You can get it
directly from http://gnuplot-py.sourceforge.net/.
Adam
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---