Mayavi doesn't run from within Spyder: complains about “ValueError: API 'QString' …”

后端 未结 3 410
温柔的废话
温柔的废话 2021-01-02 08:54

I am unable to run/use Mayavi library from within Spyder IDE. I have described the problem below. Any help will be very useful. (Thank you very much in advance.)

3条回答
  •  长情又很酷
    2021-01-02 09:34

    Thanks Avaris for your response.

    I have a solution for now (I am not sure of it as a "fix"). I modified the following setting in Tools->Preferences->Console->External Modules->Enthought Tool Suite->ETS_TOOLKIT: change from Qt4 to wx. After changing this setting, I am able to execute code with Mayavi library and Mayavi plots directly from within Spyder.

提交回复
热议问题