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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:50:50+00:00 2026-05-27T15:50:50+00:00

I am facing an issue while trying to install the requirements for my django

  • 0

I am facing an issue while trying to install the requirements for my django project.

I am unable to figure out why I’m getting this error.

Can someone lead me in the right direction?

 >Running setup.py egg_info for package django-staticfiles
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/Users/glosseyvilly/Desktop/Workspace/chris_dev/mysite-env/build/django-staticfiles/setup.py", line 128, in <module>
        'versiontools >= 1.6',
      File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup
        _setup_distribution = dist = klass(attrs)
      File "build/bdist.linux-i686/egg/setuptools/dist.py", line 260, in __init__
      File "build/bdist.linux-i686/egg/setuptools/dist.py", line 284, in fetch_build_eggs
      File "build/bdist.linux-i686/egg/pkg_resources.py", line 563, in resolve
        plugin_projects = list(plugin_env)
      File "build/bdist.linux-i686/egg/pkg_resources.py", line 799, in best_match

      File "build/bdist.linux-i686/egg/pkg_resources.py", line 811, in obtain

      File "build/bdist.linux-i686/egg/setuptools/dist.py", line 327, in fetch_build_egg
      File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 446, in easy_install

      File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 476, in install_item

      File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 655, in install_eggs

      File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 930, in build_and_install

      File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 919, in run_setup

      File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in run_setup
      File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, in run
      File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in <lambda>
      File "setup.py", line 29, in <module>
        in a distutils ``setup.py`` file.
      File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 354, in format_version

      File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 183, in from_tuple

      File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 126, in __new__

      File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 279, in _find_source_tree

      File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 936, in getouterframes
        framelist.append((frame,) + getframeinfo(frame, context))
      File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 911, in getframeinfo
        lines, lnum = findsource(frame)
      File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 573, in findsource
        if pat.match(lines[lnum]): break
    IndexError: list index out of range
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/Users/glosseyvilly/Desktop/Workspace/chris_dev/mysite-env/build/django-staticfiles/setup.py", line 128, in <module>

    'versiontools >= 1.6',

  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 113, in setup

    _setup_distribution = dist = klass(attrs)

  File "build/bdist.linux-i686/egg/setuptools/dist.py", line 260, in __init__

  File "build/bdist.linux-i686/egg/setuptools/dist.py", line 284, in fetch_build_eggs

  File "build/bdist.linux-i686/egg/pkg_resources.py", line 563, in resolve

    plugin_projects = list(plugin_env)

  File "build/bdist.linux-i686/egg/pkg_resources.py", line 799, in best_match



  File "build/bdist.linux-i686/egg/pkg_resources.py", line 811, in obtain



  File "build/bdist.linux-i686/egg/setuptools/dist.py", line 327, in fetch_build_egg

  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 446, in easy_install



  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 476, in install_item



  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 655, in install_eggs



  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 930, in build_and_install



  File "build/bdist.linux-i686/egg/setuptools/command/easy_install.py", line 919, in run_setup



  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in run_setup

  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, in run

  File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in <lambda>

  File "setup.py", line 29, in <module>

    in a distutils ``setup.py`` file.

  File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 354, in format_version



  File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 183, in from_tuple



  File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 126, in __new__



  File "/var/folders/zm/zmC41KkWH5ObUL0cyVjWL++++TI/-Tmp-/easy_install-wsSHXC/versiontools-1.8.1/versiontools/__init__.py", line 279, in _find_source_tree



  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 936, in getouterframes

    framelist.append((frame,) + getframeinfo(frame, context))

  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 911, in getframeinfo

    lines, lnum = findsource(frame)

  File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/inspect.py", line 573, in findsource

    if pat.match(lines[lnum]): break

IndexError: list index out of range

----------------------------------------
Command python setup.py egg_info failed with error code 1
Exception information:
Traceback (most recent call last):
  File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/basecommand.py", line 126, in main
    self.run(options, args)
  File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/commands/install.py", line 223, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/req.py", line 986, in prepare_files
    req_to_install.run_egg_info()
  File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/req.py", line 222, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/Library/Python/2.6/site-packages/pip-1.0.2-py2.6.egg/pip/__init__.py", line 255, in call_subprocess
    % (command_desc, proc.returncode))
InstallationError: Command python setup.py egg_info failed with error code 1
  • 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-27T15:50:50+00:00Added an answer on May 27, 2026 at 3:50 pm

    I ran into this same error while using the native Python 2.6.1 on Mac OS X 10.6 to install django-imagekit. Some googling revealed this:

    https://github.com/jezdez/django_compressor/issues/181

    which suggested this:

    pip install versiontools
    

    and then I was able to install django-imagekit.

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

Sidebar

Related Questions

More precisely, I am facing this issue while trying to install https://github.com/barraponto/thacker-profile (commit 75c693581796eddae5fc39870dfcc2647e00c81b
I am facing a class resolution issue while trying to make my architecture flexible.
I'm facing the same issue, while trying for cross-domain request. Situation is strange, my
I am facing an issue while trying to use the spring android framework. I
i'm dealing with resources issue for a while and i cannot figure it out.
I am facing an issue while trying to reload rules dynamically. Starting with the
I am facing this issue with the servlet when i am trying to stream
I am facing the issue while compiling my iphone project with ShareKit Integrated .I
I am using Appweb server (mini http server) and facing an issue while opening
I'm working on a project which uses user authentication. I'm facing a issue with

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.