Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Pre-compilation fail for MXNet.jl #17447

Open
ghost opened this issue Jan 27, 2020 · 3 comments
Open

Pre-compilation fail for MXNet.jl #17447

ghost opened this issue Jan 27, 2020 · 3 comments
Labels

Comments

@ghost
Copy link

ghost commented Jan 27, 2020

Every time I try to import MXNet in Julia, I get the following error. Is it a problem of my configuration or something more general? I just can't figure it out from the error message.
I use Linux, in particular I'm on Manjaro-i3. The system is up-to-date but I also tried with older images.

┌ Error: Error building MXNet:
│ [ Info: Found nvcc: /opt/cuda/bin/nvcc
│ ERROR: LoadError: MethodError: no method matching replace(::String, ::String, ::String)
│ Closest candidates are:
│ replace(::String, !Matched::Pair{#s64,B} where B where #s64<:AbstractChar; count) at strings/util.jl:421
│ replace(::String, !Matched::Pair{#s61,B} where B where #s61<:Union{Tuple{Vararg{AbstractChar,N} where N}, Set{#s58} where #s58<:AbstractChar, AbstractArray{#s59,1} where #s59<:AbstractChar}; count) at strings/util.jl:426
│ replace(::String, !Matched::Pair; count) at strings/util.jl:433
│ ...
│ Stacktrace:
│ [1] top-level scope at /home/fabio/.julia/packages/MXNet/XoVCW/deps/build.jl:57
│ [2] top-level scope at none:5
│ in expression starting at /home/fabio/.julia/packages/MXNet/XoVCW/deps/build.jl:53
└ @ Pkg.Operations /build/julia/src/julia-1.3.1/usr/share/julia/stdlib/v1.3/Pkg/src/backwards_compatible_isolation.jl:649
false

@leezu leezu added the Julia label Jan 27, 2020
@drrmmng
Copy link

drrmmng commented Mar 9, 2020

I also get this error on Ubuntu 19.10.

@drrmmng
Copy link

drrmmng commented Mar 9, 2020

It is a weird error, because it should be fixed by #16610
But for some reason an older version of build.jl is downloaded when installing via Julia's package manager.

@drrmmng
Copy link

drrmmng commented Mar 10, 2020

The package version in Julia's package registry is still at 1.5.0, that is probably the issue.

Can anyone bump the Julia package in the registry to 1.6.0?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants