Python Forum

Full Version: trying to download sympy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,


Can someone give me directions to install sympy on mac please? python 2.7.10 running. thank you - i tried the conda install on the terminal but that failed. i also tried downloading sympy from github as a zip file and followed the instructions but i get syntax errors - any idea why please ?

thank you and regards
Show the errors
File "<stdin>", line 1
conda install sympy
^
SyntaxError: invalid syntax

Honestly no clue
If you are using Anaconda, you should already have sympy installed, in which case  you would want to use conda update sympy.  Though it would seem that "conda" is an unknown command. Have you tried installing any other packages?

You could also forget Anaconda and install it directly to Python (which should already be installed on a Mac) from the command line try pip install scypy
** Also, if you are using sypy v1.x or greater you have to enable/install "mpmath" as a prerequisite.
Hm! Anaconda with python 2.7?
Despite that Python 2.7 will be supported to 2020, all libraries, modules and so on are moving to v3+. Even 3.6
Learning 2.7 is a waste of time. Unless this is the only option and you can't install or use Python 3.