Octave的符号包(版本2.8.0)在Windows 10中不起作用

问题描述 投票:1回答:1

我已遵循此处给出的说明的选项1和2

https://github.com/cbm755/octsympy/wiki/Notes-on-Windows-installation

不过,加载符号包后,我得到了

>> pkg load symbolic
>> syms x
error: 'python_ipc_popen2' undefined near line 59 column 17
error: called from
    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

这里是sympref diagnose的输出

>> sympref diagnose

Symbolic package diagnostics
============================

Python and SymPy are needed for most features of the Symbolic package.

The Python interpreter is currently: "/anaconda3/bin/python".

Computers may have more than one Python interpreter installed.  If you
need to, you can select a different one using the PYTHON environment
variable (see "help sympref").  For example, to use Python 3, try
    setenv PYTHON python3
    sympref reset

Attempting to run /anaconda3/bin/python -c "print(\"Python says hello\")"

Le chemin d’accès spécifié est introuvable.
status =  1
output =

Unfortunately, that command failed!
We expected to see "status = 0" and "output = Python says hello".

  * Is there an error message above?

  * Do you have Python installed?

  * Please try using "setenv" as described above.

  * Most systems search the PATH environment when looking for commands.
    Your path seems to be: (...)

我已安装Anaconda 3。我正在Windows 10下工作。有关如何解决此问题的任何想法?

python anaconda octave
1个回答
0
投票

u应该执行setenv PYTHON full_path_to_python.exe

在我的情况下是setenv PYTHON C:\ Users \ username \ anaconda3 \ python

© www.soinside.com 2019 - 2024. All rights reserved.