官术网_书友最值得收藏!

Installing Julia and linking it to Jupyter

The steps for installing Julia are as follows:

  1. First, we go to the following web page to download Julia: https://julialang.org/downloads/.
  2. As when downloading Anaconda, we have different versions depending on our system, as shown here:
  1. Again, based on your operating system (Windows, Mac, or Linux), choose the appropriate version and download the executable package.
  1. Clicking the executable, we can install the package and, in order to launch Julia, we simply click on Julia.exe.
  2. In it, we can type println("Hello World"), as shown:

Alternatively, for Windows, we can click All Programs | Julia. We can also copy and paste Julia to our desktop.

  1. In addition, another way to launch Julia is through a DOS window. However, before we can do so, we have to add the path to the directory that contains Julia.exe to our path. For example, in order to use Julia via Jupyter, we have to issue the following command:
  1. It takes about 10 minutes to install the package called IJulia. After that, we launch Jupyter, then click New, and we can see the following:
  1. Then we can launch Julia and type our command line of println("This is great!") there, as shown:

In terms of Julia language, when discussing optimization in Chapter 7, Optimization in Anaconda, we used one or two optimization packages in Julia to solve a few problems.

主站蜘蛛池模板: 原平市| 时尚| 手游| 三原县| 潞西市| 邛崃市| 怀来县| 木里| 楚雄市| 洪江市| 三亚市| 灌南县| 华亭县| 乐至县| 佛冈县| 莎车县| 恩施市| 寿阳县| 西青区| 漳州市| 石屏县| 成安县| 襄樊市| 阜平县| 会同县| 武定县| 肇东市| 西吉县| 安徽省| 永兴县| 沙雅县| 弥渡县| 鹤峰县| 信丰县| 蓬溪县| 盐津县| 中山市| 广昌县| 全南县| 乌鲁木齐市| 博罗县|