question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timezone issue - with requirements

See original GitHub issue

Got this error when trying to user timezones. After disabling try catch, the following error was shown:

ImportError: pytz must be installed in order to locate timezones. Install with pip install geopy -e ".[timezone]".

So we need to have this installed in requirements??

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
goedzocommented, Aug 5, 2017

Bingo!

pip install pytz

So we need to add pytz to requirements.txt

0reactions
Jcolomarcommented, Aug 5, 2017

u are welcome

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Handle Timezones and Synchronize Your Software ...
The most common way to figure out a time zone is by using the IANA Time Zone Database. You end up with a...
Read more >
Working with Time Zones - W3C
Abstract. This document contains guidelines and best practices for working with time and time zones in applications and document formats.
Read more >
The Problem with Time & Timezones - Computerphile - YouTube
A web app that works out how many seconds ago something happened. How hard can coding that be? Tom Scott explains how time...
Read more >
Procedure for Moving an Area from One Time Zone to Another
Under Federal law, there are two ways in which an area in the United States can be moved from one time zone to...
Read more >
Data not being picked due to TimeZone issue in java
My application has to pick data from a hbase db. This data will be picked based on a date search criteria from a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found