首页 > 解决方案 > 如何配置 Juno 从特定的 conda 环境启动 julia

问题描述

我正在使用 Ubuntu 16.04,我在 conda - forge 名为 py3 的 conda 环境中安装了 julia 。

然后我安装了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 一起使用?

标签: anacondajuliaatom-editorcondajuno-ide

解决方案


默认情况下, Julia 客户端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 中使用它。


推荐阅读