First time here? Check out the FAQ!
0

manage.py failes pytz version check
 

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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
bryanh's avatar
1
bryanh
asked 9 years ago

Comments

see more comments

1 Answer

0

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
tflidd's avatar
1
tflidd
answered 9 years ago
link

Comments

see more comments