[Ironpython-users] SymPy and IronPython 2.7.4

Jeff Hardy jdhardy at gmail.com
Tue Apr 8 11:28:22 CEST 2014


On Tue, Apr 8, 2014 at 9:08 AM, Andrew Ayre <andy at britishideas.com> wrote:
> Thanks. Making progress... Now it can't find sympy.sets.fancysets. I've
> added the folder where the module is defined to sys.path:
>
> =============================================
>>>>sys.path.append('../../PythonLib/sympy/sets')
>
>>>>sys.path
>
> ['.', 'C:\\Users\\Andy\\Documents\\ADScript\\bin\\Debug\\Lib',
> 'C:\\Users\\Andy\\Documents\\ADScript\\bin\\Debug\\DLLs',
> 'C:\\Users\\Andy\\Documents\\ADScript\\bin\\Debug\\PythonLib',
> '../../PythonLib', '../../PythonLib', '../../PythonLib/sympy/mpmath',
> '../../PythonLib/sympy/sets']
>
>>>>from sympy.sets.fancysets import Naturals0
>
> Traceback (most recent call last):
>   File "<string>", line 1, in <module>
>   File "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\__init__.py",
> line 34, in <module>
>   File
> "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\assumptions\__init__.py",
> line 2, in <module>
>   File
> "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\assumptions\ask.py",
> line 323, in <module>
>   File "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\core\cache.py",
> line 93, in wrapper
>   File
> "C:\Users\Andy\Documents\ADScript\PythonLib\sympy\core\function.py",
> line 185, in __new__
> ImportError: No module named fancysets
> =============================================
>
> Here is what the folder structure looks like:
>
> https://github.com/sympy/sympy/tree/master/sympy/sets

Which version of IronPython? It sure looks like the import bug, but if
you're still hitting in 2.7.5b1 then we'll have to reopen it.

- Jeff


More information about the Ironpython-users mailing list