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

pip install not working #9

Open
Andrew-peng opened this issue Jun 22, 2017 · 2 comments
Open

pip install not working #9

Andrew-peng opened this issue Jun 22, 2017 · 2 comments

Comments

@Andrew-peng
Copy link

When I try to pip install python-icinga2api I run into this issue

Collecting python-icinga2api
  Downloading python-icinga2api-0.3.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/setup.py", line 25, in <module>
        long_description=read('README.md'),
      File "/private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/setup.py", line 13, in read
        return open(os.path.join(os.path.dirname(__file__), fname)).read()
    IOError: [Errno 2] No such file or directory: '/private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/README.md'
    
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/f2/gbq70grs27b489_p38tcny09r9xfww/T/pip-build-_KNCed/python-icinga2api/

I am using pip version 9.0.1 on python 2.7. Looks like a packaging issue

@daleki
Copy link

daleki commented Jul 10, 2017

Looks like it is related to:
https://github.com/fmnisme/python-icinga2api/blob/master/setup.py#L21

Commit: 7ab55f1

@colorchestra
Copy link

I just had the same problem, using pip 9.0.1 on a freshly installed Raspbian Stretch system. I worked around it though by doing pip3 download python-icinga2api, unpacking it and removing the line referenced by @daleki from setup.py. A README.md is definitely not present.

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