安装成功seaborn后,在import seaborn提示没有安装scipy包,于是便开始了不断安装失败的过程。
介绍下环境:mac m1芯片,miniforge,python38
尝试过的方法:
第一种:直接安装pip install scipy sudo conda pip install scipy
错误提示:
…… note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.第二种:增加镜像源
pip3 install --pre -i https://pypi.anaconda.org/scipy-wheels-nightly/simple scipy
同样报错
第三种:在pycharm中安装在pycharm配置号环境后,在【Pycharm】-【Perference】-【Project】-【Python Interpreter】
点击+号



