【问题标题】:How to config the environment variable path to ensure that it opening the python from anaconda如何配置环境变量路径以确保它从anaconda打开python
【发布时间】:2019-11-02 19:38:47
【问题描述】:

我在我的电脑 (win10) 上安装了 Anconda3。当我尝试使用 numpy 时,我收到此错误:“ModuleNotFoundError: No module named 'numpy'”。 我编辑我的环境变量并添加: PYTON_HOME (C:\Users\User_name\anaconda3) 并将其添加到路径中。 但是当我运行“python3”时,我仍然得到: “C:\Users\WIN10\AppData\Local\Microsoft\WindowsApps\python3.exe” 如何解决这个问题?

【问题讨论】:

    标签: numpy windows-10 anaconda environment-variables python-3.7


    【解决方案1】:

    请尝试以下步骤:

    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"
    

    【讨论】:

      猜你喜欢
      • 2016-03-05
      • 2019-12-27
      • 2019-03-18
      • 1970-01-01
      • 2018-01-04
      • 2011-08-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多