How to use rubi_integrate in sympy?

192 views
Skip to first unread message

nma%12...@gtempaccount.com

unread,
Nov 26, 2017, 12:03:55 AM11/26/17
to sympy
I am trying to find how to use rubi_integrate in sympy.

Here is a link


This is the project page


I do not know if this is integrated in sympy or not. If not, what are the steps
to use it? btw, I am using Anaconda python on linux.

I just installed python 3.6.3 (Anaconda) and sympy 1.1.1, but do not know what I need to do next
to use this rubi_integrate command.

---------------------------------------------

~>python
Python 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49) 
[GCC 7.2.0] on linux

>>> import sympy
>>> sympy.__version__
'1.1.1'

>>> from sympy import *

>>> from sympy.integrals.rubi.rubi import rubi_integrate
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'sympy.integrals.rubi'

-----------------------------------------------------------


Thank you,
---Nasser

Francesco Bonazzi

unread,
Nov 27, 2017, 12:50:00 PM11/27/17
to sympy
You need Python 3.6 and MatchPy installed, after import rubi_integrate:

from sympy.integrals.rubi.rubi import rubi_integrate

Beware: the state of RUBI is incomplete, most results are likely to give wrong results and raise exceptions.

Francesco Bonazzi

unread,
Nov 27, 2017, 12:51:10 PM11/27/17
to sympy
Forgot to mention that you need the latest development version for that.

nma%12...@gtempaccount.com

unread,
Nov 27, 2017, 1:10:24 PM11/27/17
to sympy


On Monday, November 27, 2017 at 11:51:10 AM UTC-6, Francesco Bonazzi wrote:
Forgot to mention that you need the latest development version for that.



Thanks. I am using conda on linux. It is version 3.6.3  But when I do

conda install MatchPy
Fetching package metadata ...........

PackageNotFoundError: Packages missing in current channels:
            
  - matchpy

We have searched for the packages in the following channels:
            

You say I need latest development version of sympy?  I am using 1.1.1.

Please note, I know very little about installation of sympy or python, I used
conda because it was the easier way to install all of this.

Could you provide simple instructions what I need to do to install everything
I need manually?  Can I still use conda python?

Thanks
--Nasser
Reply all
Reply to author
Forward
0 new messages