Spyder提示ValueError: API 'QString' has already been set to version 1
2020-12-13 04:00
标签:http 使用 strong 问题 cti for 转载自:http://wuyuans.com/2013/02/spyder-valueerror-api-qstring-has-already-been-set-to-version-1/ 在IPython中使用enthought.mayavi正常,但在Spyder中确有问题,提示如下: 问题出在import这里, 因为Enthought在调用PyQt时使用的是API #2,而Spyder默认使用API #1,把他改为API #2即可。 打开Tools -> Preferences,左边选择Console,右边打开External modules选项卡,在下面找到PyQt,把里面的API selection for QString and QVariant object:改为API #2,确定,再次运行时就正常了。 Spyder提示ValueError: API 'QString' has already been set to version 1,搜素材,soscw.com Spyder提示ValueError: API 'QString' has already been set to version 1 标签:http 使用 strong 问题 cti for 原文地址:http://www.cnblogs.com/scicalweb/p/3829991.htmlValueError: API ‘QString‘ has already been set to version 1
from enthought.mayavi import mlab
文章标题:Spyder提示ValueError: API 'QString' has already been set to version 1
文章链接:http://soscw.com/essay/28732.html