我正在尝试为Julia安装Cairo和Winston套餐。
但是,这是我在尝试测试Winston时收到的以下输出。
julia> Pkg.add("Winston")
INFO: Nothing to be done.
julia> using Winston
ERROR: could not open file /Users/sethhirsh/.julia/v0.2/Cairo/src/../deps/deps.jl
in include at boot.jl:238
in include_from_node1 at loading.jl:114
in include at boot.jl:238
in include_from_node1 at loading.jl:114
in reload_path at loading.jl:140
in _require at loading.jl:58
in require at loading.jl:46
vin include at boot.jl:238
in include_from_node1 at loading.jl:114
in reload_path at loading.jl:140
in _require at loading.jl:58
in require at loading.jl:46
at /Users/sethhirsh/.julia/v0.2/Cairo/src/Cairo.jl:3
at /Users/sethhirsh/.julia/v0.2/Winston/src/Winston.jl:3
julia> Pkg.add("Cairo")
INFO: Nothing to be done.
================================ [错误:开罗] ========== ======================
failed process: Process(
/ Users / sethhirsh / .julia / v0.2 / Cairo / deps / src / glib-2.34.3 / configure - prefix=/Users/sethhirsh/.julia/v0.2/Cairo/deps/usr
,ProcessExited(1))[1] v
在/Users/sethhirsh/.julia/v0.2/Cairo/deps/build.jl:130`
=============================================== =================================
================================ [BUILD ERRORS] =========== =====================
警告:Homebrew和Cairo存在构建错误。
deps/build.jl
脚本=============================================== =================================`
感谢您解决这些错误的任何帮助。
答案 0 :(得分:0)
我也遇到过这些错误。对我来说当添加'Winston'库时'Cairo'是一个依赖。所以我建议从系统中完全卸载Julia,因为Package.rm()可能无法清楚地重新安装软件包。然后在键入Package.add(“Winston”)之前重新安装Julia并确保连接。开罗会来。