当前位置:网站首页>Various minor problems of jupyter notebook, configuration environment, code completion, remote connection, etc
Various minor problems of jupyter notebook, configuration environment, code completion, remote connection, etc
2022-07-29 03:24:00 【Order anything】
Don't change the computer easily , Don't change the computer easily , Don't change the computer easily !!!
Important things are to be repeated for 3 times , Unless you have to .
First jupyter notebook It's a kind of Web application , stay jupyter Write code in Chinese and traditional IDE( Integrated development environment ) Such as pycharm comparison , Visualization is more convenient , meanwhile jupyter It also integrates the function of document notes , Easy to publish on the Internet . I believe my friends have used it .
jupyter notebook Installation , It can be installed separately jupyter, besides , In the installation anaconda I'll bring it directly when I get there jupyter notebook, Recommended by anaconda The way , Install directly together , After all, they are all for use .
Installation is not described in detail here , There are many blogs about this :
windows:
linux:
# download
wget https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
# install
bash Anaconda3-2021.05-Linux-x86_64.sh
Let's talk about it jupyter Use :
If you don't make any settings , Open it directly jupyter, So congratulations , The picture is so ugly , And there is no one who can automatically complete god horse ……
Please press the following code in your base Operating in the environment :
# Code completion
pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user
pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user
# Replace the topic
pip install jupyterthemes
# Configuration scheme
jt -t chesterish -f roboto -fs 12 -ofs 105 -dfs 95 -lineh 150
jupyterthemes It is a plug-in for theme setting , See GitHub - dunovank/jupyter-themes: Custom Jupyter Notebook Themes
With these , Opening the interface again is much more pleasing to the eye
Next, let's talk about the configuration environment :
If your jupyter notebook Encounter the same situation as me , After opening , stay new Can't find the desired development environment , Only python3 One option , Then please remember the following line of code , Run it once in every environment :
# Add kernels
conda install nb_conda_kernels
I refer to these two blogs for specific principles , If you are interested, you can have a look at :
JupyterNotebook Set up Python Environmental Science | Come on , Be happy ~
anaconda - Conda environments not showing up in Jupyter Notebook - Stack Overflow
By doing this , Local notebook The problem of has been solved , that , What if you want to connect to a remote server ?
Too many words, too lazy to type , Please refer to the following Zhihu document , Very detailed , Close test effectively :
About Jupyter notebook Remote connection server stepping on the pit - You know
边栏推荐
- Tonight at 7:30 | is the AI world in the eyes of Lianjie, Jiangmen, Baidu and country garden venture capital continue to be advanced or return to the essence of business
- 原理知识用得上
- 数字图像处理 第10章——图像分割
- Suffix automata (SAM) board from Jly
- 年内首个“三连跌” 95号汽油回归“8元时代“
- 3D advanced renderer: artlandis studio 2021.2 Chinese version
- Easy to use remote sensing data set download website~~~
- [technology 1]
- 反脆弱·从不确定性中获益---管理?
- Design of smoke temperature, humidity and formaldehyde monitoring based on single chip microcomputer
猜你喜欢
Multi level wavelet CNN for image restoration
带你来浅聊一下,单商户功能模块汇总
mycat读写分离配置
Pp-yoloe details
接口自动化测试实践指导(上):接口自动化需要做哪些准备工作
今晚7:30 | 连界、将门、百度、碧桂园创投四位大佬眼中的AI世界,是继续高深还是回归商业本质?...
机器学习【Numpy】
Flask creation process day05-06 creation project
[freeswitch development practice] media bug obtains call voice flow
Digital image processing Chapter 10 - image segmentation
随机推荐
mysql的timestamp存在的时区问题怎么解决
Several methods of converting object to string
Three military product baselines (functional baseline, distribution baseline, product baseline) and the documents contained in the baseline
MYCAT read / write separation configuration
Redis之sentinel哨兵集群怎么部署
增量实时灾备笔记
力扣刷题之分数加减运算(每日一题7/27)
3D advanced renderer: artlandis studio 2021.2 Chinese version
如何判定是stun协议
[technology 1]
AI platform, AI midrange architecture
How close can QA be to business code QA conducts testability transformation on business code
3.1 common neural network layer (I) image correlation layer
Digital image processing Chapter 10 - image segmentation
C traps and defects Chapter 3 semantic "traps" 3.6 Boundary Calculation and asymmetric boundary
HDU多校第二场 1011 DOS Card
Arm architecture and neural network
Easy to use remote sensing data set download website~~~
Learn exkmp again (exkmp template)
Code speed optimization