Installation of octsympy of Octave: error even after OK sympref diagnose

心不动则不痛 提交于 2021-01-07 02:41:42

问题


I am finding problems with the installation of the symbolic package octsympy of Octave.

I have GNU Octave Version 5.2.0 under Windows 10. I have python3 installed with Anaconda.

I have followed the following steps:

  1. Download the file symbolic-2.9.0.tar.gz.
  2. Install with pkg install symbolic-2.9.0.tar.gz.
  3. pkg load symbolic.
  4. setenv PYTHON C:\Users\...\Anaconda3\python.
  5. sympref diagnose.

After the last command, I receive the message: Your kit looks good for running the Symbolic package.

However, when I try any symbolic command such as sym('1/2'), I receive error messages:

AttributeError: module 'sympy.core.compatibility' has no attribute 'integer_types'

error: Python exception: AttributeError: module 'sympy.core.compatibility' has no attribute 'integer_types' occurred while copying variables to Python.

error: called from pycall_sympy__ at line 191 column 5; sym at line 484 column 11

Can anyone help to solve this problem? Thank you.


回答1:


This issue has been reported as a bug: https://github.com/cbm755/octsympy/issues/1023. The developer indicated that it will be fixed in a new release.

If this issue is urgent, the solution is to downgrade the version of SymPy.

If this issue is not urgent, an option is to wait for a new release of octsympy.



来源:https://stackoverflow.com/questions/64614076/installation-of-octsympy-of-octave-error-even-after-ok-sympref-diagnose

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