Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-21 Thread PHPirate
Thanks, you were right! I updated to 8.1 and did everything again, and it works now! Not sure what the problem was. It's not too fast (30 seconds to execute) but it works. But I still have to execute in the Sage shell sage-preparse filename.sage in order to generate a python file with the proper

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-21 Thread Erik Bray
On Wed, Dec 20, 2017 at 8:59 AM, PHPirate wrote: > Thanks to Erik Bray PyCharm does now successfully (see ask.sagemath.org) > recognise Sage's python. Also in the packages list Sage shows. > > When I now try to > from sage.all import * > I get > RuntimeError: libSingular not found--a working Sing

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-21 Thread Erik Bray
On Tue, Dec 19, 2017 at 6:33 PM, PHPirate wrote: > Ho, I had not seen that you had posted on ask.sagemath.org! I don't have > time to try right now, but I will later - I think it really helps a lot! > > Re the question of IDE/editor: You're right I messed my wording up a bit, > sorry. But I purpos

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-20 Thread Dima Pasechnik
I don't think files with names ending with .a are the ones you need. They are not DLLs. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@goog

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-20 Thread PHPirate
Ah, searched for dll and found in local/lib libSingular.a and libSingular.dll.a but adding local/lib to my path didn't help. On Wednesday, December 20, 2017 at 12:24:01 PM UTC+1, Dima Pasechnik wrote: > > there should be libSingular.so or/and libSingular.dll somewhere. Where? > Find out and add

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-20 Thread Dima Pasechnik
there should be libSingular.so or/and libSingular.dll somewhere. Where? Find out and add these locations. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-dev

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-20 Thread PHPirate
Hm, the only .so files I have in local/ are libzn_poly.so and libzn_poly-0.9.so I do have Singular folders in local/share/singular and also in local/lib/python2.7/site-packages/sage/libs/singular I added both of them to my path, but that didn't help. On Wednesday, December 20, 2017 at 11:53:15 A

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-20 Thread Dima Pasechnik
add the location of that .so file---somewhere in local/ subdirectory, as in setx Path command given by Erik in ask.sagemath.org---to Path in that command. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop r

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-19 Thread PHPirate
Thanks to Erik Bray PyCharm does now successfully (see ask.sagemath.org ) recognise Sage's python. Also in the packages list Sage shows. When I now try to from sage.all import * I get RuntimeError: libSingular not found--a working Singular install in

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-19 Thread PHPirate
Ho, I had not seen that you had posted on ask.sagemath.org ! I don't have time to try right now, but I will later - I think it really helps a lot! Re the question of IDE/editor: You're

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-19 Thread Erik Bray
On Tue, Dec 19, 2017 at 9:41 AM, Dima Pasechnik wrote: > > > On Tuesday, December 19, 2017 at 6:30:42 AM UTC, PHPirate wrote: >> >> Thanks for the replies, so I would be very interested to run vim or emacs >> on Windows (although I have never heard of any windows user doing so) but >> since you bo

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-19 Thread Erik Bray
On Tue, Dec 19, 2017 at 7:30 AM, PHPirate wrote: > Thanks for the replies, so I would be very interested to run vim or emacs on > Windows (although I have never heard of any windows user doing so) but since > you both run a different OS you may not know how to set this up on Windows? > I'll try in

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-19 Thread Dima Pasechnik
On Tuesday, December 19, 2017 at 6:30:42 AM UTC, PHPirate wrote: > > Thanks for the replies, so I would be very interested to run vim or emacs > on Windows (although I have never heard of any windows user doing so) but > since you both run a different OS you may not know how to set this up on

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread PHPirate
Thanks for the replies, so I would be very interested to run vim or emacs on Windows (although I have never heard of any windows user doing so) but since you both run a different OS you may not know how to set this up on Windows? I'll try in any case later on, I think I should open a separate to

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread Dima Pasechnik
On Monday, December 18, 2017 at 8:20:18 PM UTC, David Roe wrote: > > > > On Mon, Dec 18, 2017 at 8:55 AM, PHPirate > wrote: > >> Thanks, that sounds a bit too difficult for me though so I'll just stick >> to writing in PyCharm and try to execute my Sage files via the Sage shell. >> >> But out o

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread David Roe
On Mon, Dec 18, 2017 at 8:55 AM, PHPirate wrote: > Thanks, that sounds a bit too difficult for me though so I'll just stick > to writing in PyCharm and try to execute my Sage files via the Sage shell. > > But out of curiosity, am I the only one wanting to write scripts in Sage? > Or are there oth

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread PHPirate
Bit off-topic but yeah, that's the kind of IDE Sage needs :) (MMa was maybe not the best example, I use packages all the time if I need to collaborate) On Monday, December 18, 2017 at 6:40:58 PM UTC+1, Peter Luschny wrote: > > I do not like notebooks such as this one and Mathematica because they

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread Peter Luschny
> > I do not like notebooks such as this one and Mathematica because they do > not go well with a VCS. > With Eclipse you have a powerful IDE for Mathematica. Called Wolfram Workbench. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsub

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread PHPirate
Thanks, that sounds a bit too difficult for me though so I'll just stick to writing in PyCharm and try to execute my Sage files via the Sage shell. But out of curiosity, am I the only one wanting to write scripts in Sage? Or are there other people using editors in the same way? On Monday, Decem

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread Erik Bray
On Mon, Dec 18, 2017 at 5:37 PM, PHPirate wrote: > Hm, it is at least worth a try (just saw your message on GH) Okay I can > understand if Sage has no syntax highlighting in any IDE on Windows, but as > the situation is now for me, is that there is no IDE in which you can type > Sage and then hit

