MockingBird
MockingBird copied to clipboard
python3.9 运行 demo_toolbox.py 毫无反应。 web界面模式合成也会报错。
Summary[问题简述(一句话)] python3.9 运行 demo_toolbox.py 毫无反应 就最新版本的 web界面模式合成也会报错。
Env & To Reproduce[复现与环境] py3.9.12
Screenshots[截图(如有)]
web模式合成的时候会提示
File "C:\Users\kent.conda\envs\py39\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in run_script
exec(code, module.dict)
File "C:\Users\kent\AppData\Local\Temp\tmp41wtvgs9.py", line 13, in np.bool
was a deprecated alias for the builtin bool
. To avoid this error in existing code, use bool
by itself. Doing this will not modify any behavior and is safe. If you specifically wanted the numpy scalar type, use np.bool_
here.
The aliases was originally deprecated in NumPy 1.20; for more details and guidance see the original release note at:
https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations
可以考虑克隆我的项目,体验一下
版本不匹配,我降低版本解决了:numpy==1.23