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

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.

主站蜘蛛池模板: 荆州市| 原平市| 罗江县| 海南省| 射阳县| 兴文县| 越西县| 类乌齐县| 张家川| 通州区| 汽车| 南投市| 兰坪| 顺义区| 浏阳市| 珠海市| 齐齐哈尔市| 大丰市| 乌兰察布市| 安国市| 任丘市| 曲麻莱县| 中卫市| 抚州市| 尚义县| 潮安县| 大连市| 屏山县| 长阳| 澄迈县| 大厂| 垣曲县| 西林县| 山阴县| 恩平市| 吴堡县| 辽阳县| 丰城市| 景洪市| 峨边| 杭锦旗|