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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T10:17:23+00:00 2026-06-10T10:17:23+00:00

If I install the latest stable 1.2.7 django-haystack with sudo pip install django-haystack ,

  • 0

If I install the latest stable 1.2.7 django-haystack with sudo pip install django-haystack, it works fine. But after uninstalling it and installing the very latest dev version 2.0.0 BETA instead as suggested on the main page:

pip install -e git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack

Despite the success messages below, it seems like it is not properly installed:

Obtaining django-haystack from git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack
  Cloning https://github.com/toastdriven/django-haystack.git (to master) to ./src/django-haystack
  Running setup.py egg_info for package django-haystack

Installing collected packages: django-haystack
  Running setup.py develop for django-haystack
    Checking .pth file support in /usr/local/lib/python2.7/dist-packages/
    /usr/bin/python -E -c pass
    TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files

    Creating /usr/local/lib/python2.7/dist-packages/django-haystack.egg-link (link to .)
    Adding django-haystack 2.0.0-beta to easy-install.pth file

    Installed /home/kave/projects/cb/src/django-haystack
Successfully installed django-haystack
Cleaning up...

because when I go into the django shell environment and do a

>>> from haystack import indexes

Traceback (most recent call last):
  File "<console>", line 1, in <module>
ImportError: No module named haystack

I have followed the instructions and have
INSTALLED_APPS = (... 'haystack',) in there

I had this problem before, but could never solve it. sudo pip install default works fine, but as long as I get the latest Git version, my django doesn’t seem to see it.

What could I be missing?

Many Thanks for your advice,

UPDATE

Apologies, but it seems the error is happening only within Aptana Studio 3.0. In Django Shell I can do the import after all. I am still dazzled, as this should be the same. Why can Aptana see the libraries when installing with sudo pip install django-haystack but not if using latest Git version? What could go wrong there please?

UPDATE 2

full sys.path

['/home/kaveh/projects/cb', '/usr/local/lib/python2.7/dist-packages/requests-0.13.9-py2.7.egg', '/home/kaveh/projects/cb/src/django-haystack', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol']
  • 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-10T10:17:25+00:00Added an answer on June 10, 2026 at 10:17 am

    I finally got it working.

    As I said the problem is pip install -e git+https://github.com/toastdriven/django-haystack.git@master#egg=django-haystack is apparently not working.

    I simply uninstalled it and made sure its deleted.

    Then I simply downloaded the source as zip file, extracted it and

    python setup.py build
    sudo python setup.py install
    

    This way it will guaranteed be working. Hope this helps someone.

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

Sidebar

Related Questions

I wonder how to install a stable latest gcc (4.4.x) for a workstation under
I have install the latest Xcode but this keep occurring. How could I solve
I'm trying to install the latest version of #Develop but am getting the message
I want to install latest stable version of Sphinx ( sphinxsearch.com ) on Mac
I'm writing a git-install.sh script: http://gist.github.com/419201 To get Git's latest stable release version number,
I have just done a fresh install of the latest stable PyroCMS version on
When installing JDK in my machines (Windows 7), I do the following. install latest 1.7
I'm interested in learning Android development.... but if I install the latest 2.0 SDK,
I am about to embark a major django project. If I install the latest
What is the latest stable version of rails? I want to install rails 3.1

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.