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

versioninfo don't work in embedded julia and with "-e" option #28803

Closed
mmmm1998 opened this issue Aug 21, 2018 · 3 comments
Closed

versioninfo don't work in embedded julia and with "-e" option #28803

mmmm1998 opened this issue Aug 21, 2018 · 3 comments

Comments

@mmmm1998
Copy link
Contributor

julia -e "versioninfo()"
gives

ERROR: UndefVarError: versioninfo not defined
Stacktrace:
 [1] top-level scope at none:0

In Julia repl all works fine.
Also, versioninfo don't work with embedded Julia (C API) with the same error.

versioninfo:

Julia Version 1.0.0
Commit 5d4eaca0c9 (2018-08-08 20:58 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: AMD FX(tm)-8150 Eight-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.0 (ORCJIT, bdver1)
@fredrikekre
Copy link
Member

julia -e "using InteractiveUtils; versioninfo()" , the REPL loads it automatically.

@mmmm1998
Copy link
Contributor Author

Docs missed this info.
Should I create pull request with your info?

@fredrikekre
Copy link
Member

Ha, good find. Yea, that should definitely be fixed.

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