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

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.

主站蜘蛛池模板: 永登县| 五寨县| 镇平县| 涡阳县| 景洪市| 洮南市| 苍山县| 临武县| 新津县| 连山| 兴和县| 扬州市| 莆田市| 余江县| 嘉善县| 鄂尔多斯市| 建德市| 炉霍县| 禹城市| 汉沽区| 诏安县| 兰西县| 惠水县| 高邑县| 张家港市| 天峻县| 榆林市| 瑞安市| 息烽县| 安顺市| 常宁市| 临夏县| 皋兰县| 卓资县| 瑞安市| 民勤县| 广宁县| 景宁| 双牌县| 宜丰县| 佛教|