Re: [sage-support] Re: Can't import sage into Python

2014-07-09 Thread Jole Bradbury
Then how do people set up sage servers? Should I use the notebook? On Wednesday, July 9, 2014 12:32:31 PM UTC-4, William wrote: > > > > > On Wed, Jul 9, 2014 at 8:28 AM, Jole Bradbury > wrote: > >> Aha, that does make sense... And yes the Django import failed. My PATH >> has Python version 3.4 o

Re: [sage-support] Re: Can't import sage into Python

2014-07-09 Thread William Stein
On Wed, Jul 9, 2014 at 8:28 AM, Jole Bradbury wrote: > Aha, that does make sense... And yes the Django import failed. My PATH has > Python version 3.4 on it which should have been a dead giveaway since Sage > runs Python 2.6? Or 2.7 I believe? > > Would you recommend that I attempt to use kcrisma

[sage-support] Re: Can't import sage into Python

2014-07-09 Thread Jole Bradbury
Aha, that does make sense... And yes the Django import failed. My PATH has Python version 3.4 on it which should have been a dead giveaway since Sage runs Python 2.6? Or 2.7 I believe? Would you recommend that I attempt to use kcrisman's answer, or try to install Django in Sage's Python, OR sho

[sage-support] Re: Can't import sage into Python

2014-07-09 Thread Nils Bruin
On Tuesday, July 8, 2014 11:53:33 AM UTC-7, Jole Bradbury wrote: > > I have a Django project with > views.py: > > #!/usr/bin/env sage -python > > from django.shortcuts import render > from django.http import HttpResponse > import sys > from django.http import HttpRequest > from django.template imp

Re: [sage-support] Sage error

2014-07-09 Thread Vincent Delecroix
Hello, It seems that there is written something like import cplex_backend and that cplex_backend does not exist... could you send the complete traceback? Vincent 2014-07-09 17:08 UTC+02:00, Mohammed hussein : > Hello > > I downloaded Sage and Cplex and I connected the two software together: Wh

[sage-support] Sage error

2014-07-09 Thread Mohammed hussein
Hello I downloaded Sage and Cplex and I connected the two software together: When I tried to run a sage file using load keyword load("filename") I faced the following error ImportError: No module named cplex_backend Please help me to fix the error Thanks Mohammed -- You received this mess

[sage-support] Re: Can't import sage into Python

2014-07-09 Thread kcrisman
If anyone else who knows more about this stuff is following the conversation, I'd appreciate an eye thrown on my updated answer at http://stackoverflow.com/questions/24636822/how-to-properly-import-sage/ which involves writing a Python script whose sole purpose is to call a shell script calling

[sage-support] Re: Remove sage

2014-07-09 Thread Mohammed hussein
Thank You Jan for your help I want to download sage and cplex in my ubuntu machine if you have documentation please I need it. Which is first I must installed sage or cplex ? On Wednesday, July 9, 2014 12:38:13 PM UTC+2, Mohammed hussein wrote: > > Hello > > How to remove sage from Ubuntu > > A

Re: [sage-support] Remove sage

2014-07-09 Thread Jan Groenewald
Hi Depends how you installed it. sudo apt-get -y purge sagemath-upstream-binary or if from binary or source, delete the top folder Regards, Jan On 9 July 2014 12:38, Mohammed hussein wrote: > Hello > > How to remove sage from Ubuntu > > All the best > > -- > You received this message becau

[sage-support] Remove sage

2014-07-09 Thread Mohammed hussein
Hello How to remove sage from Ubuntu All the best -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this g