gpt4 book ai didi

python-3.x - Mac OSx : ModuleNotFoundError: No module named 'numpy'

转载 作者:行者123 更新时间:2023-12-03 19:28:51 26 4
gpt4 key购买 nike

重新安装后anaconda我无法导入 numpy再上 Python3

import numpy as np
ModuleNotFoundError: No module named 'numpy'

我试过了
pip install numpy

我尝试再次安装它,我得到:
pip install numpy
Requirement already satisfied: numpy in /anaconda3/lib/python3.7/site-packages (1.16.3)

enter image description here

最佳答案

这个命令对我有用

python3 -m pip install numpy

关于python-3.x - Mac OSx : ModuleNotFoundError: No module named 'numpy' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56252299/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com