[Ironpython-users] SymPy and IronPython 2.7.4

Jeff Hardy jdhardy at gmail.com
Tue Apr 8 00:32:17 CEST 2014


On Mon, Apr 7, 2014 at 10:16 PM, Andrew Ayre <andy at britishideas.com> wrote:
> Thanks. Unfortunately I still get the error:
>
> =============================================
>>>>import sympy
>
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\__init__.py",
> line 32, in <module>
>   File
> "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\core\__init__.py",
> line 8, in <module>
>   File "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\core\expr.py",
> line 7, in <module>
>   File "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\core\evalf.py",
> line 9, in <module>
> AttributeError: 'module' object has no attribute 'mpmath'
> =============================================

You need to make sure the mpmath library is in sys.path as well; I
don't know if SymPy includes it.

>
> Note that IronPython 2.7.5b1 is showing version 2.7.0.40 in my console,
> but IronPython.dll in the same folder as my exe shows 2.7.5b1 in the
> Windows Explorer properties.

Yeah, 2.7.0.40 is the assembly version; for weird .NET-specific
reasons it never changes.

- Jeff


More information about the Ironpython-users mailing list