Giter Club home page Giter Club logo

Comments (6)

msoud25 avatar msoud25 commented on August 26, 2024 1

that worked, thanks for the tip!

from pybaseball.

bdilday avatar bdilday commented on August 26, 2024

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.

msoud25 avatar msoud25 commented on August 26, 2024

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.

bdilday avatar bdilday commented on August 26, 2024

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.

bdilday avatar bdilday commented on August 26, 2024

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.

bdilday avatar bdilday commented on August 26, 2024

🎉 would you mind closing this issue?

from pybaseball.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.