Comments (6)
that worked, thanks for the tip!
from pybaseball.
This sounds like an issue on your end. Can you give some more details? Are you on windows? which directory are you in when you open vscode? did you install pybaseball locally with pip? did you set a interpreter for your vscode session?
from pybaseball.
I found the issue, I was using an anaconda environment which caused it to throw errors. I cloned the repo through git, and I'm using windows, is there a way to import it in a jupyter notebook? I tried importing sys and adding it to path but it didn't work.
from pybaseball.
I'm not the best person to help out here, windows, anaconda, and jupyter notebooks are all things I don't use! If I was doing it on linux or macos I would create a virtual env using python -m venv
, start up that environment, git clone the pybaseball repo and install it with python3 -m pip install .
and also jupyter python3 -m pip install jupyter
, then jupyter notebook
. I don;t know what the equvilant would be in windows, but maybe someone with experience can chime in ?
from pybaseball.
one thing that might be helpful, after you open a notebook you can do
%pip install pybaseball
and it will install pybaseball from pypi into you notebook environment
from pybaseball.
🎉 would you mind closing this issue?
from pybaseball.
Related Issues (20)
- schedule_and_record doesn't work for any year/team combo HOT 4
- Pulling Park Factors from baseball savant
- pitching_stats(year) not working for some seasons HOT 2
- statcast_pitcher does not apply sanitize_input
- retrosheet.py returns an error for all functions HOT 1
- team_game_logs not pulling HOT 2
- Statcast Ball Counts > 3
- How to Get a Pitcher's Season-to-Date ERA heading into a specific date/game_pk?
- Minor League Statcast data
- Future Warnings in team_game_logs
- pitching_stats_range - occasionally not working
- Convert dtypes issue? HOT 2
- pitching_stats and batting_stats not returning all data HOT 3
- Missing cLI data interferes with streak calculation
- Shota Imanaga key_fangraphs value -1 HOT 2
- Cache Generates Massive Amounts of Empty Files HOT 1
- I couldn't collect players season stats
- Pip install pybaseball differs from code on master branch HOT 1
- Github Token
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pybaseball.