当前位置:网站首页>Record of pychart running jupyter notebook in virtual environment
Record of pychart running jupyter notebook in virtual environment
2022-07-27 06:50:00 【sin_ four hundred and four】
The following is bullshit , Just install one package
pip install ipykernel pycharm Prompt you whether to register this project into kernel
----------------------------------- Split line ---------------------------------
One 、 Recently pycharm Running in ipynb File found a problem , If you are in a virtual environment venv There will be a prompt in the :jupyter kernel does not match project interpreter
Prompt kernel version mismatch , requirement register project interpreter as kernel, Prompt if selected dll Problem module not found
In fact, at this time jupyter It has been started , And can be accessed on the web , Guess it is pycharm The problem of identification
I install it repeatedly tornado package 【 Just trying to uninstall and reinstall casually solves this problem , Install after missing package pycharm Will reboot and start the process 】
pip install 'tornado==6.1' --force-reinstall
# perhaps
pip uninstall tornado
&&
pip install tornado
Two 、 If it's in conda In the virtual environment of jupyter notebook Words , Find out pycharm Show jupyer notebook Only system python3 Environmental Science
1. install ipykernel
pip install ipykernel 2. Write environment to notebook Of kernel in ,
python -m ipykernel install --user --name your_env_name --display-name your_env_name
give an example : My environment name is jupy
python -m ipykernel install --user --name jupy --display-name 'Python(jupy)'See the effect :kernel Switched

3、 ... and 、 One last sentence , If you want to in base conda Of notebook Switch environment in , need pip install nb_conda, It can be opened jupyter I see in the document change kernel The item
Delete... In addition kernel Environmental Science :
jupyter kernelspec remove Name of the environment
see kernel list
jupyter kernelspec list
边栏推荐
- Express框架
- ArcGIS for JS API (1) get all field names of FeatureLayer
- Publish a building segmentation database with a resolution of 0.22m
- LVM与磁盘配额
- Shell脚本删除自动清理超过大小的文件
- 众多世界500强企业集聚第二届数博会,数字产业大幕即将开启!
- Stress performance test of website based on AB tool under Apache
- RAID详解与配置
- Go language learning
- ESXI虚拟机启动,模块“MonitorLoop”打开电源失败
猜你喜欢

Project training experience 1

Shell -- operation of variables

Iptables firewall

Pruning - quantification - turn to onnx Chinese series tutorials

shell函数

Redis快速学习

一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告诉你一键修复漏洞可行吗?向日葵来告

Soul持续发力社交渠道赴港上市,“Soul式社交”凭什么火出圈?

面试常问的问题总结【呕心沥血熬了一个晚上总结的】

PXE efficient batch network installation
随机推荐
Go语言学习
云原生运行环境搭建
Shell script delete automatically clean up files that exceed the size
Shell Scripting format
项目实训经历1
System security and Application
Vscode solves the problem of using stuck ipynb files when running
shell的编程规范and重定向与管道操作
win10 添加虚拟网卡,配置op路由
Raid explanation and configuration
Socket programming II: using Select
Shell -- conditional statements (if statements, case statements)
FTX.US推出股票和ETF交易服务,让交易更透明
Shell script backup MySQL database
goLang的一个跨域问题
iptables防火墙
Summary of frequently asked questions in the interview [summarized after painstaking work all night]
Go language learning
px4源码编译之 建立自己的程序模块
2022年全球最具技术实力的的智能合约安全审计公司推荐