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

Installation fails #46

Closed
oliverroick opened this issue Mar 5, 2015 · 7 comments
Closed

Installation fails #46

oliverroick opened this issue Mar 5, 2015 · 7 comments

Comments

@oliverroick
Copy link

Running pip install -U djangorestframework-gis, I get:

Downloading/unpacking djangorestframework-gis from https://pypi.python.org/packages/3.4/d/djangorestframework-gis/djangorestframework-gis-0.8.0.tar.gz#md5=11a3a53b010685e2a74a6ab92a23f1ad
  Running setup.py egg_info for package djangorestframework-gis
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/vagrant/envs/updatedrf/build/djangorestframework-gis/setup.py", line 43, in <module>
        install_requires=get_install_requires(),
      File "/vagrant/envs/updatedrf/build/djangorestframework-gis/setup.py", line 13, in get_install_requires
        for line in open('requirements.txt').readlines():
    IOError: [Errno 2] No such file or directory: 'requirements.txt'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

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

  File "/vagrant/envs/updatedrf/build/djangorestframework-gis/setup.py", line 43, in <module>

    install_requires=get_install_requires(),

  File "/vagrant/envs/updatedrf/build/djangorestframework-gis/setup.py", line 13, in get_install_requires

    for line in open('requirements.txt').readlines():

IOError: [Errno 2] No such file or directory: 'requirements.txt'

----------------------------------------
Command python setup.py egg_info failed with error code 1 in /vagrant/envs/updatedrf/build/djangorestframework-gis
Storing complete log in /home/vagrant/.pip/pip.log

@LiamK
Copy link

LiamK commented Mar 6, 2015

I'm experiencing the same problem!

@nemesifier
Copy link
Member

very, very, weird...

@oliverroick
Copy link
Author

I managed to install now by manually adding requirements.txt to [path_to_env]/build/djangorestframework-gis

@nemesifier
Copy link
Member

I understood why it's happening. I released both wheel and egg on pypi, when I tested the installation on my system, my pip installed via wheel and it was ok. For some reason the egg missed the requirements.txt file (I was battling with pypi for some other reasons and I had to do something manually which probably caused this issue).

Try again now and let me know.

This is the link of the fixed egg: https://pypi.python.org/packages/any/d/djangorestframework-gis/djangorestframework-gis-0.8-py2-py3.tar.gz#md5=ca160062767855e53ff363d7436456e7

@oliverroick
Copy link
Author

That worked. Thanks for taking care of that so quickly!

@nemesifier
Copy link
Member

Good, I assume I can close this, reopen if you keep experiencing problems.

@LiamK
Copy link

LiamK commented Mar 6, 2015

Thanks!

@oliverroick oliverroick changed the title Installation failes Installation fails Mar 11, 2015
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