如何为 IJulia Jupyter 笔记本设置 Julia 环境? [英] How to set Julia Environment for IJulia Jupyter notebook?

查看:30
本文介绍了如何为 IJulia Jupyter 笔记本设置 Julia 环境?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的全局 Julia 环境 中遇到了特定的包兼容性问题我想在 Jupyter 笔记本中使用的包.有没有办法告诉 IJulia 使用不同的环境而不是我的全局环境?

I am encountering package compatibility issues within my global Julia environment for specific packages I want to use in a Jupyter notebook. Is there a way to tell IJulia to use a different environment instead of my global one?

推荐答案

默认的 IJulia 内核 设置 --project=@. 所以最方便的方法 (IMO) 是将您的项目保存在与笔记本相同的文件夹中.结果是从一开始就使用了正确的项目,您不必担心在笔记本中激活它.

The default IJulia kernel sets --project=@. so the most convenient way (IMO) is to just keep your project in the same folder as the notebook. The result is that the correct project is used from the start and you don't have to worry about activating it while in the notebook.

这篇关于如何为 IJulia Jupyter 笔记本设置 Julia 环境?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