I am getting "could not find function MXSymbolGetAtomicSymbolName" error in windows 10 on Julia command prompt when I enter:
julia> using MXNet
What should I do to fix this error
Tested with Julia 0.6.2 and the issue is no longer present.
Related
I'm on Ubuntu and would like to use Genie.jl but I can't even get Genie to precompile.
It's also not the only error message I get. By just running "using Genie" gives me the following:
ERROR: LoadError: LoadError: syntax: invalid keyword argument syntax "webserver"
I already tried Pkg.resolve() and Pkg.instantiate() and pkg> update. All without success.
Noticed that Julia was on version 1.4.1. After updating all problems were resolved.
When I tried to run Pkg.add('BenchmarkTools") I got the following error.
ERROR: Pkg.TOML.ParserError(3, 4, "expected `=`, but found `\x90`")
It seems to be a general problem. The only solution for this is to close julia or coding environment, delete the TOML file in
C:\Users<USER>.julia\logs
and restart Julia
Following RCall's documentation, I ran Pkg.add("RCall") which looked to be working. Then, running using RCall gave:
WARNING: could not import StatsModels.Formula into RCall
ERROR: LoadError: RCall not properly installed. Please run Pkg.build("RCall")
#... few lines later
ERROR: Failed to precompile RCall [6f49c342-dc21-5d91-9882-a32aef131414] to C:\Users\jke4\.julia\compiled\v1.1\RCall\8GFyb.ji.
That's why I ran Pkg.build("RCall"):
┌ Error: Error building `RCall`:
│ ERROR: LoadError: R cannot be found. Set the "R_HOME" environment variable to re-run Pkg.build("RCall").
I believe, accordingly to RCall's documentation that I have to do a custom installation, but why can't am I able to simply install by Pkg.add("RCall") like it's suppose to be done?
RCall.jl can simply be installed with
Pkg.add("RCall")
Note:
Julia version is 1.1.0.
using Conda does work.
There is no R version installed in my Windows computer
I do understand what is my error message and how I can deal with it. My question is why do I have it whereas I wasn't suppose to, quoting RCall's documentation:
RCall.jl will automatically install R for you using Conda if it doesn't detect that you have R 3.4.0 or later installed already.
Update
Alright, I've done what #Cameron Bieganek suggests: pkg> pin StatsModels#0.5
And it seems to work for a moment. However, after doing ] up, accordingly with the issue I had in this question.
using RCall now gives:
ERROR: LoadError: RCall not properly installed. Please run Pkg.build("RCall")
and Pkg.build("RCall"):
┌ Error: Error building `RCall`:
│ ERROR: LoadError: IOError: stat: invalid argument (EINVAL)
This time I can't get what's the error.
GitHub
Please note that this question is also referenced on GitHub RCall.jl.
I have a fresh Windows 10 install of R, RStudio, Python 3.6.8, TensorFlow, and the tfestimators library. However, whenever I execute the feature_columns() function, for example:
feature_cols <- feature_columns(column_numeric("test_column_name"))
...I get this error message:
Error in py_get_attr_impl(x, name, silent) :
AttributeError: module 'tensorflow.python.feature_column.feature_column' has no attribute 'numeric_column'
Any idea how to solve this?
I've restarted RStudio and Windows several times, reinstalled Python (This error occurs using both versions I've tried, 3.7 and 3.6.8), reinstalled the tfestimators package, and reinstalled TensorFlow. Same error always occurs.
I tried compiling R 3.4.4 at a linux system (CentOS) locally (I don't have administrative right to the system). In make, I consistently got these errors:
grep.c:(.text+0xb2): undefined reference to pcre_jit_stack_alloc
grep.c:(.text+0xdd): undefined reference to pcre_assign_jit_stack
grep.o: In function do_strsplit:
grep.c:(.text+0x1f8a): undefined reference to pcre_free_study
grep.o: In function do_grep:
grep.c:(.text+0x3ca5): undefined reference to pcre_free_study
grep.o: In function do_gsub:
grep.c:(.text+0x85c6): undefined reference to pcre_free_study
grep.o: In function do_regexpr:
grep.c:(.text+0xb3e6): undefined reference to `pcre_free_study'
I encountered similar errors for R 3.4.3. I thought R 3.4.4 may not have this problem on that system but it turned out that I was wrong. I could successfully compile R 3.3.2 on the same system. I was also told that the pcre on the system is up to date (pcre/8.41/gcc/4.9.3).
What are the possible reasons for this kind of errors?
FYI for people trying the conda approach. I was able to install R-3.4.3 using conda install -c r r=3.4.3. I noticed, however, that it installed Microsoft R Open (MRO) instead of vanilla R.
This solves my problem for now. Thanks very much for the suggestion merv. I would still want to know why building R from source produces the errors mentioned in the post though.