• jupyter中配置多种虚拟环境


    Microsoft Windows [版本 10.0.19044.2251]
    © Microsoft Corporation。保留所有权利。

    C:\Users\ThinkStation>conda activate pytorch
    
    • 1
    (pytorch) C:\Users\ThinkStation>conda install ipykernel
    
    • 1

    Collecting package metadata (current_repodata.json): done
    Solving environment: failed with initial frozen solve. Retrying with flexible solve.
    Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
    Collecting package metadata (repodata.json): done
    Solving environment: done

    Package Plan

    environment location: D:\Users\ThinkStation\anaconda3\envs\pytorch

    added / updated specs:

    • ipykernel

    The following packages will be downloaded:

    packagebuild
    backcall-0.2.0pyhd3eb1b0_0 13 KB
    colorama-0.4.4pyhd3eb1b0_0 21 KB
    decorator-5.1.1pyhd3eb1b0_0 12 KB
    entrypoints-0.3py36_0 12 KB
    ipykernel-5.3.4py36h5ca1d4c_0 184 KB
    ipython-7.16.1py36h5ca1d4c_0 1017 KB
    ipython_genutils-0.2.0pyhd3eb1b0_1 27 KB
    jedi-0.17.0py36_0 778 KB
    jupyter_client-7.1.2pyhd3eb1b0_0 93 KB
    jupyter_core-4.8.1py36haa95532_0 90 KB
    nest-asyncio-1.5.1pyhd3eb1b0_0 10 KB
    parso-0.8.3pyhd3eb1b0_0 70 KB
    pickleshare-0.7.5pyhd3eb1b0_1003 13 KB
    prompt-toolkit-3.0.20pyhd3eb1b0_0 259 KB
    pygments-2.11.2pyhd3eb1b0_0 759 KB
    python-dateutil-2.8.2pyhd3eb1b0_0 233 KB
    pywin32-228py36hbaba5e8_1 5.6 MB
    pyzmq-22.2.1py36hd77b12b_1 610 KB
    tornado-6.1py36h2bbff1b_0 605 KB
    traitlets-4.3.3py36haa95532_0 140 KB
    wcwidth-0.2.5pyhd3eb1b0_0 26 KB

    ​ Total: 10.5 MB

    The following NEW packages will be INSTALLED:

    backcall pkgs/main/noarch::backcall-0.2.0-pyhd3eb1b0_0 None
    colorama pkgs/main/noarch::colorama-0.4.4-pyhd3eb1b0_0 None
    decorator pkgs/main/noarch::decorator-5.1.1-pyhd3eb1b0_0 None
    entrypoints pkgs/main/win-64::entrypoints-0.3-py36_0 None
    ipykernel pkgs/main/win-64::ipykernel-5.3.4-py36h5ca1d4c_0 None
    ipython pkgs/main/win-64::ipython-7.16.1-py36h5ca1d4c_0 None
    ipython_genutils pkgs/main/noarch::ipython_genutils-0.2.0-pyhd3eb1b0_1 None
    jedi pkgs/main/win-64::jedi-0.17.0-py36_0 None
    jupyter_client pkgs/main/noarch::jupyter_client-7.1.2-pyhd3eb1b0_0 None
    jupyter_core pkgs/main/win-64::jupyter_core-4.8.1-py36haa95532_0 None
    nest-asyncio pkgs/main/noarch::nest-asyncio-1.5.1-pyhd3eb1b0_0 None
    parso pkgs/main/noarch::parso-0.8.3-pyhd3eb1b0_0 None
    pickleshare pkgs/main/noarch::pickleshare-0.7.5-pyhd3eb1b0_1003 None
    prompt-toolkit pkgs/main/noarch::prompt-toolkit-3.0.20-pyhd3eb1b0_0 None
    pygments pkgs/main/noarch::pygments-2.11.2-pyhd3eb1b0_0 None
    python-dateutil pkgs/main/noarch::python-dateutil-2.8.2-pyhd3eb1b0_0 None
    pywin32 pkgs/main/win-64::pywin32-228-py36hbaba5e8_1 None
    pyzmq pkgs/main/win-64::pyzmq-22.2.1-py36hd77b12b_1 None
    six pkgs/main/noarch::six-1.16.0-pyhd3eb1b0_1 None
    tornado pkgs/main/win-64::tornado-6.1-py36h2bbff1b_0 None
    traitlets pkgs/main/win-64::traitlets-4.3.3-py36haa95532_0 None
    wcwidth pkgs/main/noarch::wcwidth-0.2.5-pyhd3eb1b0_0 None

    Proceed ([y]/n)?y
    
    • 1

    done
    Retrieving notices: …working… done

    (pytorch) C:\Users\ThinkStation>python -m ipykernel install --user --name pytorch --display-name "pytorch"
    Installed kernelspec pytorch in C:\Users\ThinkStation\AppData\Roaming\jupyter\kernels\pytorch
    
    • 1
    • 2
    (pytorch) C:\Users\ThinkStation>python -m ipykernel install --user --name TF2.4 --display-name "TF2.4"
    Installed kernelspec TF2.4 in C:\Users\ThinkStation\AppData\Roaming\jupyter\kernels\tf2.4
    
    • 1
    • 2
    (pytorch) C:\Users\ThinkStation>python -m ipykernel install --user --name TensorFlow1.15 --display-name "TF1.15"
    Installed kernelspec TensorFlow1.15 in C:\Users\ThinkStation\AppData\Roaming\jupyter\kernels\tensorflow1.15
    
    • 1
    • 2

    打开jupter

    在这里插入图片描述
    在这里插入图片描述

  • 相关阅读:
    139. 单词拆分
    电脑提示msvcp110.dll是什么意思?msvcp110.dll丢失修复办法分享
    k8s — Cluster Architecture
    Ubuntu20运行SegNeXt代码提取道路水体(一)——从零开始运行代码过程摸索
    多线程并发
    小班安全优质课教案《防止拥挤踩踏事故》
    微信小程序-分包
    Wireshark分析https流量
    【目标检测】30、
    npm、nodejs和vue之间关系和区别介绍
  • 原文地址:https://blog.csdn.net/xiaofeixia002X/article/details/128109267