当前位置:网站首页>Some common pitfalls in getting started with jupyter:
Some common pitfalls in getting started with jupyter:
2022-06-24 09:12:00 【Night by night, night by night】
1. The browser cannot automatically pop up
Solution steps :
① Press win+R, Press enter again , Go to the command line
② Enter at the command line jupyter notebook --generate-config
It is recommended to remember the location after searching , You may also need to make frequent changes to the configuration file .
This time will show config The location of the file . Or press... At the prompt [y/N] after , The config file location . After copying location , Use... In the configuration file ctrl+F Search for “c.NotebookApp.password=”
Add... Below the line :
import webbrowser
webbrowser.register(" Fill in your browser name , Such as chrome perhaps msedge",None,webbrowser.GenericBrowser(" Fill in your browser path ")) # Right click the path on the desktop , Click properties to view
c.NotebookApp.browser=" Fill in your browser name " # Note that it's not a path 
Then save and exit .
After that jupyter notebook You can automatically open it with your browser , Remember not to close the command line after opening it in the browser .
2. Use... In the specified folder jupyter notebook
① Open the just config.py file
②ctrl+F, Search for c.NotebookApp.notebook_dir, stay ' ' Input it and store it jupyter notbook The path to the file
Be careful : When writing the drive letter C:\\ Are the two \, When copying paths directly, there will be only one \.

Save and exit , Then it will be used in the folder you set up notebook 了 .
3. Unable to create new file , Unable to save new file , Unable to run code
resolvent :
Open the command line , Input pip install pyzmq==19.0.2 install pyzmq 19.0.2 Or an earlier version of pyzmq.
Refer to the post : About jupyter Execute code gram Bad file descriptor The wrong solution _suoke93 The blog of -CSDN Blog _bad file jupyter About jupyter Unable to execute code , Only new files and folders can be created , newspaper Bad file descriptor The wrong solution https://blog.csdn.net/suoke93/article/details/121707760 If you do not know whether you have successfully installed , have access to pip list View package information .


边栏推荐
- Mba-day25 best value problem - application problem
- 2022.06.23 (traversal of lc_144,94145\
- Numpy NP in numpy c_ And np r_ Explain in detail
- [use picgo+ Tencent cloud object to store cos as a map bed]
- 2138. splitting a string into groups of length k
- 随笔-反思
- What do you mean by waiting for insurance records? Where should I go for filing?
- 【E325: ATTENTION】vim编辑时报错
- 2022-06-23: given a nonnegative array, select any number to make the maximum cumulative sum a multiple of 7, and return the maximum cumulative sum. N is larger, to the 5th power of 10. From meituan. 3
- Framework tool class obtained by chance for self use
猜你喜欢

【LeetCode】387. 字符串中的第一个唯一字符

“论解不了数独所以选择做个数独游戏这件事”

From the Huawei weautomate digital robot forum, we can see the "new wisdom of government affairs" in the field of government and enterprises

Numpy NP in numpy c_ And np r_ Explain in detail

"Unusual proxy initial value setting is not supported", causes and Solutions

【使用 PicGo+腾讯云对象存储COS 作为图床】

KaFormer个人笔记整理

【Redis实现秒杀业务①】秒杀流程概述|基本业务实现

【LeetCode】415. String addition

Remote connection of raspberry pie without display by VNC viewer
随机推荐
Applet wx show
GradScaler MaxClipGradScaler
I heard that you are still spending money to buy ppt templates from the Internet?
解决:jmeter5.5在win11下界面上的字特别小
Numpy numpy中的np.c_和np.r_详解
When to use RDD and dataframe/dataset
常用表情符号
[ES6 breakthrough] promise is comparable to native custom encapsulation (10000 words)
【ES6闯关】Promise堪比原生的自定义封装(万字)
Implementation process of tcpdump packet capturing
怎么把mdf和ldf文件导入MySQL workbench中
The native applet uses canvas to make posters, which are scaled to the same scale. It is similar to the uniapp, but the writing method is a little different
EasyExcel单sheet页与多sheet页写出
目标检测系列——Fast R-CNN
Numpy NP in numpy c_ And np r_ Explain in detail
110. balanced binary tree recursive method
深入了解 border
[noi Simulation Competition] send (tree DP)
2022.6.13-6.19 AI行业周刊(第102期):职业发展
Solution: the word of jmeter5.5 on the win11 lower interface is very small