Julia语言比Python更适用于科学计算,现总结LINUX系统上安装Julia和Python程序中调用Julia的过程。

安装Julia

安装过程参考官网教程

需要注意的是将Julia导出到系统环境,该过程详细记录如下。参考技术贴

Step 3: Now add Julia to your system path. Let’s do that by adding Julia bin path to the end of your ~/.bashrc or ~/.bash_profile.

nano ~/.bashrc
export PATH=”$PATH:/path/to/juliadir/bin”

Step 4: For the changes to take effect let’s source the file.

source ~/.bashrc

All done 🎉🎉 now let’s see if we are able to invoke Julia’s REPL, type the following in your terminal

julia

If all the steps were followed correctly, you should now see a screen that has “Julia”