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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T13:48:52+00:00 2026-05-30T13:48:52+00:00

I recently downloaded the python-ogre SDK, which appears to include its own python interpreter.

  • 0

I recently downloaded the python-ogre SDK, which appears to include its own python interpreter.

I say “appears” because this interpreter also seems to depend on the standard python 2.7.2 installation. I tried uninstalling the latter, and the python-ogre SDK interpreter complains that python27.dll is missing from my computers.

I really don’t understand how the two interpreters are related, and the python-ogre SDK forum topic has been less than helpful.

I really need to instally PyYAML such that the python-ogre interpreter has access to it. I successfully installed PyYAML (the installer detected python 2.7) and the standard python console manages to import it without any issues.

The python-ogre SDK interpreter, however, complains that there is no module by that name.

I’m completely lost. Can someone point me in the right direction and/or explain what is going on?

With many thanks in advance,
Blz

EDIT
MichaelMior hinted at the possibility that this involved my sys.path. I’m rather new to python, so any explanations are welcome.

The output of sys.path for the standard python installation is:

C:\Windows\system32\python27.zip
C:\Python27\lib\site-packages\pip-1.0.2-py.2.7.egg
C:\Python27\DLLs
C:\Python27\lib\plat-win
C:\Python27\lib\lib-tk
C:\Python27
C:\Python27\lib\site-packages

The output of the python-ogre SDK is:

C:\Windows\system32\python27.zip
C:\python-ogre\[SDK]\DLLs
C:\python-ogre\[SDK]\lib
C:\python-ogre\[SDK]\lib\plat-win
C:\python-ogre\[SDK]\lib\lib-tk
C:\python-ogre\[SDK]
C:\python-ogre\[SDK]\lib\site-packages

EDIT 2:

Okay I got it! I just did sys.path.append(‘C:\Python27\lib\site-packages’)

Apparently, 3rd party modules get installed to that directory. Is this safe to do? Do I risk creating any sort of conflicts?

  • 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-30T13:48:54+00:00Added an answer on May 30, 2026 at 1:48 pm

    Each Python interpreter has its sys.path, which it will use to search for modules.

    When you installed PyYAML, it got installed to the directory for the plain Python interpreter (C:\Python27\lib\site-packages). When you try to import it from python-ogre, it has no idea to look there so it can’t find it. That’s what adding the folder to sys.path did – tell python-ogre to look in that folder for modules.

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

Sidebar

Related Questions

I have been using NotePAD++ for editing Python scripts. I recently downloaded the PyDEV
I recently downloaded an event calendar from this link: http://www.asp.net/downloads/starter-kits/club/EventCalendar.zip I want to use
I recently downloaded python 2.7 on my computer (x64) and I would like to
I recently downloaded this new app called Track My Coupon and the one cool
I recently downloaded the iPhone SDK 4 along with Xcode and neglected to install
I can best explain my question with an example. I recently downloaded Python for
I recently downloaded the MVVM toolkit on codeplex from WPF futures which basically has
I have Python 2.6.1 which came on the Mac I have, but I'd recently
I recently downloaded the latest Java 1.6 JDK. I'm using VisualVM which came with
I have recently downloaded and installed NHibernate 3.1. There are 2 new DLL's which

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.