打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Julia编程03:Julia开发环境

使用brew安装julia,可以参考使用homebrew管理linux和mac软件

Apple M2

Current stable release: v1.8.5 (January 8, 2023)

  • 安装
brew install --cask julia

Ubuntu

  • 安装
brew install julia

设置镜像

mkdir -p ~/.julia/config
vi ~/.julia/config/startup.jl
#添加如下内容
# ~/.julia/config/startup.jl
ENV["JULIA_PKG_SERVER"] = "https://mirrors.ustc.edu.cn/julia"

在Julia的REPL输入versioninfo()命令可以检查镜像是否生效:

Julia Version 1.8.5
Commit 17cfb8e65ea (2023-01-08 06:45 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.5.0)
  CPU: 8 × Apple M2
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, apple-m1)
  Threads: 1 on 4 virtual cores
Environment:
  JULIA_PKG_SERVER = https://mirrors.ustc.edu.cn/julia

安装常用包

在Julia的REPL输入]进入pkg mode

add Missings Downloads DataFrames DataFramesMeta IJulia Statistics Genie CSV Arrow PooledArrays CategoricalArrays StatsBase

VS code安装

  • 安装vscode

https://code.visualstudio.com/Download

  • vscode安装插件

Jupyter、Julia

Almost everyone should be downloading and using the latest stable release of Julia. Great care is taken not to break compatibility with older Julia versions, so older code should continue to work with the latest stable Julia release. You should only be using the long-term support (LTS) version of Julia if you work at an organization where implementing or certifying upgrades is prohibitively expensive and there is no need for new language features or packages. See this description of "Risk Personas" for more detail on who should be using what versions of Julia based on their risk tolerance. See this blog post on Julia's Release Process for more information on different kinds of releases.
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Apache Tomcat
PySqlite – The Trac Project
Operating System Interface Design Between 1981-2009 | Webdesigner Depot
Ubuntu20.4:安装OpenCV4,配置vscode+CMake作为基本开发环境
Wireshark · Download
Downloads · TortoiseSVN
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服