\[ \int \frac {e^{4-100 e^{4-2 x}-x} \left (e^{-4+2 x} (-1+x)+200 x\right )}{x^2} \, dx \]
Optimal antiderivative \[ 5+\frac {{\mathrm e}^{x} {\mathrm e}^{-100 \,{\mathrm e}^{4-2 x}}}{x} \]
command
integrate(((-1+x)*exp(-2+x)**2+200*x)*exp(x)/x**2/exp(-2+x)**2/exp(100/exp(-2+x)**2),x)
Sympy 1.10.1 under Python 3.10.4 output
\[ \text {Exception raised: SystemError} \]
Sympy 1.8 under Python 3.8.8 output
\[ \frac {e^{x} e^{- 100 e^{4} e^{- 2 x}}}{x} \]