我已经在运行 El Capitan 的 Mac 上安装了 Python 2.7 和 3.5.此外,我将 Sympy 包(通过 pip 安装)与 python 一起使用.我想用 Pypy 运行我的代码(安装自制软件),但似乎 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:
没有名为 sympy 的模块"
"No module named sympy"
我根本不是专家,现在不知道该怎么办.Sympy 适用于 python 2 和 3,但不适用于 Pypy.
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.
推荐答案PyPy 包与 Python 包是分开的.您可以使用
PyPy packages are separate from Python packages. You can install SymPy into PyPy with
pypy -m pip install sympy更多推荐
将 Sympy 与 Pypy 一起使用
发布评论