Skip to content

Occidentalis #45

Description

@smolesen

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?

Activity

  1. npryce commented on Apr 2, 2013

    @npryce
    Contributor

    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.

  2. lurch commented on Apr 21, 2013

    @lurch

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions