当前位置:网站首页>Using Jupiter notebook in virtual environment
Using Jupiter notebook in virtual environment
2022-04-23 13:46:00 【Silent city of the sky】
jupyter notebook
(1) Install... In the corresponding virtual environment ipykernel
pip install ipykernel
(2) Then use ipykernel Generate virtual environment kernel
python -m ipykernel install --user --name Environment name
(3) View installed kernel Kernel and location of
jupyter kernelspec list
(4) Delete a kernal, Such as tensor-gpu
jupyter kernelspec remove tensor-gpu
install jupyter notebook
1. Use anaconda install
conda install jupyter notebook
2. Use pip Command to install
pip install jupyter
auxiliary :
jupyter notebook – markdown Use
1. Install extensions to add directories :
conda install -c conda-forge jupyter_contrib_nbextensions
2. There are too many navigation bars Nbextensions class , Click on Nbextensions Check "Table of Contens"
3. After the jupyter notebook Use markdown Click on **** The icon in the figure below can be used .
4. Add links
Add the body of the link
Jump tips
Jump tips
No prompting
5. Load the specified web page source code
%load URL
6. Load local python file
%load python The absolute path to the file
7. Run directly without loading
%run python The absolute path to the file
or
!python python The absolute path to the file
8. Get the absolute path of the current location
%pwd
or
!pwd
版权声明
本文为[Silent city of the sky]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230556366052.html
边栏推荐
- sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
- On the bug of JS regular test method
- QT calling external program
- SSM project deployed in Alibaba cloud
- Technologie zéro copie
- The interviewer dug a hole for me: how many concurrent TCP connections can a single server have?
- Static interface method calls are not supported at language level '5'
- Solution: you have 18 unapplied migration (s) Your project may not work properly until you apply
- Using open to open a file in JNI returns a - 1 problem
- ./gradlew: Permission denied
猜你喜欢
自动化的艺术
10g database cannot be started when using large memory host
Information: 2021 / 9 / 29 10:01 - build completed with 1 error and 0 warnings in 11S 30ms error exception handling
On the bug of JS regular test method
Static interface method calls are not supported at language level '5'
Oracle defines self incrementing primary keys through triggers and sequences, and sets a scheduled task to insert a piece of data into the target table every second
UML统一建模语言
切线空间(tangent space)
Leetcode brush question 897 incremental sequential search tree
Special window function rank, deny_ rank, row_ number
随机推荐
Campus takeout system - "nongzhibang" wechat native cloud development applet
Influence of openssh version on SSH mutual trust creation in RAC environment
Handling of high usage of Oracle undo
[andorid] realize SPI communication between kernel and app through JNI
Android clear app cache
Apache Atlas Compilation and installation records
自动化的艺术
sys. dbms_ scheduler. create_ Job creates scheduled tasks (more powerful and rich functions)
Generate 32-bit UUID in Oracle
Publish custom plug-ins to local server
Common analog keys of ADB shell: keycode
[multi screen interaction] realize dual multi screen display II: startactivity mode
GDB的使用
【视频】线性回归中的贝叶斯推断与R语言预测工人工资数据|数据分享
innobackupex增量备份
JUC interview questions about synchronized, ThreadLocal, thread pool and atomic atomic classes
Processing of ASM network not automatically started in 19C
Operations related to Oracle partition
PG library to view the distribution keys of a table in a certain mode
Oracle index status query and index reconstruction