Conda packages for SymEngine

97 views
Skip to first unread message

Isuru Fernando

unread,
Jun 19, 2016, 11:29:29 AM6/19/16
to symengine
Hi,

You can now install symengine via conda. They are hosted in conda-forge channel. There are 2 packages, symengine (C++ library) and python-symengine. Binaries are there for linux-64, osx-64, win-32 and win-64. Python packages are built for Python 2.7, 3.4 and 3.5 on linux and osx. Python package is only available for Python 3.5 on windows (Since only Python 3.5 uses MSVC 15 we need for C++11 features)

To install you can do,

conda install python-symengine --channel conda-forge    # Python package

OR

conda install symengine --channel conda-forge               # just the C++ library


Conda recipes can be found here and here. Linux and OS X builds use GMP, MPFR and MPC, while Windows builds use MPIR. Next goal would be to use MPFR and MPC on windows and also to use FLINT on all platforms.

Let me know if there are any issues with the binaries.

Thanks,

Isuru Fernando


Alex Goldshtein

unread,
Dec 19, 2017, 8:12:16 PM12/19/17
to symengine
Hi Isuru Fernando,
I tried to install symengine via conda and have got the followng reply on the cmd shell:

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

 

C:\Users\Intel>      

C:\Users\Intel>conda install python-symengine --channel conda-forge     

 Fetching package metadata ...............                                 Solving

 package specifications: .

                   UnsatisfiableError: The following specifications were found to be in confl  - python 2.7*

                                               - python-symengine -> python 3.5*                                    

  Use "conda info <package>" to see the dependencies for each package.

I also tried to import symengine  from jupyter nobook and have got the following reply (see attachment).

I am just a researcher (not programmer) working with Python ecosystem, which I installed via Anaconda (conda).

What should I do to install symengine?

Alex Goldshtein 

Symengine_ImportError.html

Isuru Fernando

unread,
Dec 19, 2017, 8:21:20 PM12/19/17
to symengine
Hi,

We don't support symengine officially for python < 3.5 on windows due to the compiler versions used in older python versions. You can create a new environment for python 3.6 like,

conda config --add channels conda-forge
conda config --add channels symengine
conda create -n py36 python=3.6 python-symengine
activate py36

Isuru

--
You received this message because you are subscribed to the Google Groups "symengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to symengine+unsubscribe@googlegroups.com.
To post to this group, send email to syme...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/symengine/02a15d01-2f03-4dbc-bfa6-57a3cee51b8e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Goldshtein

unread,
Dec 20, 2017, 2:08:13 PM12/20/17
to symengine
Dear Isuru.
Thank you for prompt reply.
I will take your advice.
Alex
To unsubscribe from this group and stop receiving emails from it, send an email to symengine+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages