我在PC(win10)上安装了Anconda3。当我尝试使用numpy时,出现以下错误:“ ModuleNotFoundError:没有名为“ numpy”的模块”。我编辑环境变量并添加以下内容:PYTON_HOME(C:\ Users \ User_name \ anaconda3)并将其也添加到路径。但是当我运行“ where python3”时,我仍然得到:“ C:\ Users \ WIN10 \ AppData \ Local \ Microsoft \ WindowsApps \ python3.exe”如何解决这个问题?
请尝试以下步骤:
In the Control Panel => System and Security => System => Edit the System Environment Variable
In the new window System Properties => Advanced => Environment Variables, set Path as "C:\Users\User_name\anaconda3"