pybaseball icon indicating copy to clipboard operation
pybaseball copied to clipboard

PyBaseball module not found in JupyterLab notebook

Open gianp21 opened this issue 1 year ago • 4 comments

I'm trying to execute 'from pybaseball import statcast' on a JupyterLab notebook like normal, but now I'm receiving an error code stating the module doesn't exist. Does anyone know what's going on with this or how to fix it? Thanks!

gianp21 avatar Feb 16 '24 16:02 gianp21

I second this

BatDad7 avatar Feb 19 '24 20:02 BatDad7

I'm trying to execute 'from pybaseball import statcast' on a JupyterLab notebook like normal, but now I'm receiving an error code stating the module doesn't exist. Does anyone know what's going on with this or how to fix it? Thanks!

Are you using any tools such as virtualenv or pipenv?

kevingarnett avatar Feb 19 '24 21:02 kevingarnett

No, I'm not using either of those, but I think I ended up discovering the issue. It has to do with the web version of JupyterLab not having the necessary updates. I installed JupyterLab on my desktop and verified I had the most recent version of Python and it worked without issue now. Thanks for the help though!

gianp21 avatar Feb 23 '24 15:02 gianp21

Perfect. Thanks for the update!

kevingarnett avatar Feb 23 '24 15:02 kevingarnett

I use pybaseball in jupyter lab without issues, and, per @gianp21 comment above this is not an issue related to pybaseball. he had a Jupyter Lab issue.

This can be closed. @schorrm

BrayanMnz avatar Mar 20 '24 15:03 BrayanMnz