升级MacOS到15.4后Python导入Numpy失败的问题求助
升级MacOS到15.4后Python导入Numpy失败的问题求助
大家好,最近把MacOS升级到15.4版本后,我在Python环境里导入Numpy时直接报错了,折腾好一阵都没解决,特意来这里求助!
具体触发的错误提示如下:
Exception has occurred: ImportError
Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there.
终端里弹出的详细报错片段是这样的:
Error importing numpy: you should not try to import numpy from its source directory; please exit the numpy source tree, and relaunch your python interpreter from there. ImportError: dlopen(/opt/miniconda3/envs/h
我已经确认自己并没有在Numpy的源码目录下运行Python,但还是出现了这个问题。有没有朋友遇到过类似情况?或者能给我一些排查和解决的方向建议吗?非常感谢大家的帮助!
备注:内容来源于stack exchange,提问作者WHYF
相关产品推荐
相关产品推荐

