【发布时间】:2015-02-04 11:20:00
【问题描述】:
我正在尝试在集群上安装一些 Distributions 和 StatsBase 模块,但我失败了。这是我所做的以及收到的错误消息:
julia> Pkg.add()
ERROR: `add` has no method matching add() # Not really relevant for our problem I guess
Pkg.add("Distributions")
ERROR: could not spawn `git version`: no such file or directory (ENOENT)
in _jl_spawn at process.jl:217
in spawn at process.jl:348
in open at ./process.jl:397
in readbytes at ./process.jl:461
in version at ./pkg/git.jl:34
in init at ./pkg/dir.jl:32
in __cd#227__ at ./pkg/dir.jl:28
in add at pkg.jl:20
julia> Pkg.installed()
ERROR: could not spawn `git version`: no such file or directory (ENOENT)
in _jl_spawn at process.jl:217
in spawn at process.jl:348
in open at ./process.jl:397
in readbytes at ./process.jl:461
in version at ./pkg/git.jl:34
in init at ./pkg/dir.jl:32
in cd at pkg/dir.jl:25
in installed at pkg.jl:25
julia> Pkg.status()
ERROR: could not spawn `git version`: no such file or directory (ENOENT)
in _jl_spawn at process.jl:217
in spawn at process.jl:348
in open at ./process.jl:397
in readbytes at ./process.jl:461
in version at ./pkg/git.jl:34
in init at ./pkg/dir.jl:32
in cd at pkg/dir.jl:25
in status at pkg.jl:28 (repeats 2 times)
我应该联系维护集群的人还是我可以自己解决这个问题?
【问题讨论】:
-
你先执行
Pkg.init()了吗? -
'Pkg.ini' 返回同样的错误
-
从命令行中,
which git或git version是否显示git已安装?
标签: git module installation package julia