using MacOS python3.11
Just finished numpy and scipy, running scipy.stats has the following error
Run other scipy, such as scipy.Integrate, etc.
How to solve it, thank you for your help
Traceback (most recent call last):
File "<pyshell#13>", line 2, in <module>
import scipy.stats
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scipy/stats/__init__.py", line 485, in <module>
from ._stats_py import *
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scipy/stats/_stats_py.py", line 46, in <module>
from . import distributions
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scipy/stats/distributions.py", line 10, in <module>
from . import _continuous_distns
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/scipy/stats/_continuous_distns.py", line 10302, in <module>
b=np.inf)
File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/numpy/__init__.py", line 284, in __getattr__
raise AttributeError("module {!r} has no attribute "
AttributeError: module 'numpy' has no attribute 'scipy.stats._boost'
0 Answer
No answer yet
这家伙很懒,什么都没留下...