Julia:添加包的问题 (BinDeps) [英] Julia: Problems with Adding Packages (BinDeps)
问题描述
I am new to Julia's package manager, and I am having trouble installing GLPK and LinProgGLPK.
I have already run Pkg.Init()
and have successfully installed Curl using Pkg.add("Curl")
. However, when I try to install GLPK or LinProgGLPK (using Pkg.add("GLPK")
and Pkg.add("LinProgGLPK"))
, I get the following message:
MESSAGE: Installing BinDeps v0.0.0
ERROR: Path BinDeps already exists! Please remove to allow installation.
in _resolve at pkg.jl:345
in anonymous at no file:163
in cd at file.jl:26
in cd_pkgdir at pkg.jl:42
in add at pkg.jl:143
in add at pkg.jl:175
I seem to get the same message for other packages that are dependent on BinDeps (including Winston).
I have tried calling Pkg.rm("BinDeps")
, Pkg.add("BinDeps")
, Pkg.update()
, and Pkg.resolve()
, and then returned to trying to add GLPK, but the same message persists. I have also entered ~/.julia
to remove the BinDeps folder, but that did not work either. What am I missing?
P.S. I am running julia in Linux Ubuntu.
Honestly, when something gets screwed up, it's best just to wipe ~/.julia and re-add the packages.
Just make sure you back up your local changes!
这篇关于Julia:添加包的问题 (BinDeps)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!