Jupyter notebook 的 bash_kernel 可以安装在 windows 7 OS

Can Jupyter notebook's bash_kernel be installed in a windows 7 OS

Jupyter 笔记本提供 bash_kernel。在 windows 机器上安装失败,因为 'pip' 无法安装 pexpect 3.3 which is a dependency for bash_kernel along with ipython3. Refer link 以获取安装 Bash_kernel.

的步骤

Jupyter Notebook 的 bash_kernel 可以作为 Bash 的笔记本风格开发环境。在 Windows 机器上使用类 Unix 终端是一个很好的古老传统,可以利用 Grep、sed、awk 等优秀的数据处理包。我确实像 Cygwin 一样为 windows 使用 Unix 终端仿真器。但是我需要一个用于 cygwin 的笔记本风格的开发环境。

有什么办法可以在 windows7 机器上 运行 在 Jupyter Notebook 运行 中 运行 这个 bash_kernel 吗?或者是否有用于 Cygwin 或其他 Bash 仿真器的替代笔记本样式开发环境 运行ning windows?

Bash_kernel 需要 Python3。在 cygwin 上,python 是版本 2.x。您需要安装并使用 python3.

以下适用于 Cygwin64 位:

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