加载后符号无效

时间:2018-07-17 19:21:58

标签: python windows matlab octave

我正在尝试在八度中使用符号。 首先,使用以下符号下载并安装符号:

pkg install -forge symbolic
pkg load symbolic

然后,开始编写一些代码

syms x

然后出现下一件事:

Initializing communication with SymPy using a popen2() pipe.
"python" is not recognized as an internal or external command,
program or batch file executable.
error: Cannot run the Python executable "python"
    Python and SymPy are needed for most Symbolic features.
    Is Python installed?  Is your "path" configured correctly?
error: called from
    assert_have_python_and_sympy at line 24 column 5
    python_ipc_popen2 at line 78 column 5
    python_ipc_driver at line 59 column 13
    python_cmd at line 164 column 9
    valid_sym_assumptions at line 38 column 10
    assumptions at line 82 column 7
    syms at line 97 column 13

我已安装Python 2.7。 这有什么问题吗?

0 个答案:

没有答案