Think Julia: How to Think Like a Computer Scientist

分享一个入门的电子书:
https://benlauwens.github.io/ThinkJulia.jl/latest/book.html

7 个赞

是今年的新书 :smiling_face_with_three_hearts:

这本书你们看过吗?
里面的例子包安装不了了

(v0.7) pkg> add ThinkJulia

报这个错把

julia> using Pkg

julia> Pkg.add("ThinkJulia")
  Updating registry at `C:\Users\woclass\.julia\registries\General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
ERROR: The following package names could not be resolved:
 * ThinkJulia (not found in project, manifest or registry)
Please specify by known `name=uuid`.

应该是没有在 METADATA 注册的原因。
指定一下 repo 就行了,v1.0 可用

using Pkg
Pkg.add(PackageSpec(url="https://github.com/BenLauwens/ThinkJulia.jl", rev="master"))
1 个赞

新技能get 。