【问题标题】:install tensorflow from jupyter notebook从 jupyter notebook 安装 tensorflow
【发布时间】:2021-12-06 18:14:23
【问题描述】:

我正在尝试从 Jupyter notbook 安装 tensorflow。任何原因,打击似乎都被挂断了。

我用来安装它的代码是:

conda install -c conda-forge tensorflow

【问题讨论】:

    标签: tensorflow jupyter-notebook


    【解决方案1】:

    为 Tensorflow 创建虚拟环境

    #create virtual environment tf and install python 
    conda create -n tf python=3.9
    #activate virtual env
    activate tf
    #install tensorflow
    pip install tensorflow
    #install Jupyter notebook
    pip install jupyter
    #Launch notebook 
    jupyter notebook 
    

    或。 Jupyter notebook 可用,然后在 jupyter notebook 上运行!pip install tensorflow

    【讨论】: