derek-adair / nflgame

A working snapshot of nflgame (for historic purposes). This project is no longer active.
http://nflgame.derekadair.com
The Unlicense
331 stars 100 forks source link

Problems with import #114

Closed Eilermoon closed 4 years ago

Eilermoon commented 4 years ago

Hey all, I'm relatively new to Python trying to get nflgame set up. When I try to import, I get this TypeError, any idea what might be causing it?

image

derek-adair commented 4 years ago

Looks like you are running an older version of nflgame.

What is your output when you run pip freeze?

Make sure its exatly this: nflgame-redux==2.0.1b1. This afternoon you will not have to pin this dependency, working on deploying an official version to pypi so you can just have nflgame in there.

Eilermoon commented 4 years ago

Derek, thanks for responding so quickly!

pip freeze output is below. I apologize as I'm learning the ropes of coding as my experience so far has been Matlab and some VBA, I don't fully understand the terminology and IDE's, etc. yet! Should the line be 'pip install nflgame-redux==2.0.1b1'?

image

derek-adair commented 4 years ago

You need to take a step back and learn what pip is and how to configure your environment. This is beyond the scope of this project. You will have more success on a Q&A forum like stack overflow.