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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T08:38:29+00:00 2026-05-20T08:38:29+00:00

Recently I found about this tool easy_install that help me to easy install additional

  • 0

Recently I found about this tool easy_install that help me to easy install additional python modules. The problem is that for each module it creates additional *.egg folder (sometime there is only an egg file?) (no source?) and I don’t know how to setup eclipse paths.

By default I have included C:\Python26\Lib\site-packages and this is enough when I install python modules from source… but not when I’m using easy_intall

For example django instaled with easy_install is located in C:\Python26\Lib\site-packages\django-1.2.5-py2.6.egg\django and installed from source it’s located in C:\Python26\Lib\site-packages\django

In fact when I’m using easy_install all installed modules are working without a problem, the only problem is that eclipse can’t locate where is the source and gives me a false unresolved import errors

Where I’m wrong?

Eclipse Setup

  • 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-20T08:38:30+00:00Added an answer on May 20, 2026 at 8:38 am

    I’m assuming that eclipse does not search the egg files for source. Eggs, like jar files in Java, are just zipfiles of python code with some included metadata.

    You’ll also note that in site-packages you’ve got easy-install.pth and setuptools.pth files. Those files are parsed by python and used to add other directories and egg files to your PYTHONPATH (import sys; sys.path) so that Python can find the code in those locations. Eclipse isn’t seeing those imports as valid because it is most likely not setup to take pth files into account.

    To get Eclipse to recognize that Django is really installed you may want to try removing your easy_installed django package and reinstalling it with:

    easy_install --always-unzip django
    

    That way rather than installing a compressed egg file you’ll have a normal package directory that eclipse should have a fairly easy time opening.

    Alternatively, in your screenshot above it looks like you may just need to explicitly add each egg file you want eclipse to use.

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

Sidebar

Related Questions

I've recently found this blog entry on a tool that writes XSS attacks directly
I recently found an article online that told me about this: RewriteRule ^mock-up/([^/]+)/([^/]+) /mock-up/index.php?page=$1&section=$2
I recently asked a question about IIf vs. If and found out that there
I recently found out about C# extension methods and wrote this one: /// <summary>
I recently found out about livecoding where someone will program something on the fly
I've recently found out about protocol buffers and was wondering if they could be
I only recently found out about URL rewriting , so I've still got a
Recently, I found myself having to write up some concerns I have about race
I recently found a log statement in my projects codebase that says here i
I recently found LINQ and love it. I find lots of occasions where use

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.