Re: [sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread Erik Bray
On Mon, Dec 18, 2017 at 5:17 PM, Dima Pasechnik wrote: > > > On Monday, December 18, 2017 at 1:06:09 PM UTC, Erik Bray wrote: >> >> That sounds a bit bogus to me. I've never used PyCharm before and don't >> know how it works, but I suspect it could be made to work with Cygwin's >> Python. > > > P

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread PHPirate
Hm, it is at least worth a try (just saw your message on GH) Okay I can understand if Sage has no syntax highlighting in any IDE on Windows, but as the situation is now for me, is that there is no IDE in which you can type Sage and then hit 'run' and then get Sage output. Now I think I could wri

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread Dima Pasechnik
On Monday, December 18, 2017 at 1:06:09 PM UTC, Erik Bray wrote: > > That sounds a bit bogus to me. I've never used PyCharm before and don't > know how it works, but I suspect it could be made to work with Cygwin's > Python. > PyCharm is a closed-source product that has a wizard to pick up "

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-18 Thread Erik Bray
That sounds a bit bogus to me. I've never used PyCharm before and don't know how it works, but I suspect it could be made to work with Cygwin's Python. It's pretty low-priority for me though. I don't see how using PyCharm to edit sage source code would be useful--it won't even do syntax high

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-16 Thread PHPirate
Aha, yes indeed I noticed that some Sage components will not work on Windows but I didn't know about the Cygwin Python. Thanks for explaining! On Saturday, December 16, 2017 at 2:01:08 PM UTC+1, Dima Pasechnik wrote: > > I've already expalined here > https://github.com/sagemath/sage-windows/issu

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-16 Thread Dima Pasechnik
I've already expalined here https://github.com/sagemath/sage-windows/issues/12 that PyCharm doesn't support Cygwin Python, and thus it's not going to be trivial to fix. The reason that we must use Cygwin Python is that a number of essential Sage components (i.e. Python extensions you need) e.g.

[sage-devel] Re: Running Sage from an IDE like PyCharm on Windows.

2017-12-16 Thread PHPirate
Thanks, it sounds reasonable. But do you mean the Jupyter notebook included with Sage, which you can start with sage --notebook ipython from the Sage shell? I do not like notebooks such as this one and Mathematica because they do not go well with a VCS. Is it then possible to use this Jupyter t