当前位置:网站首页>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 .


边栏推荐
- [quantitative investment] discrete Fourier transform to calculate array period
- 嵌入式 | 硬件转软件的几条建议
- Recommendation - Secret of curiosity: how many dancing angels can stand on the tip of a needle?
- MySQL | store notes of Master Kong MySQL from introduction to advanced
- What is graph neural network? Figure what is the use of neural networks?
- 【LeetCode】415. String addition
- [noi Simulation Competition] geiguo and time chicken (structure)
- P6698-[BalticOI 2020 Day2]病毒【AC自动机,dp,SPFA】
- 从华为WeAutomate数字机器人论坛,看政企领域的“政务新智理”
- Applet cloud data, data request a method to collect data
猜你喜欢

【Redis實現秒殺業務①】秒殺流程概述|基本業務實現

12、 Demonstration of all function realization effects

Epidemic situation, unemployment, 2022, we shouted to lie down!

解决:jmeter5.5在win11下界面上的字特别小

The list of open source summer winners has been publicized, and the field of basic software has become a hot application this year
![The printed object is [object object]. Solution](/img/fc/9199e26b827a1c6304fcd250f2301e.png)
The printed object is [object object]. Solution

How to configure environment variables and distinguish environment packaging for multi terminal project of uniapp development

Data middle office: detailed explanation of technical architecture of data middle office

Kaformer personal notes

On the routing tree of gin
随机推荐
Ordinary people have no education background. Can they earn more than 10000 yuan a month by Self-taught programming?
阿里资深软件测试工程师推荐测试人员必学——安全测试入门介绍
1528. rearrange strings
Chapter 7 operation bit and bit string (III)
Code written by mysql, data addition, deletion, query and modification, etc
【Redis实现秒杀业务①】秒杀流程概述|基本业务实现
Groovy通过withCredentials获取Jenkins凭据
"I can't understand Sudoku, so I choose to play Sudoku."
荐书丨《好奇心的秘密》:一个针尖上可以站多少跳舞的小天使?
2022-06-23:给定一个非负数组,任意选择数字,使累加和最大且为7的倍数,返回最大累加和。 n比较大,10的5次方。 来自美团。3.26笔试。
学习太极创客 — ESP8226 (十三)OTA
Spark - the number of leftouterjoin results is inconsistent with that of the left table
P6698-[BalticOI 2020 Day2]病毒【AC自动机,dp,SPFA】
用VNC Viewer的方式远程连接无需显示屏的树莓派
eBanb B1手环刷固件异常中断处理
Linux MySQL installation
Huawei Router: IPSec Technology
Opencv daily function structure analysis and shape descriptor (7) finding polygon (contour) / rotating rectangle intersection
On the routing tree of gin
2020 China's provinces and cities, three-level linkage data, data agencies (data from the official website of the National Bureau of Statistics)