Ask Your Question
0

manage.py failes pytz version check

asked 2015-10-21 10:33:01 -0600

bryanh gravatar image

Trying to setup askbot on Ubuntu 15.10. I get the following error when trying to run manage.py

sudo python2 manage.py 


************************
*                      *
*   Askbot self-test   *
*                      *
************************

Unsupported version of module pytz,
found version 2013b0, pytz==2013b required.
please run:
> pip uninstall pytz && pip install pytz==2013b

If necessary, type ^C (Ctrl-C) to stop the program
(to disable the self-test add ASKBOT_SELF_TEST = False).

When I try to reinstall pytz, pip normalizes the version by addingthe "0" at the end but then the version check fails. Is there any way to ignore that one check or fix to match the correct version number?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-10-27 05:01:34 -0600

tflidd gravatar image

I set ASKBOT_SELF_TEST = False into the settings.py, then it seems to skip these tests.

It's more a comment but I can't add a comment.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-10-21 10:24:39 -0600

Seen: 1,470 times

Last updated: Oct 21 '15