如何确保并确认我安装的SciPy包具有可用的pythran优化功能?我从python software foundation网站安装Python3.9.5,使用PyCharm集成开发环境进行包管理,它使用pip来设置包。
发布于 2021-06-24 08:10:28
如果您已经使用pip从PyPI安装了Pythran 1.7.0轮子,那么默认情况下它将包含SciPy模块(可以通过在构建时设置环境变量SCIPY_USE_PYTHRAN=0来排除扩展)。
>>> import scipy.interpolate._rbfinterp_pythran
>>> help(scipy.interpolate._rbfinterp_pythran)
Help on module scipy.interpolate._rbfinterp_pythran in scipy.interpolate:
NAME
scipy.interpolate._rbfinterp_pythran
DATA
__pythran__ = ('0.9.11', '2021-06-19 21:59:20.760235', '3c30425550c454...
FILE
...\lib\site-packages\scipy\interpolate\_rbfinterp_pythran.cp39-win_amd64.pydhttps://stackoverflow.com/questions/68108141
复制相似问题