可以Jupyter笔记本的bash_kernel被安装在Windows 7操作系统 [英] Can Jupyter notebook's bash_kernel be installed in a windows 7 OS

查看:457
本文介绍了可以Jupyter笔记本的bash_kernel被安装在Windows 7操作系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Jupyter笔记本提供bash_kernel。安装在Windows计算机'点子'失败,无法安装 Pexpect的 3.3这是一个依赖与ipython3一起bash_kernel。漱口步骤来安装Bash_kernel 链接

Jupyter Notebook offers bash_kernel. Installation fails in a windows machine as 'pip' couldn't install pexpect 3.3 which is a dependency for bash_kernel along with ipython3. Refer link for steps to install Bash_kernel.

Jupyter笔记本电脑的bash_kernel可以作为笔记本式发展的ENV猛砸。有使用类Unix终端的Windows机器能够利用出色的数据处理软件如grep,sed的,AWK良好的老传统。我使用的Unix终端仿真器像Cygwin的窗户。但我需要一个笔记本风格开发ENV的cygwin的。

Jupyter Notebook's bash_kernel could serve as a Notebook style development env for Bash. There is a good old tradition of using Unix-like terminal in Windows machine to take advantage of excellent data processing packages like Grep, sed, awk. I do use Unix terminal emulator for windows like Cygwin. But I am in need for a Notebook style dev env for cygwin.

有什么办法,我可以运行这个bash_kernel在Windows7的计算机上运行的Jupyter笔记本?或者是有关于Cygwin的或正在运行的Windows以外的Bash模拟器任何其他笔记本式的发展环境?

Is there any way I could run this bash_kernel in a Jupyter Notebook running on a windows7 machine? Or Is there any alternative Notebook style development environments for Cygwin or other Bash emulators running windows?

推荐答案

Bash_kernel需要Python3。在Cygwin,蟒蛇是2.x版您需要安装和使用python3。

Bash_kernel requires Python3. On cygwin, python is version 2.x. You need to install and use python3.

在Cygwin64位下工作:

The following worked on Cygwin64 bit:

wget https://bootstrap.pypa.io/get-pip.py
python3 get-pip.py
python3 -m pip install pexpect
python3 -m pip install bash_kernel

这篇关于可以Jupyter笔记本的bash_kernel被安装在Windows 7操作系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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