当试图在安装了Julia 0.5.0的Windows 10膝上更新已安装的包时,Rmath出现了以下错误:
C:\Users\CaitlinG>julia -e "Pkg.update()"
INFO: Updating METADATA...
INFO: Updating cache of ColorTypes...
INFO: Updating cache of Gadfly...
INFO: Updating cache of StatsBase...
INFO: Updating cache of DataFrames...
INFO: Updating cache of FixedPointNumbers...
INFO: Updating cache of Colors...
INFO: Updating cache of DataFrames...
INFO: Computing changes...
INFO: Upgrading ColorTypes: v0.2.8 => v0.2.11
INFO: Upgrading Colors: v0.6.8 => v0.6.9
INFO: Upgrading FixedPointNumbers: v0.1.8 => v0.2.1
INFO: Upgrading Gadfly: v0.5.0 => v0.5.1
INFO: Upgrading StatsBase: v0.11.0 => v0.11.1
INFO: Building Rmath
================================[ ERROR: Rmath ]================================
LoadError: ArgumentError: Module BinDeps not found in current path.
Run `Pkg.add("BinDeps")` to install the BinDeps package.
while loading C:\users\caitling\emacs251\.julia\v0.5\Rmath\deps\build.jl, in exp
ression starting on line 1
================================================================================
================================[ BUILD ERRORS ]================================
WARNING: Rmath had build errors.
- packages with build errors remain installed in C:\users\caitling\emacs251\.ju
lia\v0.5
- build the package(s) and all dependencies with `Pkg.build("Rmath")`
- build a single package by running its `deps/build.jl` script
================================================================================我也对朱莉娅无法定位'Gadfly.jl‘感到困惑,尽管它是按照上面的输出所示安装的。
谢谢。
发布于 2017-02-01 02:16:42
这可能是因为您的包目录的路径区分大小写。在指定了一个本地包目录之后,我也遇到了同样的问题,直到我意识到,多亏了这一讨论,我在指定的路径中出现了错误的大写。
我确信C:\\users应该是C:\\Users,但是请检查您的路径的其余部分,目前的情况如下:
C:\users\caitling\emacs251\.julia\
然后,您可以检查这是否是问题所在
ENV["JULIA_PKGDIR"] ="C:\\Users\\caitling\\emacs251\\.julia"
Pkg.build("Rmath")https://stackoverflow.com/questions/40003303
复制相似问题