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 7033227
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T01:02:15+00:00 2026-05-28T01:02:15+00:00

From command line I can’t import appengine, this might be something with my python

  • 0

From command line I can’t import appengine, this might be something with my python path:

$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:13:53) 
[GCC 4.5.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from google.appengine.ext import db
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "google/appengine/ext/db/__init__.py", line 98, in <module>
    from google.appengine.api import datastore
  File "google/appengine/api/datastore.py", line 62, in <module>
    from google.appengine.datastore import datastore_query
  File "google/appengine/datastore/datastore_query.py", line 64, in <module>
    from google.appengine.datastore import datastore_index
  File "google/appengine/datastore/datastore_index.py", line 60, in <module>
    from google.appengine.api import validation
  File "google/appengine/api/validation.py", line 51, in <module>
    import yaml
ImportError: No module named yaml
>>> 

I don’t want duplicate installations, I want to point the Python interpretor to where the missing module is. How do I make the interpretor find the app engine modules from the command prompt? In the application these imports are working.

  • 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-05-28T01:02:16+00:00Added an answer on May 28, 2026 at 1:02 am

    appending:

    /usr/local/google_appengine/:/usr/local/google_appengine/lib/:/usr/local/google_appengine/lib/yaml/
    

    to your PYTHONPATH environment variable should do the trick (your SDK location may vary).

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

Sidebar

Related Questions

I can import MySQLdb from the interactive python command line but Zope gives me
Normally to use Ruby libraries from command line I can do something like: ruby
Is there anyway we can take input from command line in Objective-C, the way
As I know, when I run cs myConsoleApp.cs from windows command line, I can
How can I execute a command line from within a WiX script? I want
I have a python script that, once executed from command line, performs the needed
From the command line you can make multiple directories like so: mkdir -p build/linux/{src,test,debug}
From the MongoDB command line I can do db.user.update({userid: {$in: [435707147,88513850,466518582]}},{$unset: {f1 : 1}})
I want to run coverage from the command line, but can't seem to get
I can run an svn command from the command line but not from within

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.