Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8423457
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T03:43:41+00:00 2026-06-10T03:43:41+00:00

unutbu answered my previous question nicely here 2 , but there does not appear

  • 0

unutbu answered my previous question nicely here 2, but there does not appear to be a pytz to import directly using my SDK. So I went looking for alternatives and found, for example this answer which recommends downloading from here 4.

I placed the following code in my local interactive console.

import datetime as dt
import pytz

utc = pytz.utc
western = pytz.timezone('US/Pacific')

I put the downloaded directory pytz in my local root directory scheduler and I unzipped the included file scheduler/pytz/zoneinfo.zip and got the following error in the interactive console. I did NOT adjust app.yaml at all; is that correct?

"/Users/brian/googleapps/scheduler/pytz/__init__.py", line 173, in timezone
    raise UnknownTimeZoneError(zone)
UnknownTimeZoneError: 'US/Pacific'

I also found an answer to a similar error here 5 which recommends a patch to the init.py file.

Now I have found an answer here 6 which suggests that errors occur if VERSION 2010h is used instead of VERSION 2011h and the pytz I downloaded is 2010h. What is UP?

Is there an easy way to be able to use Wooble’s answer with pytz. And does his answer imply I have to upload the pytz directory with my gae app when it is deployed or is there a pytz alread there?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T03:43:43+00:00Added an answer on June 10, 2026 at 3:43 am

    You need to call from pytz.gae import pytz in order that gae-pytz will work, otherwise you will be using the regular pytz.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to few junk characters in my string using the following statement:
I have code like this: class Debug(object): ... @property def ThreadAwareLogger(self): if not self.logger_instance_for_current_thread:
I just learned python @ decorator, it's cool, but soon I found my modified
I am looking to replace from a large document all high unicode characters, such
I have a 2D numpy array of shape (N,2) which is holding N points
I am trying to measure the time of raw_queries(...) , unsuccessfully so far. I
I installed eclipse on a new unubtu install, via the package manager. I have
I saw some code in the Whoosh documentation: with ix.searcher() as searcher: query =
I have a log file that has lines that look like this: 1,2546857-23541,f_last,user,4:19 P.M.,11/02/2009,START,27,27,3,c2546857-23541,
I need to match two very large Numpy arrays (one is 20000 rows, another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.