0

I am getting the following error while installing pytz for python on windows:

assert len(resources) > 10, 'zoneinfo files not found!' AssertionError: zoneinfo files not found!"

But I can see a folder named zoneinfo in pytz folder, which has files of all the countries. Does anyone have an idea of what can be missing?

yAnTar
  • 4,269
  • 9
  • 47
  • 73
Savina Singla
  • 31
  • 1
  • 4
  • [edit] your question and include the full traceback. Describe step by step how are you installing `pytz`. – jfs Nov 23 '15 at 12:29

1 Answers1

0

run the

python setup.py install 

from the pytz directory and not another directory. It solved the issue for me.

Nikhil
  • 3,711
  • 8
  • 32
  • 43
Samuel
  • 1