Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Occidentalis #45

Open
smolesen opened this issue Mar 27, 2013 · 2 comments
Open

Occidentalis #45

smolesen opened this issue Mar 27, 2013 · 2 comments

Comments

@smolesen
Copy link

Hi

Been trying to install quick2wire-python-api using the guide in the README.md file, however when I run the command:

python3 setup.py install

I get the error:

 Traceback (most recent call last):                                                                                                                              
  File "setup.py", line 3, in <module>                                                                                                                          
    from setuptools import setup                                                                                                                                
ImportError: No module named setuptools  

what am I missing?

@npryce
Copy link
Contributor

npryce commented Apr 2, 2013

It looks as if you are not installing into a virtualenv. When the virtualenv tool creates an environment it installs the distribute package into it, which provides the setuptools module.

If you are not using a virtualenv, we recommend setting the PYTHONPATH as described in the README.md. You can add the command to set the PYTHONPATH to the file $HOME/.bashrc so that it is done every time you open a terminal window.

@lurch
Copy link

lurch commented Apr 21, 2013

So to answer the original question (if you've not already fixed the problem yourself).... if you're not using a virtualenv, you need to install the distribute module - install instructions can be found at the bottom of http://pythonhosted.org/distribute/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants