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

查看:129
本文介绍了如何为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天全站免登陆