python安装sympy失败_无法解决ModuleNotFoundError:没有名为“ sympy”的模块

Can someone help me resolve the following issue? I'm getting extremely frustrated. I've installed Octave with the symbolic package before, but I forgot how I did it, and I'm getting very upset at myself currently. I've installed Anaconda, Python, and Octave and I keep getting the following error message:

Symbolic pkg v2.8.0: Traceback (most recent call last):

File "", line 1, in

ModuleNotFoundError: No module named 'sympy'

error: Python cannot import SymPy: have you installed SymPy?

Try "sympref diagnose" for more information.

error: called from

assert_have_python_and_sympy at line 123 column 7

python_ipc_popen2 at line 79 column 5

python_ipc_driver at line 59 column 15

python_cmd at line 163 column 11

valid_sym_assumptions at line 38 column 10

assumptions at line 82 column 7

syms at line 97 column 13

解决方案

Have you already tried to install it via pip install sympy?

你可能感兴趣的:(python安装sympy失败)