# Revision history [back]

### isympy/sympy sagemath integration ?

I'm trying to integrate

integrate((1/x**a)*(1/(1-x)),x)


With sympy; which succeeds in isympy. But I need to separately import sympy

from sympy import *
x, a = symbols('x a')
integrate(1/(1-x)*1/(x^a),x)


Works, whereas simple

integrate(1/(1-x)*1/(x^a),x, algorithm="sympy")


fails when the import is missing. It also fails (differently) after the import :) only

integrate(1/(1-x)*1/(x^a),x)


works. I didn't see that mentioned.
No big problem, after I spent some time going down the subprocess error rabbit hole.
Is this a documentation error that should be reported?