• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

MichielStock/Julia925: Learn Julia in one workday!

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

MichielStock/Julia925

开源软件地址:

https://github.com/MichielStock/Julia925

开源编程语言:

Jupyter Notebook 99.3%

开源软件介绍:

Julia925

Learn Julia in one workday!

If you have Julia and IJulia-notebooks installed, clone the repo and work local in the notebooks. Otherwise click on the badge below to open a Binder session or check the installation instructions below to install Julia and IJulia-notebooks.

Binder

Course notes

The PDF version of the course notes can be downloaded here.

Installation instructions

Installing Julia

  1. Download the Julia binaries for your system here we suggest to install the Long-term support release, v1.0.5
  2. Check the Platform Specific Instructions of the official website to install Julia
  3. Yes, it is that simple

Installing IJulia

Then run the Julia application (double-click on it); a window with a julia> prompt will appear. At the prompt, type:

using Pkg
Pkg.add("IJulia")

to install IJulia.

This process installs a kernel specification that tells Jupyter (or JupyterLab) etcetera how to launch Julia.

Pkg.add("IJulia") does not actually install Jupyter itself. You can install Jupyter if you want, but it can also be installed automatically when you run IJulia.notebook() below. (You can force it to use a specific jupyter installation by setting ENV["JUPYTER"] to the path of the jupyter program before Pkg.add, or before running Pkg.build("IJulia"); your preference is remembered on subsequent updates.

Running the IJulia Notebook

If you are comfortable managing your own Python/Jupyter installation, you can just run jupyter notebook yourself in a terminal. To simplify installation, you can alternatively type the following in Julia, at the julia> prompt:

using IJulia
notebook()

to launch the IJulia notebook in your browser.

The first time you run notebook(), it will prompt you for whether it should install Jupyter. Hit enter to have it use the Conda.jl package to install a minimal Python+Jupyter distribution (via Miniconda) that is private to Julia (not in your PATH). On Linux, it defaults to looking for jupyter in your PATH first, and only asks to installs the Conda Jupyter if that fails; you can force it to use Conda on Linux by setting ENV["JUPYTER"]="" during installation (see above). (In a Debian or Ubuntu GNU/Linux system, install the package jupyter-client to install the system jupyter.)

source




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
ztangent/Julog.jl: A Julia package for Prolog-style logic programming.发布时间:2022-07-09
下一篇:
dcjones/Zlib.jl: zlib bindings for Julia发布时间:2022-07-09
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap