简体   繁体   English

使用特定版本(2.7而不是3)运行iPython Notebook

[英]Run iPython notebook with a specific version (2.7 instead of 3)

I'm designing some software that is specifically going to be used by people running Python 2.7 instead of 3. Unfortunately, I'm using a computer that has 3, and apparently there are some dependency issues when some of my colleagues are using Python 2.7 to run code. 我正在设计一些专门供运行python 2.7而不是3的人使用的软件。不幸的是,我使用的计算机具有3,显然,当我的一些同事使用Python 2.7时,存在一些依赖问题。运行代码。 I'm hoping to run with 2.7 in the ipython notebook to fix my problem. 我希望在ipython笔记本中使用2.7来解决我的问题。 Do I need to install a new version, and if so which one? 我需要安装一个新版本吗?

您可以使用“内核”选项卡->更改内核并选择python版本,或者在文件选项卡下打开新笔记本时选择python版本。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM