MXNet.jl icon indicating copy to clipboard operation
MXNet.jl copied to clipboard

Import fail MXNET.jl

Open ghost opened this issue 4 years ago • 2 comments

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

ghost avatar Jan 29 '20 11:01 ghost

Same happend to me on RedHat 8 (v1.0) pkg> add MXNet Resolving package versions... Installed Formatting ─ v0.4.0 Installed MXNet ────── v1.5.0 Updating ~/.juliapro/JuliaPro_v1.0.5-2/environments/v1.0/Project.toml [a7949054] + MXNet v1.5.0 Updating ~/.juliapro/JuliaPro_v1.0.5-2/environments/v1.0/Manifest.toml [59287772] + Formatting v0.4.0 [a7949054] + MXNet v1.5.0 Building MXNet → ~/.juliapro/JuliaPro_v1.0.5-2/packages/MXNet/XoVCW/deps/build.log ┌ Error: Error building MXNet: │ [ Info: Found nvcc: /usr/local/cuda-10.2/bin/nvcc │ ERROR: LoadError: MethodError: no method matching replace(::String, ::String, ::String) ...

GeraldKaeferle avatar Feb 20 '20 09:02 GeraldKaeferle

was this resolved - i get the same, Ubuntu. Building MXNet → ~/.julia/packages/MXNet/XoVCW/deps/build.log ┌ Error: Error building MXNet: │ [ Info: Found nvcc: /usr/local/cuda-10.2/bin/nvcc │ ERROR: LoadError: MethodError: no method matching replace(::String, ::String, ::String)

clive-g-brown avatar Apr 24 '20 11:04 clive-g-brown