Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

error while installing #12

Closed
slang800 opened this Issue · 1 comment

2 participants

@slang800
~ sudo pip install jsonpatch
Downloading/unpacking jsonpatch
  Downloading jsonpatch-0.11.tar.gz
  Running setup.py egg_info for package jsonpatch
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/home/slang/build/jsonpatch/setup.py", line 23, in <module>
        REQUIREMENTS = list(open('requirements.txt'))
    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 "/home/slang/build/jsonpatch/setup.py", line 23, in <module>

    REQUIREMENTS = list(open('requirements.txt'))

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

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in /home/slang/.pip/pip.log

looks like issues with the current directory not being the location of requirements.txt. maybe use something like this:

import os
 REQUIREMENTS = list(open(os.path.dirname(__file__) + '/requirements.txt'))

...but with that filepath join function so it doesn't die on windows

@slang800

Oh, actually, requirements.txt really doesn't exist... adding the file to ./build/jsonpatch fixed it. For whatever reason the file must not be in the pip package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.