[sage-support] Re: Write Sage in Pycharm

2015-02-28 Thread Ralf Stephan
On Saturday, February 28, 2015 at 7:44:11 PM UTC+1, pegah Ali wrote:
>
> I have two problems: 
> - If I understood correctly, I have to add Sage interpreter into Pycharm. 
>
 
Only if you want to use the Run menu items. But that's not really necessary.
You can start Sage in a second terminal and say
%attach filepath.py
and every time you save the file in the IDE it is interpreted in the Sage 
session. 

  By reading previous post in sage-support group I found out:  if I install 
> Sage and copy it into the same directory of the installed python, after 
> writing ./python in command line 
>   Sage will be launched instead of python. Then after choosing python as 
> an interpreter in Pycharm, it will contain Sage modules also. The point is 
> that, I don't know what should be copied from already installed sage in 
> python directory exactly?
>
I have no idea about that. I myself use the IDE in the way described above
and solve most of my debugging tasks with well-placed print statements.
 
Regards, 

-- 
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 group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] SageMath Cloud running in Localhost

2015-02-28 Thread William Stein
On Sat, Feb 28, 2015 at 6:59 AM, John Usp  wrote:
> Hi, is possible to install SageMath Cloud in my computer for my personal
> use?

It's possible, but not currently **supported**, due to lack of time
(note: all code is open source and available at
https://github.com/sagemath/cloud).E.g., one of the steps to set
it up right now would be to create a cassandra database then manually
copy and paste things from the file db_scheme.cql into the command
prompt... and fix issues that probably arise.

I've suggested making an easy personal version of SMC available, which
uses sqlite (or at least a simple automated cassandra setup) as a
project for Google Summer of Code here:

   http://wiki.sagemath.org/GSoC/2015#SageMathCloud

> I like so much the website https://cloud.sagemath.org/, but several times
> I'm off-line and will be useful to use SageMath "Localhost" off-line.
>
> Someone know some tutorial to do that? (I use Linux).
>
> Thank you,
> John
>
> --
> 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 group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.



-- 
William (http://wstein.org)

-- 
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 group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] SageMath Cloud running in Localhost

2015-02-28 Thread John Usp
Hi, is possible to install SageMath Cloud in my computer for my personal 
use?

I like so much the website https://cloud.sagemath.org/, but several times 
I'm off-line and will be useful to use SageMath "Localhost" off-line.

Someone know some tutorial to do that? (I use Linux).

Thank you,
John

-- 
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 group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Write Sage in Pycharm

2015-02-28 Thread pegah Ali
Ralf, I am on linux operating system. Ubuntu 13.10 and Debian 3.2  are two 
OS that I work with at the moment.

I have two problems: 
- If I understood correctly, I have to add Sage interpreter into Pycharm. 
  By reading previous post in sage-support group I found out:  if I install 
Sage and copy it into the same directory of the installed python, after 
writing ./python in command line 
  Sage will be launched instead of python. Then after choosing python as an 
interpreter in Pycharm, it will contain Sage modules also. The point is 
that, I don't know what should be copied from already installed sage in 
python directory exactly?
  I copied executable sage file, and it doesn't work. Although in the 
previous post, the person who has suggested this solution is not happy with:
  
  "*So, sage is my PyCharm interpreter but the sage modules of interest, 
which seemed to load successfully, are not working.*
*PyCharm shows sage as my python interpreter.  After changing "sage" to 
"python" to get it accepted, I edited the Settings entry changing "python" 
back to "sage."  I still couldn't get the python modules to work.  There is 
more to sage than the   *
*python.  I am done **messing with this*" 

   Then, I am wondering is there another way for handling this issue.
 
- Yes Tom, if it is possible to activate sage syntax highlighting in 
Pycharm, it will be great. 

Thank you everybody


On Friday, February 27, 2015 at 6:20:21 PM UTC+1, pegah Ali wrote:
>
> Hello Everybody,
>
> Sorry for posting the same question. I searched a lot but I didn't find 
> anything understandable. It might be because of my weakness in related 
> concepts. 
> I am trying to use Pycharm as an IDE for Sage codes. I read this 
> discussion, but It was not enough clear for me.
>
>
> https://groups.google.com/forum/#!searchin/sage-support/pycharm/sage-support/UEbsgwSLvYs/rnEh1p8CED4J
>
> Could you help me please. Either, if you suggest a better IDE for sage let 
> me know please.
> I would be very appreciated for your answers.
>
> Thanks and Regards  
>
>

-- 
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 group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


Re: [sage-support] Re: Write Sage in Pycharm

2015-02-28 Thread Tom Boothby
Perhaps Pegah wants syntax highlighting specific for sage?

On Sat, Feb 28, 2015 at 9:36 AM, Ralf Stephan  wrote:
>  What exactly is the problem? Are you on OSX? Do you want to use Sage
> as interpreter in PyCharm?
>
> --
> 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 group, send email to sage-support@googlegroups.com.
> Visit this group at http://groups.google.com/group/sage-support.
> For more options, visit https://groups.google.com/d/optout.

-- 
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 group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.


[sage-support] Re: Write Sage in Pycharm

2015-02-28 Thread Ralf Stephan
 What exactly is the problem? Are you on OSX? Do you want to use Sage
as interpreter in PyCharm?

-- 
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 group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.