Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

My setuptools seems to be installed correctly, but python can't find pkg_resources:

$pip show setuptools
---
Name: setuptools
Version: 0.6c12dev-r88846
Location: /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python
Requires: 

I'm trying to setup nosetests to run, but it fails with the following:

Traceback (most recent call last):
  File "/usr/local/bin/nosetests", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

Update It seems that running a virtualenv with --no-site-packages is working, so I'm guessing I have some conflict.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.