目录
mayavi安装报错:
模拟异常 TypeError: unsupported operand type(s) for -: 'str' and 'str'
模拟异常 TypeError: unsupported operand type(s) for /: 'str' and 'str'
原因:数据类型不对,运算出错。
mayavi安装报错:
pip install mayavi
报错了,
看到报错中有个提示:
Fallback spawn triggered. Please update distutils monkeypatch
模拟异常 TypeError: unsupported operand type(s) for -: 'str' and 'str'
if (default > rng[1]) and (default - rng[1]) < 2:
TypeError: unsupported operand type(s) for -: 'str' and 'str'
模拟异常 TypeError: unsupported operand type(s) for /: 'str' and 'str'
aa='ff'
bb='fxf'
ff=aa/bb
print(ff)
原因:数据类型不对,运算出错。