当试图安装IJulia(对于Julia v0.6)时,我遇到了安装/构建ZeroMQ的问题。茱莉亚的ZeroMQ构建问题
所以我试过(有人建议)重新启动朱莉娅重建ZeroMQ。我试过几次,无论在家里还是在工作中(分别在作怪,也许代理问题),但我还是得到了以下错误:
julia> Pkg.build("ZMQ") INFO: Building WinRPM WARNING: Compat.KERNEL is deprecated. likely near
C:\Users\ksmet1977.julia\v0.6\WinRPM\src\WinRPM.jl:4 INFO:
Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Building ZMQ WARNING: Compat.KERNEL is deprecated. likely near
C:\Users\kevin.smet.julia\v0.6\WinRPM\src\WinRPM.jl:4 INFO: Updating WinRPM package list INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml=====================================================[ ERROR: ZMQ ]====
LoadError: None of the selected providers can install dependency zmq.
Use BinDeps.debug(package_name) to see available providers while
loading C:\Users\kevin.smet.julia\v0.6\ZMQ\deps\build.jl, in expression starting on line 35====================================================[ BUILD ERRORS ]====
=========================================== WARNING: ZMQ had build errors.
- packages with build errors remain installed in C:\Users\kevin.smet.julia\v0.6
- build the package(s) and all dependencies withPkg.build("ZMQ")
- build a single package by running itsdeps/build.jl
script
请注意,我已经固定WinRPM
问题,安装某些时候下载其他包通过删除cache.julialang.org
部分中的sources.list
文件。
当我运行BinDeps.debug("ZMQ")
,我得到以下信息:发现
INFO: Reading build script... WARNING: Compat.KERNEL is deprecated.
likely near C:\Users\kevin.smet.julia\v0.6\WinRPM\src\WinRPM.jl:4 The package declares 1 dependencies. INFO: Updating WinRPM package list INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
INFO: Downloading
http:/download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_Leap_42.2/repodata/repomd.xml
Library "zmq"
- Providers:
- Autotools Build
- BinDeps.AptGet package libzmq3 (can't provide)
- BinDeps.Yum package czmq (can't provide)
- WinRPM.RPM package zeromq (can't provide)
我在Windows 10