Comments (13)
nflldb
is actually dependent on nflgame
. But it would appear to me based on your error that you did not install nfldb
with pip
. If you had, pip
would have detected the httplib2
dependency and installed that one as well.
https://github.com/BurntSushi/nfldb/wiki/Python-&-pip-Windows-installation
https://github.com/BurntSushi/nfldb/wiki/Windows-Install
from nfldb.
Do I need to somehow delete nfldb? Or just try reinstalling it with pip? Thanks again.
from nfldb.
Dunno - what happens when you try to reinstall with pip
? If it works then good. If not, what is error and we'll go from there.
from nfldb.
Uninstallation shouldn't be difficult if that is what needs to be done. Just need to uninstall the nfldb
Python module and not the database. You can do that be just deleting your C:\Python27\Lib\site-packages\nfldb
and nfldb-<version>.egg.info
(if present) folders.
from nfldb.
I deleted the two folders, and when I re-install, I get this message:
Perhaps I need to delete nflgame as well?
from nfldb.
There's not an error anywhere in that message :) It is just being verbose about the dependencies and letting you know that everything appears up to date. Successfully installed nfldb
is the key there.
from nfldb.
Use a hammer.
pip install --upgrade --force-reinstall nflgame
pip install --upgrade --force-reinstall nfldb
It sucks that you have to post screenshots. Does cmd
not do copy & paste?
from nfldb.
Oh wait - it didn't check httplib2
or beautifulsoup4
dependency...
P:\Projects\Home Computer\Fantasy Football\2014>pip install nfldb
Requirement already satisfied (use --upgrade to upgrade): nfldb in c:\python27\lib\site-packages
Requirement already satisfied (use --upgrade to upgrade): nflgame>=1.2.2 in c:\python27\lib\site-pac
kages (from nfldb)
Requirement already satisfied (use --upgrade to upgrade): psycopg2 in c:\python27\lib\site-packages
(from nfldb)
Requirement already satisfied (use --upgrade to upgrade): enum34 in c:\python27\lib\site-packages (f
rom nfldb)
Requirement already satisfied (use --upgrade to upgrade): pytz in c:\python27\lib\site-packages (fro
m nfldb)
Requirement already satisfied (use --upgrade to upgrade): httplib2 in c:\python27\lib\site-packages
(from nflgame>=1.2.2->nfldb)
Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in c:\python27\lib\site-pac
kages (from nflgame>=1.2.2->nfldb)
Cleaning up...
What happens if you pip install httplib2
and pip install beautifulsoup4
?
from nfldb.
Not an error, but earlier there was talk of a missing dependcy (httplib2), I'm still not seeing signs of that at all.
pip install --upgrade --force-reinstall nflgame
pip install --upgrade --force-reinstall nfldb
It sucks that you have to post screenshots. Does cmd not do copy & paste?Let me see if I can look up a way to do so. One thing I'm noticing, I'm not seeing some of the site-> packages I need to see. In issue #33, you had written about needing to see the following:
C:\Users\Ben>pip install nfldb
Requirement already satisfied (use --upgrade to upgrade): nfldb in d:\python27\l
ib\site-packages
Requirement already satisfied (use --upgrade to upgrade): nflgame>=1.2.2 in d:\p
ython27\lib\site-packages (from nfldb)
Requirement already satisfied (use --upgrade to upgrade): psycopg2 in d:\python2
7\lib\site-packages (from nfldb)
Requirement already satisfied (use --upgrade to upgrade): enum34 in d:\python27
lib\site-packages (from nfldb)
Requirement already satisfied (use --upgrade to upgrade): pytz in d:\python27\li
b\site-packages (from nfldb)
Requirement already satisfied (use --upgrade to upgrade): httplib2 in d:\python2
7\lib\site-packages (from nflgame>=1.2.2->nfldb)
Requirement already satisfied (use --upgrade to upgrade): beautifulsoup4 in d:\p
ython27\lib\site-packages (from nflgame>=1.2.2->nfldb)
Cleaning up...
But I don't see the httplib2 or beautifulsoup4 when I reinstalled.
from nfldb.
sorry, I wrote that as you were responding, so I pip install httplib2 and beautifulsoup4.
I tried to force install the nfldb and I got the following error
error: Unable to find vcvarsall.bat > ---------------------------------------- Rolling back uninstall of psycopg2 > Cleaning up... Command C:\Python27\python.exe -c > "import setuptools,
tokenize;file='c:\users\eric1.bie\appdata\local\temp\pip_build_Eric.Bieber\psycopg2\setup.> py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, > 'exec'))" install --record c:\users\eric1.bie\appdata\local\temp\pip-dova7b-record\install-record.txt --> single-version-externally-managed --compile failed with error code 1 in > c:\users\eric~1.bie\appdata\local\temp\pip_build_Eric.Bieber\psycopg2 > Storing debug log for failure in C:\Users\Eric.Bieber\pip\pip.log
from nfldb.
That puts you at step 1 of the install wiki.
https://github.com/BurntSushi/nfldb/wiki/Windows-Install
You'll be able to skip steps 4 - 11 since you already have the database installed.
from nfldb.
It sucks that you have to post screenshots. Does cmd not do copy & paste?
Let me see if I can look up a way to do so
Right clicking your command prompt window will bring up a context menu where you can "Select All". Right click again will copy, and you can paste into a text editor where you can snip out the relevant potion. Copy into this window and surrounding with three '```' at top and bottom will make some pretty markdown that everyone can read.
Then again, sometimes it's just easy to upload a screenshot ;)
from nfldb.
So, I ended up completely deleting python and starting over. It looks like that did the trick. Now, I got it, and it has all the data from the game last night included.
I think the issue was related to psycopg2, I tried installing it manually. But I must have already installed pip first, and even trying to delete the script and then installing psycopg2 manually didn't help.
Thanks for your time on this issue.
from nfldb.
Related Issues (20)
- Any active users here? HOT 36
- nfldb-update: command not found HOT 4
- New Season HOT 2
- pip freeze
- Has the NFL ever complained about this project? HOT 2
- pip error
- Game gsis_id = 2017111911 missing in schedule.json (Ochawkeye issue #298)
- Not able to install in Windows HOT 2
- pip installation error HOT 1
- ConfigParser with-update HOT 1
- GSIS ID 2019090808 (CIN @ SEA) stored incomplete JSON to database, unable to replace HOT 4
- Bulk Upload 2017-2019 nfldb-update HOT 4
- Installed and ran nfldb-update. Data Missing for 2017 and 2018 HOT 2
- Expected Points & Win Probability HOT 1
- KeyError Gsis_id = 2019122202
- NFL Update HOT 1
- Anyone have a .sql export with 2019? HOT 1
- XML feeds removed from NFL website? HOT 4
- NFL db update on Anaconda help HOT 1
- Odoo v14 error HOT 2
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 nfldb.