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

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.

主站蜘蛛池模板: 搜索| 蓝田县| 邮箱| 乳山市| 阿克苏市| 平昌县| 桓台县| 大渡口区| 阿合奇县| 大丰市| 平度市| 凤台县| 青田县| 宁波市| 苍山县| 顺昌县| 湖州市| 六枝特区| 论坛| 彭州市| 腾冲县| 达孜县| 通州区| 钦州市| 达州市| 镇远县| 汪清县| 东乡| 清流县| 上思县| 锡林浩特市| 蒙山县| 句容市| 布拖县| 邹平县| 安泽县| 林西县| 丰顺县| 遂溪县| 襄城县| 浮梁县|