代码之家  ›  专栏  ›  技术社区  ›  Ohm

如何配置Juno从特定conda环境启动julia

  •  0
  • Ohm  · 技术社区  · 5 年前

    我正在开发ubuntu16.04,我在一个名为py3的conda环境中安装了julia conda-forge .

    Atom uber-juno 通过软件,但安装后Atom找不到julia安装,并给出以下错误消息:

    We tried to launch Julia from:
    julia
    This path can be changed in the settings.
    Details:
      /bin/sh: 1: julia: not found
    

    如何将Atom配置为在py3 conda环境中与julia一起工作?

    0 回复  |  直到 5 年前
        1
  •  1
  •   hckr    5 年前

    Atom 将呼叫 julia ,默认情况下。如果保留此默认值,您只需在终端中激活您的环境,调用 atom 在这个环境中,轻松地开始在Atom中使用conda环境的Julia。

    $ source activate py3
    # or just `$ activate py3` on Windows
    (py3) $ atom
    # or `atom --new-instance` to force create a new instance of atom
    

    如果在您的环境中安装了Julia py3 ,那么您就可以在Atom中使用它了。