Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Piggy-backing on @vdelecroix's answer, I wrote a whole little tutorial on using Sage from PyCharm here: https://ask.sagemath.org/question/39742/make-pycharm-recognise-the-sage-python-interpreter/?answer=40220#post-id-40220

I believe due to some recent changes in Sage its now even easier than that and requires setting fewer environment variables, but I'm not positive. Haven't tested it in a while.

Piggy-backing on @vdelecroix's answer, I wrote a whole little tutorial on using Sage from PyCharm here: https://ask.sagemath.org/question/39742/make-pycharm-recognise-the-sage-python-interpreter/?answer=40220#post-id-40220

I believe due to some recent changes in Sage its now even easier than that and requires setting fewer environment variables, but I'm not positive. Haven't tested it in a while.

Second, as (former; haven't needed it in a while) user of QuTiP, anaconda is not required to install it. You can pip install it into Sage's Python by running

$ pip install qutip

in the Sage shell. All of its dependencies are already included in Sage.

It does suck having to have two copies, and that Sage currently requires its own Python interpreter. But that's something that could be improved if more of Sage's dependencies were ported to native Windows (or if Anaconda added official support for packages built with Cygwin support; ask them they have millions of dollars in DoD funding).

Piggy-backing on @vdelecroix's answer, I wrote a whole little tutorial on using Sage from PyCharm here: https://ask.sagemath.org/question/39742/make-pycharm-recognise-the-sage-python-interpreter/?answer=40220#post-id-40220

I believe due to some recent changes in Sage its now even easier than that and requires setting fewer environment variables, but I'm not positive. Haven't tested it in a while.

Second, as (former; haven't needed it in a while) user of QuTiP, anaconda is not required to install it. You can pip install it into Sage's Python by running

$ pip install qutip
'qutip<4.4.0'

(slight update: it appears QuTiP has at some point ceased continuous integration on Python 2 and have been letting Python 2 support break, despite not announcing anywhere a plan to cease Python 2 support, so it turned out the latest version contains Python 3-only syntax and is broken on Python 2; Sage 9.0 when it's released, will likely be the first to claim support for Python 3, and there will likely be a Python 3 Windows build as well.)

in the Sage shell. All of its dependencies are already included in Sage.

It does suck having to have two copies, and that Sage currently requires its own Python interpreter. But that's something that could be improved if more of Sage's dependencies were ported to native Windows (or if Anaconda added official support for packages built with Cygwin support; ask them they have millions of dollars in DoD funding).