无法解决ModuleNotFoundError:没有名为"sympy"的模块 [英] Cannot resolve ModuleNotFoundError: No module named 'sympy'
本文介绍了无法解决ModuleNotFoundError:没有名为"sympy"的模块的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有人可以帮助我解决以下问题吗?我感到非常沮丧.我之前已经用符号包安装过Octave,但是我忘记了我是怎么做的,目前我对自己感到很沮丧.我已经安装了Anaconda,Python和Octave,并且不断收到以下错误消息:
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 "<string>", line 1, in <module>
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
推荐答案
您是否已尝试通过pip install sympy
安装它?
Have you already tried to install it via pip install sympy
?
这篇关于无法解决ModuleNotFoundError:没有名为"sympy"的模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文