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

  • Home
  • SEARCH
  • 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 8462665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T14:13:47+00:00 2026-06-10T14:13:47+00:00

It seems that IPython does not take into account my PYTHONPATH, while a normal

  • 0

It seems that IPython does not take into account my PYTHONPATH, while a normal python interpreter does it. I’m on windows 7.

My PYTHONPATH:
C:\workspace\python;
C:\Python27\Lib\site-packages\spyderlib;
C:\Workspace\Python\awesim\awesim

Printing the sys.path:

import sys
for i in sorted(sys.path):
    print i

Here’s what I obtain in IPython:

C:\JModelica.org-1.8\Python
C:\Python27
C:\Python27\DLLs
C:\Python27\lib
C:\Python27\lib\lib-tk
C:\Python27\lib\plat-win
C:\Python27\lib\site-packages
C:\Python27\lib\site-packages\PIL
C:\Python27\lib\site-packages\Pythonwin
C:\Python27\lib\site-packages\ipython-0.13-py2.7.egg
C:\Python27\lib\site-packages\ipython-0.13-py2.7.egg\IPython\extensions
C:\Python27\lib\site-packages\numpy-1.6.2-py2.7-win32.egg
C:\Python27\lib\site-packages\openpyxl-1.5.8-py2.7.egg
C:\Python27\lib\site-packages\pandas-0.8.1-py2.7-win32.egg
C:\Python27\lib\site-packages\pyzmq-2.2.0.1-py2.7-win32.egg
C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg-info
C:\Python27\lib\site-packages\sphinx-1.1.3-py2.7.egg
C:\Python27\lib\site-packages\statsmodels-0.4.0-py2.7-win32.egg
C:\Python27\lib\site-packages\tornado-2.3-py2.7.egg
C:\Python27\lib\site-packages\win32
C:\Python27\lib\site-packages\win32\lib
C:\Python27\lib\site-packages\wx-2.8-msw-unicode
C:\Python27\scripts
C:\windows\system32\python27.zip

And the same in a python console:

C:\Python27
C:\Python27\DLLs
C:\Python27\Lib\site-packages\spyderlib
C:\Python27\lib
C:\Python27\lib\lib-tk
C:\Python27\lib\plat-win
C:\Python27\lib\site-packages
C:\Python27\lib\site-packages\PIL
C:\Python27\lib\site-packages\Pythonwin
C:\Python27\lib\site-packages\ipython-0.13-py2.7.egg
C:\Python27\lib\site-packages\numpy-1.6.2-py2.7-win32.egg
C:\Python27\lib\site-packages\openpyxl-1.5.8-py2.7.egg
C:\Python27\lib\site-packages\pandas-0.8.1-py2.7-win32.egg
C:\Python27\lib\site-packages\pyzmq-2.2.0.1-py2.7-win32.egg
C:\Python27\lib\site-packages\setuptools-0.6c11-py2.7.egg-info
C:\Python27\lib\site-packages\sphinx-1.1.3-py2.7.egg
C:\Python27\lib\site-packages\statsmodels-0.4.0-py2.7-win32.egg
C:\Python27\lib\site-packages\tornado-2.3-py2.7.egg
C:\Python27\lib\site-packages\win32
C:\Python27\lib\site-packages\win32\lib
C:\Python27\lib\site-packages\wx-2.8-msw-unicode
C:\Workspace\Python\awesim\awesim
C:\windows\system32\python27.zip
C:\workspace\python

You can see that the normal python console reflects the PYTHONPATH, but the IPython output does not.

Thanks on beforehand for your clues.

  • 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-10T14:13:49+00:00Added an answer on June 10, 2026 at 2:13 pm

    The .exe launchers linked from the Start Menu are made by setuptools, and it is possible that they do not properly setup your environment (I don’t know enough about Windows environments to say for sure, or if that is fixable).

    But if you start IPython from the command-line, it will definitely inherit your environment properly.

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

Sidebar

Related Questions

It seems that this handy Quick Access window does not show the items available
It seems that Haskell does not the type of symbol as that in Racket?
Seems that a site I made for fun does not like to work in
Seems that CPPPATH does not work env = Environment() target = 'app' sources =
It seems that it is not advisable to use <meta http-equiv=REFRESH CONTENT=3;url=url> for redirects
Seems that when i create an object, the time is not correct. You can
Seems that it may not be possible, but hey I might as well ask,
Seems that there are not much work done on Haskell for web. People uses
Seems that requirements on safety do not seem to like systems that use AI
Seems that lot of people already know that issue but I can not find

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.