Cannot resolve ModuleNotFoundError: No module named 'sympy'

大城市里の小女人 提交于 2020-03-05 03:05:02

问题


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

回答1:


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



来源:https://stackoverflow.com/questions/59700101/cannot-resolve-modulenotfounderror-no-module-named-sympy

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