[sage-support] Re: Using Sage Python as System Python

2011-01-12 Thread emil
On Jan 12, 6:22 am, mankoff mank...@gmail.com wrote: On Jan 11, 9:57 pm, Adam Webb maxthemo...@googlemail.com wrote: On Jan 12, 6:49 am, mankoff mank...@gmail.com wrote: Hi Group, I'm using Sage as my python install. How can I upgrade a python package within sage? For example,

[sage-support] Re: Using Sage Python as System Python

2011-01-12 Thread Adam Webb
On Jan 12, 11:00 am, emil emil.widm...@gmail.com wrote: Hm, I ask that here because it seems related somehow. Is there a way to make plotting behave normal from the python commandline? I know that from the notebook it will show all pictures which are stored in the notebook directory. I

[sage-support] Re: Using Sage Python as System Python

2011-01-12 Thread emil
My guess is that matplotlib was built without the gui. I build Sage from source and in that case it is necessary to set an environment variable. For example in bash: export SAGE_MATPLOTLIB_GUI='yes'. This then will tell it to try to build a gui. It does require that the needed devel packages

[sage-support] Re: Using Sage Python as System Python

2011-01-12 Thread Adam Webb
On Jan 12, 4:21 pm, emil emil.widm...@gmail.com wrote: My guess is that matplotlib was built without the gui. I build Sage from source and in that case it is necessary to set an environment variable. For example in bash: export SAGE_MATPLOTLIB_GUI='yes'. This then will tell it to try to

[sage-support] Re: Using Sage Python as System Python

2011-01-11 Thread Adam Webb
On Jan 12, 6:49 am, mankoff mank...@gmail.com wrote: Hi Group, I'm using Sage as my python install. How can I upgrade a python package within sage? For example, pygmentize is version 0.11, and I'd like to upgrade this. Easy_install doesn't seem to be working, or places the new binary in

[sage-support] Re: Using Sage Python as System Python

2011-01-11 Thread mankoff
On Jan 11, 9:57 pm, Adam Webb maxthemo...@googlemail.com wrote: On Jan 12, 6:49 am, mankoff mank...@gmail.com wrote: Hi Group, I'm using Sage as my python install. How can I upgrade a python package within sage? For example, pygmentize is version 0.11, and I'd like to upgrade this.