问题
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