Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import fail MXNET.jl #432

Open
ghost opened this issue Jan 29, 2020 · 2 comments
Open

Import fail MXNET.jl #432

ghost opened this issue Jan 29, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 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

@GeraldKaeferle
Copy link

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)
...

@clive-g-brown
Copy link

clive-g-brown commented Apr 24, 2020

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)

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

No branches or pull requests

2 participants