ICode9

精准搜索请尝试: 精确搜索
  • jupyter noetbook切换kernel2022-06-28 10:33:19

    1, conda env list 查看环境 2,activate pytorch1.10激活环境 3,在当前环境下执行: pip install ipykernel -i https://pypi.douban.com/simple  安装ipykernel 4,继续执行:python -m ipykernel install --user --name pytorch1.10 --display-name "conda env:pytorch1.10]" 5,任意环

  • 【jupyter】jupyter notebook执行代码时,一直显示int[*]2022-06-22 01:01:47

    之前用的好好的,今天运行代码时候,一直显示int[*] 查找之后,发现是ipykernel版本不对 然后更新一下 pip install --upgrade ipykernel 重新打开jupyternotebook,执行代码成功 参考: https://www.bbsmax.com/A/WpdKNw7N5V/

  • Conda2022-04-01 14:02:06

    conda info -e (查看所有的虚拟环境) conda info -e (查看所有的虚拟环境)jupyter labactivate -name(虚拟环境名字)(进入到该虚拟环境中) activate textenv python -m ipykernel install --user --name lstm --display-name "lstm"python -m ipykernel install --user --name base --

  • 如何给jupyter notebook添加指定虚拟环境2022-03-28 10:35:29

    1.  在dos中输入conda activate 虚拟环境,激活虚拟环境;     2. 安装ipykernel,输入 pip install ipykernel 3. 添加环境变量,输入 python -m ipykernel install --name 虚拟环境 4. 重启jupyter notebook:        完成!!!!!!

  • conda和jupyter的使用2022-01-14 21:34:12

    列出所有环境 conda env list 创建环境 conda create -n envName python=3.5 激活环境 conda activate tf2 搜索包 conda search python conda search python=3.8.* conda search python=3.9.*=h6244533_0 安装包 conda install package_name[=version[=build_tag]] conda ins

  • 如何把jupyter notebook切换到其他配置好的conda虚拟环境2022-01-04 15:35:43

    首先可以看一下自己在conda里面配置了哪些环境,使用conda env list   1.在cmd中切换到想要的环境,比如说adda   2.在adda环境中中安装好ipykernel   3.python -m ipykernel install --name adda   执行完这个语句之后,会自动在目录【C:\ProgramData\jupyter\kernels】(类似)生成

  • Jupyter Notebook使用多个conda虚拟环境2021-11-11 08:32:05

    Anaconda自带Jupyter Notebook,但是通常创建了多个环境,想使用同一个Jupyter Notebook,需要使用ipykernel 在自己创建的虚拟环境安装 ipykernel #conda install ipykernel #pip install ipykernel 配置ipykernel myenv为你的环境名;"Python (myenv)"是你想要它在jupyter notebook

  • 解决启动jupyter lab/notebook时,报错“ValueError: signal only works in main thread”问题2021-11-05 16:31:24

    问题描述: 在启动jupyter lab(jupyter notebook同)后,无法在cell中执行代码,显示in[*]。通过控制台,可看到如下报错: RuntimeError: This event loop is already running ... ValueError: signal only works in main thread ERROR:tornado.general:Uncaught exception in zmqstream

  • jupyter notebook配置虚拟环境2021-10-23 14:02:25

    安装ipykernel工具 conda install ipykernel 为虚拟环境下创建kernel conda install -n 虚拟环境名称 ipykernel 环境写入notebook的kernel中 python -m ipykernel install --user --name 虚拟环境名称 --display-name "notebook中显示的名称"

  • 2021-09-052021-09-05 16:06:01

    jupyter notebook ModuleNotFoundError: No module named ‘tensorflow’ import tensorflow时出现了以上的错误,为了能够在虚拟环境的条件下使用jupyter notebook运行程序,需要切换一下jupyter notebook的kernel。 conda activate tensorflow pip install ipykernel python

  • jupyter中添加conda环境2021-06-12 09:01:52

      安装完Anaconda利用conda创建了虚拟环境,但是启动jupyter notebook之后却找不到虚拟环境。 实际上是由于在虚拟环境下缺少kernel.json文件,解决方法如下:   创建环境: conda create -n 环境名称 也可以创建环境时直接加入ipykernel,比如:conda create -n 环境名称 python=3.6

  • 将已有的虚拟环境配置到jupyter notebook中使用2021-04-24 18:30:29

    安装相应的包  pip install ipykernel 查看jupyter 目前可调用的内核 jupyter kernelspec list 将已有的虚拟环境加入到jupyter中 python -m ipykernel install --user --name my_test --display-name "my_test_jupyter" 再次打开jupyter notebook即可更换相应环境

  • jupyter lab中使用anaconda创建的虚拟环境2021-04-19 17:33:45

    在要使用的环境下下载ipykernel,并把要使用的环境登记到jupyter lab即可。 pip install -i https://pypi.doubanio.com/simple/ ipykernel python -m ipykernel install --user --name tensorflow_cpu --display-name "tensorflow"后面的--display-name "tensorflow"可以不要。

  • 为jupyter notebook添加虚拟环境2021-04-03 20:00:50

    方法一 用jupyter插件解决问题: 激活环境后,安装ipykernel: conda activate env_name conda install ipykernel安装好之后,运行命令:python -m ipykernel install --name {你的虚拟环境名字,如qq} --display-name {你想显示的名称} 方法二 用anaconda内生插件解决问题 安装插件:cond

  • jupyter notebook找不到conda的虚拟环境2021-02-10 15:01:40

    步骤 1、在默认的环境: conda install nb_conda_kernels 2、然后分别激活不同的虚拟环境,安装ipykernel conda install ipykernel 3、重启Jupyter Notebook

  • 解决 ModuleNotFoundError: No module named ‘ipykernel‘2021-02-02 13:00:59

    解决 ModuleNotFoundError: No module named ‘ipykernel’ 使用pycharm的时候,遇到ModuleNotFoundError: No module named 'ipykernel’的问题。在这里分享一下自己的处理方法。 第一步 打开pycharm,找到Interpreter Settings,点击之后,进入Project Interpreter。 第二步 进入

  • conda新建环境安装jupyter内核2020-12-13 04:01:06

    为python安装ipykernel内核 conda install ipykernel pip install ipykernel 安装 python -m ipykernel install --name [name] --display-name [display-name] 显示列表 jupyter kernelspec list 移除内核 jupyter kernelspec remove [name]

  • PaddleOCR数字仪表识别——5. ppocr封装使用2020-11-25 11:30:56

    (大家不要看,这是本来要设置为私密文章的,但是因为私密文章在分类中找不到,所以才设成了VIP,只是一个记录性文章,没有干货。) 1.环境准备 根据paddleocr说明文档 1.1 直接使用whl包使用PaddleOCR 安装的时候没看清,推荐直接使用这种方式,简单。。 还是要新建一个干净的conda的env,这个

  • jupyter找不到conda的虚拟环境2020-05-23 12:53:54

    非原创 转自 https://blog.csdn.net/qq_33296651/article/details/95316784   在默认的环境(不是base),conda install nb_conda_kernels。然后分别激活不同的虚拟环境,安装ipykernel,我的是torch和tf。

  • ImportError: cannot import name 'ensure_dir_exists'2020-03-16 20:05:08

       解决办法:升级jupyter_core和jupyter_client pip install --upgrade jupyter_core jupyter_client  在升级过程中留心可能出现的警告      升级后可能会出现valueerror: signal only works in main thread,原因是包版本冲突了    >解决办法: pip show pyzmq ipykernel

  • 配置远程服务器jupyter notebook2020-01-22 14:02:11

    1.安装好jupyter和ipykernel pip安装 pip install jupyter pip install ipykernel 2.用ipython生成密钥 from notebook.auth import passwd passwd() 输入自定义的密码 可以得到一串密钥,我的是 sha1:85b46ae497ee:b2cd494d1f4ded134098fee7af8b818c503c18cd 3.生成并修改

  • python虚拟环境切换2019-11-28 10:51:46

    python虚拟环境切换 jupyter notebook 中切换虚拟环境 设置虚拟环境切换 在各个环境中安装ipykernel pip install ipykernel 激活环境,在各个环境中安装服务 python3 -m ipykernel install --user --name=testenv 进入jupyter改变服务 查看环境服务 jupyter kernelspec list 删

  • Jupyter Notebook配置多个kernel2019-10-03 14:50:45

    Jupyter Notebook配置多个kernel 前言: 在anaconda下配置了多个环境,而Jupiter Notebook只是安装在base环境下,为了能在Jupiter Notebook中使用不同的环境,进行如下配置。 此次配置在windows10系统下 步骤 打开Anaconda Prompt; 查看现有的环境conda info -e,我此时的环境如下: # c

  • Linux system basic 22019-09-30 22:00:42

    Linux install LibreOffice: install LibreOffice:    git clone http://XX dictionary_path git clone to specific dictionary.  jupyter with kernel: here, and 为Jupyter notebook增加新的kernel 1.切换到py35环境下。 2. pip install ipykernel 3. python -m ipyke

  • 在MAC上打开服务器上的jupyter notebook2019-09-01 16:05:54

    服务器端: 安装好anaconda之后: jupyter notebook –generate-config 进入python,生成密码 from notebook.auth import passwd passwd() Enter password: Verify password: sha1:8d628fff7b12:274eca57… vi ~/.jupyter/jupyter_notebook_config.py 修改配置文件 c.N

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有