ImportError: No module named sympy

1,907 views
Skip to first unread message

Richard Dybowski

unread,
Dec 18, 2011, 7:22:36 PM12/18/11
to sympy
I have followed the instructions to install sympy from
sympy-0.7.1.win32.exe but when I do "import sympy" I get the error
message "ImportError: No module named sympy". In contrast, I had no
problem with my installations of numpy and scipy.

Any suggestions please.

Regards,

Richard

Aaron Meurer

unread,
Dec 19, 2011, 1:17:02 AM12/19/11
to sy...@googlegroups.com
The information you give us doesn't really tell us much in the way of
helping you. What version of Python are you using, and where did you
get the installer from? Do the Python and/or SymPy installers give
any information regarding the installation paths?

Note, if you are not using the standard Python for Windows, but some
other Python that is 64-bit, then the .exe installer will not work.
See http://code.google.com/p/sympy/issues/detail?id=1235. The
solution is to either apply the workaround listed there, or to do a
source install.

Aaron Meurer

> --
> You received this message because you are subscribed to the Google Groups "sympy" group.
> To post to this group, send email to sy...@googlegroups.com.
> To unsubscribe from this group, send email to sympy+un...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sympy?hl=en.
>

Aaron Meurer

unread,
Dec 19, 2011, 1:18:14 AM12/19/11
to sy...@googlegroups.com
Oh, and do you have more than one version of Python installed? If so,
the SymPy installer will only install for one version at a time, so
try all the different versions. I don't know enough about Windows to
say how to install for other versions if this is the case, other than
by using a source install.

Aaron Meurer

Dr.Richard Dybowski

unread,
Jan 9, 2012, 9:37:05 PM1/9/12
to sy...@googlegroups.com
Thanks: using only Python 2.7.1 and removing the earlier versions
solved the problem.

Richard

Reply all
Reply to author
Forward
0 new messages