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


边栏推荐
- [redis realize Secondary killing Business ①] Overview of Secondary killing Process | Basic Business Realization
- [redis implements seckill business ①] seckill process overview | basic business implementation
- [ES6 breakthrough] promise is comparable to native custom encapsulation (10000 words)
- Kaformer personal notes
- Ebanb B1 Bracelet brush firmware abnormal interrupt handling
- When to use RDD and dataframe/dataset
- Jincang KFS replicator installation (oracle-kes)
- leetcode——错误的集合
- 当程序员被问会不会修电脑时… | 每日趣闻
- Common emoticons
猜你喜欢

Qingcloud based "real estate integration" cloud solution

【LeetCode】541. Reverse string II

A tip to read on Medium for free

Webrtc series - network transmission 5: select the optimal connection switching

Opencv daily function structure analysis and shape descriptor (7) finding polygon (contour) / rotating rectangle intersection

uniapp 开发多端项目如何配置环境变量以及区分环境打包

Target detection series fast r-cnn

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

On the routing tree of gin

I heard that you are still spending money to buy ppt templates from the Internet?
随机推荐
[Niuke] convert string to integer
The list of open source summer winners has been publicized, and the field of basic software has become a hot application this year
常用表情符号
Sword finger offer 55 - I. depth DFS method of binary tree
When programmers are asked if they can repair computers... | daily anecdotes
520. detect capital letters
cookie加密 4 rpc方法确定cookie加密
Pytorch读入据集(典型数据集及自定义数据集两种模式)
Mba-day25 best value problem - application problem
Depens:*** but it is not going to be installed
【E325: ATTENTION】vim编辑时报错
Code written by mysql, data addition, deletion, query and modification, etc
The border problem after the focus of input
阿里资深软件测试工程师推荐测试人员必学——安全测试入门介绍
Framework tool class obtained by chance for self use
How to configure environment variables and distinguish environment packaging for multi terminal project of uniapp development
【牛客】HJ1 字符串最后一个单词的长度
Implementation process of tcpdump packet capturing
开源之夏中选名单已公示,基础软件领域成为今年的热门申请
Yolox backbone -- implementation of cspparknet