简体   繁体   English

Jupyter Notebook无法找到pyxlsb模块

[英]Jupyter notebook can't find pyxlsb module

I'm trying to use the pyxlsb module in Jupyter Notebook but it comes up with: 我正在尝试在Jupyter Notebook中使用pyxlsb模块,但它附带了:

ModuleNotFoundError: No module named 'pyxlsb' ModuleNotFoundError:没有名为“ pyxlsb”的模块

for the line of code: 对于代码行:

from pyxlsb import open_workbook as open_xlsb

Would anyone be able to tell me why, and ideally a fix for it please? 谁能告诉我原因,并且理想情况下可以解决吗?

pyxlsb might not be installed in your ipython environment. pyxlsb可能未安装在您的ipython环境中。

A) Try running the following code at the command line: A)尝试在命令行上运行以下代码:

$ pip install pyxlsb

B) Run a bash commands in jupyter using %%bash magic B)使用%%bash magic在jupyter中运行bash命令

C) Use pip inside the notebook as follows: C)如下使用笔记本内部的点子:

!pip install pyxlsb

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

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