Jupyter notebook can't find pyxlsb module

I'm trying to use the pyxlsb module in Jupyter Notebook but it comes up with:

ModuleNotFoundError: No module named '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?

1

1 Answer

pyxlsb might not be installed in your ipython environment.

A) Try running the following code at the command line:

$ pip install pyxlsb

B) Run a bash commands in jupyter using %%bash magic

C) Use pip inside the notebook as follows:

!pip install pyxlsb
1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like