Use Sympy with Pypy

雨燕双飞 提交于 2019-12-10 15:44:30

问题


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.


回答1:


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

pypy -m pip install sympy


来源:https://stackoverflow.com/questions/36949711/use-sympy-with-pypy

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!