Skip to content

pip install fails #1

@mbertheau

Description

@mbertheau

pip install fails because setup.py requires requests, which isn't installed in a fresh virtualenv.

I can take over maintainership of this code if you want.

To reproduce:

$ mkvirtualenv emarsys-test
New python executable in emarsys-test/bin/python
Installing Setuptools..............................................................................................................................................................................................................................done.
Installing Pip.....................................................................................................................................................................................................................................................................................................................................done.
virtualenvwrapper.user_scripts creating /home/markus/.virtualenvs/emarsys-test/bin/predeactivate
virtualenvwrapper.user_scripts creating /home/markus/.virtualenvs/emarsys-test/bin/postdeactivate
virtualenvwrapper.user_scripts creating /home/markus/.virtualenvs/emarsys-test/bin/preactivate
virtualenvwrapper.user_scripts creating /home/markus/.virtualenvs/emarsys-test/bin/postactivate
virtualenvwrapper.user_scripts creating /home/markus/.virtualenvs/emarsys-test/bin/get_env_details
$ pip install python-emarsys
Downloading/unpacking python-emarsys
  Using download cache from /home/markus/.pip_download_cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpython-emarsys%2Fpython-emarsys-0.1.tar.gz
  Running setup.py egg_info for package python-emarsys
    Traceback (most recent call last):
      File "<string>", line 16, in <module>
      File "/home/markus/.virtualenvs/emarsys-test/build/python-emarsys/setup.py", line 4, in <module>
        import emarsys
      File "emarsys/__init__.py", line 17, in <module>
        from .api import Emarsys
      File "emarsys/api.py", line 20, in <module>
        import requests
    ImportError: No module named requests
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/home/markus/.virtualenvs/emarsys-test/build/python-emarsys/setup.py", line 4, in <module>

    import emarsys

  File "emarsys/__init__.py", line 17, in <module>

    from .api import Emarsys

  File "emarsys/api.py", line 20, in <module>

    import requests

ImportError: No module named requests

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /home/markus/.virtualenvs/emarsys-test/build/python-emarsys
Storing complete log in /home/markus/.pip/pip.log

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