Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install problems with pytz versions #11

Closed
rkmaddox opened this issue Nov 17, 2013 · 4 comments
Closed

Install problems with pytz versions #11

rkmaddox opened this issue Nov 17, 2013 · 4 comments

Comments

@rkmaddox
Copy link

Hi. Very new to python, so this could be an obvious fix (apologies if so). I get an install error (using command "pip install --user nfldb") that appears to be an issue with nfldb not using the most current version of pytz. Here is the pip output:

Downloading/unpacking nfldb
Running setup.py egg_info for package nfldb

Requirement already satisfied (use --upgrade to upgrade): nflgame in ./.local/lib/python2.7/site-packages (from nfldb)
Downloading/unpacking psycopg2 (from nfldb)
Running setup.py egg_info for package psycopg2

Downloading/unpacking enum34 (from nfldb)
Running setup.py egg_info for package enum34

Downloading/unpacking pytz==2013b (from nfldb)
Running setup.py egg_info for package pytz

warning: no files found matching '*.pot' under directory 'pytz'
warning: no previously-included files found matching 'test_zdump.py'

Source in ./build/pytz has the version 2013.8, which does not match the requirement pytz==2013b (from nfldb)
Source in ./build/pytz has version 2013.8 that conflicts with pytz==2013b (from nfldb)

@BurntSushi
Copy link
Owner

pytz's versioning scheme is really weird, and I had fixed it to a particular version because it didn't work without. (Read: It was a hack.) So I'd be surprised if the problem was because you were doing something wrong.

In any case, I removed the version restriction and things still seem to work. (Although, I could not reproduce your problem.)

Please try pip install --user nfldb again. Make sure it's trying to install 0.0.13 though. (If not, you may need to find pip's directory in /tmp and wipe it to start fresh. There may also be a --force-download option or some such.)

Please re-open this issue if you're still getting the same problem. Please also include the output of pip freeze on your system.

@rkmaddox
Copy link
Author

Install worked. Thanks!

>>> import nfldb
>>> nfldb.__version__
'0.0.13'

@ochawkeye
Copy link
Contributor

This is causing a bit of an upgrade loop with nflvid. Not a big deal, but just a reminder that package has the same 2013b requirement.

@BurntSushi
Copy link
Owner

@ochawkeye I forgot to comment and say that I fixed that (hopefully).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants