当前位置:网站首页>Julia 1.6 1.7 common problem solving

Julia 1.6 1.7 common problem solving

2022-07-06 11:14:00 Leibniz infinity sml

julia Multi version installation management : jill

jill There are still many problems , It's still very immature

  1. install anconda py3.8
# Tsinghua mirror source 
  1. start-up anconda install jill :
pip install jill
  1. jill install Specify the version julia:
 jill install 1.6.5
 jill install 1.7.2
  1. jill Download failed : failed to download ( SSL: CERTIFICATE_VERIFY_FAILED )

reference My changes After modification

julia Set package download source by Tsinghua source

ENV["JULIA_PKG_SERVER"] = "https://mirrors.tuna.tsinghua.edu.cn/julia"

julia Disable automatic compilation Currently written code

Based on this section julia 1.7.1 @ win10 x64

# Way 1 :julia Add the following lines to the code :
ENV["JULIA_PKG_PRECOMPILE_AUTO"]=0

# Way 2:  Add system environment variables JULIA_PKG_PRECOMPILE_AUTO,  The value is 0

julia Disable library auto compilation : Solve common problems using Report errors

julia Disable library auto compilation : bring julia stay using XXX library when Don't compile automatically XXX library : --compiled-modules=no

# Solve common problems using Report errors 
# for instance : 
using IJulia
using MLDataset
# etc.   These statements will lead to   Automatic compilation   These libraries ,  The build process   in   Insufficient resources required  ?  still   Insufficient resources caused by loading after compilation ,  bring  using Report errors ,  Cannot continue to use 

julia Command line

# bring julia stay using XXX library   when   Don't compile automatically XXX library : --compiled-modules=no
# %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Julia 1.7.1.lnk :  Add parameters  --compiled-modules=no :
D:\Julia-1.7.1\bin\julia.exe --compiled-modules=no

julia As jupyter kernel

The file %APPDATA%\jupyter\kernels\julia-1.7\kernel.json increase --compiled-modules=no


#  %APPDATA%\jupyter\kernels\julia-1.7\kernel.json
{
    
  "display_name": "Julia 1.7.1",
  "argv": [
    "D:\\Julia-1.7.1\\bin\\julia.exe",
    "--compiled-modules=no",
    "-i",
    "--color=yes",
    "[email protected]",
    "C:\\Users\\enmonster\\.julia\\packages\\IJulia\\e8kqU\\src\\kernel.jl",
    "{connection_file}"
  ],
  "language": "julia",
  "env": {
    },
  "interrupt_mode": "message"
}


quote 01
quote 02 jupyter kernel-specs

原网站

版权声明
本文为[Leibniz infinity sml]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202131634115797.html