0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

JuliaにてC:ドライブ以外のJupyter Notebookにアクセスする

Last updated at Posted at 2023-03-12

課題

デフォルトではCドライブを対象としたNoteBookが作られるが、別ドライブに保存したNoteBookを開くことができない。

方法

notebook(dir="D:\\")のように、初期ディレクトリにドライブを含むパスを指定した起動スクリプトを作り、"julia jupyter.jl"なるバッチを作る。

jupyter.jl
using IJulia
notebook(dir="D:\\src\\",detached=false)

参考 

pathの設定 大野周平:"Julia入門:インストールからHello World!まで"
pathの確認 println("PATH: ", ENV["PATH"])
環境変数

  • JULIA_HOME i:\julia-1.8.1
  • JULIA_DEPOT_PATH %JULIA_HOME%\pkg
    PKGDIRは廃止
  • CONDA_JL_HOME %JULIA_HOME%\conda\3
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?