Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Use Sympy with Pypy

Tags:

python

pypy

sympy

I have installed Python 2.7 and 3.5 on a Mac running with El Capitan. Moreover, I use the package Sympy (installed with pip) with python. I wanted to run my code with Pypy (installed with homebrew) but it seems that Pypy doesn't find Sympy and says:

"No module named sympy"

I am not an expert at all and don't know what to do now. Sympy works well with python 2 and 3 but not with Pypy.

I appreciate every answer, thank you in advance.

like image 493
Nils Avatar asked Apr 30 '16 01:04

Nils


1 Answers

PyPy packages are separate from Python packages. You can install SymPy into PyPy with

pypy -m pip install sympy
like image 89
asmeurer Avatar answered Oct 16 '22 09:10

asmeurer