当前位置:网站首页>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 .
边栏推荐
- On the routing tree of gin
- 华为路由器:ipsec技术
- jupyter入门常见的几个坑:
- Framework tool class obtained by chance for self use
- The printed object is [object object]. Solution
- Spark - the number of leftouterjoin results is inconsistent with that of the left table
- Linux (centos7.9) installation and deployment of MySQL Cluster 7.6
- [noi Simulation Competition] geiguo and time chicken (structure)
- Data midrange: analysis of full stack technical architecture of data midrange, with industry solutions
- MySQL data (Linux Environment) scheduled backup
猜你喜欢
2022-06-23:给定一个非负数组,任意选择数字,使累加和最大且为7的倍数,返回最大累加和。 n比较大,10的5次方。 来自美团。3.26笔试。
[Niuke] length of the last word of HJ1 string
Rpiplay implementation of raspberry pie airplay projector
Yolox backbone -- implementation of cspparknet
Webrtc series - network transmission 5: select the optimal connection switching
用VNC Viewer的方式远程连接无需显示屏的树莓派
Depens:*** but it is not going to be installed
Ebanb B1 Bracelet brush firmware abnormal interrupt handling
"Unusual proxy initial value setting is not supported", causes and Solutions
【牛客】HJ1 字符串最后一个单词的长度
随机推荐
520. detect capital letters
Depens:*** but it is not going to be installed
jupyter入门常见的几个坑:
开源之夏中选名单已公示,基础软件领域成为今年的热门申请
【输入法】迄今为止,居然有这么多汉字输入法!
Fast and slow pointer series
Numpy numpy中的np.c_和np.r_详解
Transplantation of xuantie e906 -- fanwai 0: Construction of xuantie c906 simulation environment
Solution: the word of jmeter5.5 on the win11 lower interface is very small
Kaformer personal notes
Target detection series fast r-cnn
110. balanced binary tree recursive method
听说你还在花钱从网上买 PPT 模板?
“论解不了数独所以选择做个数独游戏这件事”
MySQL——SQL语句
I heard that you are still spending money to buy ppt templates from the Internet?
支持向量机(SVC,NuSVC,LinearSVC)
Framework tool class obtained by chance for self use
[noi simulation] pendulum (linear algebra, Du Jiao sieve)
【LeetCode】387. First unique character in string