惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
N
Netflix TechBlog - Medium
The Register - Security
The Register - Security
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Hacker News
The Hacker News
P
Proofpoint News Feed
Project Zero
Project Zero
The GitHub Blog
The GitHub Blog
The Last Watchdog
The Last Watchdog
F
Fortinet All Blogs
S
Schneier on Security
Help Net Security
Help Net Security
Security Archives - TechRepublic
Security Archives - TechRepublic
C
Check Point Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
P
Proofpoint News Feed
I
InfoQ
T
The Blog of Author Tim Ferriss
Cisco Talos Blog
Cisco Talos Blog
Stack Overflow Blog
Stack Overflow Blog
T
Troy Hunt's Blog
人人都是产品经理
人人都是产品经理
T
Threatpost
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
Cyber Attacks, Cyber Crime and Cyber Security
雷峰网
雷峰网
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
Forbes - Security
Forbes - Security
Vercel News
Vercel News
S
Security Affairs
美团技术团队
P
Privacy & Cybersecurity Law Blog
N
News and Events Feed by Topic
Cyberwarzone
Cyberwarzone
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Jina AI
Jina AI
Spread Privacy
Spread Privacy
Attack and Defense Labs
Attack and Defense Labs
IT之家
IT之家
U
Unit 42
Recorded Future
Recorded Future
W
WeLiveSecurity
PCI Perspectives
PCI Perspectives
P
Palo Alto Networks Blog
H
Hacker News: Front Page
S
Security @ Cisco Blogs
博客园 - 【当耐特】

博客园 - ProjectDD

NET 中 Async/Await 的演进:从状态机到运行时优化的 Continuation C# 指针用法小结 C# BinaryPrimitives 类 C# 内存对齐 linq 查询关于 from子句 关于C# await的一点新理解 关于排序算法 C# Dev Kit 经常导致崩溃 不太会用Span<T> 看文档上的优点估摸着试试 span,memory,ArrayPool,MemoryPool,等的性能对比 C# simd 性能雷点记录 C# 模式匹配里应该注意的几点 高中生理解梯度为何是方向导数极大值 概略 deep net 通过relu 进行函数逼近 win10 下安装 rust 的 依赖配置,通过vs2022 C# 有多需要aot 24个希腊字母的中文拼音版 英语发音探讨 Serializing delegates is not supported on this platform
sagemath 9.x 下的 jupyter 工作路径设置
ProjectDD · 2020-08-21 · via 博客园 - ProjectDD

因为 sagemath 默认打开 jupyter notebook 是使用 虚拟 linux 环境的 Jupyter 进行的,所以它的工作路径的设置的与windows下所有不同,

首先要找到它的配置文件,当然你也可以在 sagemath shell 命令环境之下 通过命令先创造 jupyter配置文件:

# 命令行输入以下命令,生成默认配置文件
jupyter notebook --generate-config

然后设置它的工作目录 :

因为sagemath 是通过liunx环境进行的,所以它的根路径是在sagemath安装位置的

%homepath%\AppData\Local\SageMath 9.1\runtime\

而jupyter的工作目录设置位置这里首先并不是 上方生成的 jupyter_notebook_config.py 文件

它是在:%homepath%\AppData\Local\SageMath 9.1\runtime\etc\fstab.d\<user> 

的文件下,这个文件名就是你的用户名,用记事本打开,修改里面的路径就可以了

e:\ /home/sage ntfs binary,posix=1,user,acl 0 0
none /tmp usertemp binary,posix=0 0 0

通常是上面这样,比如我把它设置成了 e盘根上,一开始,通常默认 在sagemath 9.1来说是 %homepath%

这个目录上的。

那么设置完这里以后, jupyter_notebook_config.py里设置其实只是作为一个相对路径合并到这里设置的路径的后面。