【发布时间】:2020-08-25 04:45:23
【问题描述】:
我对在 anaconda 环境中安装包有点困惑。
我可以通过以下方式安装我的 python 包。
- 打开 anaconda 提示并执行:
conda install tensorflow - 从 anaconda 提示符启动一个 jupyter notebook,选择默认的 python 内核,然后执行:
!pip install tensorflow
谁能告诉我这两种情况有什么区别? python包安装在哪里?当我在 jupyter notebook 的默认内核中 pip install python 包时会发生什么?
我能够在默认内核 (python3) 中的 jupyter notebook 中安装 tensorflow,但尝试导入 tensorflow 给我module note found 错误。有谁知道为什么会这样?引擎盖下发生了什么?非常感谢任何澄清帮助。
【问题讨论】:
标签: pip jupyter-notebook anaconda