我想在Julia-1.1.1中安装Luxor。在Windows上,但在编译过程中失败,并显示消息“未正确安装Cairo”,并且我应该使用Pkg.build
来构建Cairo。当我这样做时,出现以下错误:
Pkg.build("Cairo")
Building LibCURL ─→ `C:\Users\Th\.julia\packages\LibCURL\teHPG\deps\build.log`
Building WinRPM ──→ `C:\Users\Th\.julia\packages\WinRPM\Y9QdZ\deps\build.log`
Building Homebrew → `C:\Users\Th\.julia\packages\Homebrew\s09IX\deps\build.log`
Building Cairo ───→ `C:\Users\Th\.julia\packages\Cairo\p68X8\deps\build.log`
┌ Error: Error building `Cairo`:
│ ┌ Warning: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
│ └ @ WinRPM C:\Users\Th\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:148
│ ┌ Warning: skipping repodata/repomd.xml, not in cache -- call WinRPM.update() to download
│ └ @ WinRPM C:\Users\Th\.julia\packages\WinRPM\Y9QdZ\src\WinRPM.jl:148
│ [ Info: Updating WinRPM package list
│ [ Info: Downloading https://cache.julialang.org/http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
…
versioninfo()
显示:
Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM) i5-4210M CPU @ 2.60GHz
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-6.0.1 (ORCJIT, haswell)
背景: 在搜寻Julia中适当的图形包时,我尝试安装例如Vega,VegaLite等-和现在的Luxor-但大多数失败并显示相同的错误消息。到目前为止有效的是Gadfly with Compose。
现在,我正在使用Jupyter Lab,但在REPL,Atom以及Julia的早期版本(例如0.7及更高版本)中都遇到了相同的错误。
有人可以帮助我解决开罗问题吗?顺便说一句,我是编程的新手,所以请耐心一点:)