简体   繁体   English

如何设置Atom / Juno来运行Julia?

[英]How to set up atom / juno to run julia?

I'm trying to set up Atom/Juno to run Julia so that it looks like the screen grab on this website - it looks exactly like what I want. 我试图将Atom / Juno设置为运行Julia,以使其看起来像本网站上的屏幕抓图-看起来与我想要的完全一样。 http://junolab.org/ http://junolab.org/

I have downloaded and installed Julia and Atom. 我已经下载并安装了Julia和Atom。 On Atom I have installed packages uber-juno, julia-client and language-julia. 在Atom上,我安装了软件包uber-juno,julia-client和language-julia。

When trying to start Julia in Atom, I get the following error: 尝试在Atom中启动Julia时,出现以下错误:

Error installing Atom.jl package Go to the Packages → Julia → Open Terminal menu and run Pkg.add("Atom") in Julia, then try again. 安装Atom.jl软件包时出错转到“软件包”→“ Julia”→“打开终端”菜单,然后在Julia中运行Pkg.add("Atom") ,然后重试。 If you still see an issue, please report it to: julia-users@googlegroups.com 如果您仍然发现问题,请报告给:julia-users@googlegroups.com

When I go to the terminal and type 'Pkg.add("Atom") I get the following error: 当我转到终端并输入'Pkg.add(“ Atom”)时,出现以下错误:

julia> Pkg.add("Atom")
INFO: Initializing package repository C:\Users\BRB\.julia\v0.5
INFO: Cloning METADATA from https://github.com/JuliaLang/METADATA.jl
ERROR: ArgumentError: 'C:\Users\BRB\.julia\v0.5\REQUIRE' exists. `remove_destination=true` is required to remove 'C:\Users\BRB\.julia\v0.5\REQUIRE' before moving.
 in #checkfor_mv_cp_cptree#8(::Bool, ::Function, ::String, ::String, ::String) at .\file.jl:147
 in (::Base.Filesystem.#kw##checkfor_mv_cp_cptree)(::Array{Any,1}, ::Base.Filesystem.#checkfor_mv_cp_cptree, ::String, ::String, ::String) at .\<missing>:0
 in #mv#11 at .\file.jl:184 [inlined]
 in mv at .\file.jl:184 [inlined]
 in init(::String, ::String) at .\pkg\dir.jl:58
 in #cd#1(::Array{Any,1}, ::Function, ::Function, ::String, ::Vararg{Any,N}) at .\pkg\dir.jl:28
 in add(::String) at .\pkg\pkg.jl:100

I have no idea what to do next. 我不知道下一步该怎么做。 Any suggestions? 有什么建议么?

You seem to have a corrupt .julia directory. 您似乎有一个损坏的.julia目录。 Delete C:\\Users\\BRB\\.julia completely and try again. 完全删除C:\\Users\\BRB\\.julia然后重试。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM