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


边栏推荐
- Data middle office: the data middle office practice scheme of Minsheng Bank
- [use picgo+ Tencent cloud object to store cos as a map bed]
- 2021-05-20computed and watch applications and differences
- Kaformer personal notes
- What is graph neural network? Figure what is the use of neural networks?
- Unable to change the virtual machine power status and report an error solution
- Depens:*** but it is not going to be installed
- Pytoch read data set (two modes: typical data set and user-defined data set)
- 【LeetCode】415. String addition
- MySQL——SQL语句
猜你喜欢

cookie加密 4 rpc方法确定cookie加密

2022.6.13-6.19 AI行业周刊(第102期):职业发展

Numpy NP in numpy c_ And np r_ Explain in detail

听说你还在花钱从网上买 PPT 模板?

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

小白学习MySQL - 增量统计SQL的需求

读CVPR 2022目标检测论文得到的亿点点启发

eBanb B1手环刷固件异常中断处理
![[e325: attention] VIM editing error](/img/58/1207dec27b3df7dde19d03e9195a53.png)
[e325: attention] VIM editing error

MBA-day25 最值问题-应用题
随机推荐
MYCAT read / write separation and MySQL master-slave synchronization
On the routing tree of gin
MySQL - SQL statement
[quantitative investment] discrete Fourier transform to calculate array period
tcpdump抓包实现过程
520. detect capital letters
uniapp 开发多端项目如何配置环境变量以及区分环境打包
目标检测系列——Fast R-CNN
Redis实现全局唯一ID
关于 GIN 的路由树
From the Huawei weautomate digital robot forum, we can see the "new wisdom of government affairs" in the field of government and enterprises
Data middle office: overview of data governance
支持向量机(SVC,NuSVC,LinearSVC)
Epidemic situation, unemployment, 2022, we shouted to lie down!
Array opposite pointer series
"I can't understand Sudoku, so I choose to play Sudoku."
What do you mean by waiting for insurance records? Where should I go for filing?
随笔-反思
[redis implements seckill business ①] seckill process overview | basic business implementation
1528. rearrange strings