vimalloc / flask-jwt-simple

A barebones Flask extension for creating and protecting endpoints with JWT
MIT License
69 stars 12 forks source link

Unable to install in virtualenv using pip #17

Open AseedUsmani opened 4 years ago

AseedUsmani commented 4 years ago

Stack trace on using command pip install flast-jwt-oidc:


  Downloading flask_jwt_oidc-0.1.5.tar.gz (9.7 kB)
    ERROR: Command errored out with exit status 1:
     command: /Users/aseed.usmani/PycharmProjects/testApp/venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/qm/50n6kw9149scfj4lqv9nd49cyhm2mt/T/pip-install-bUUfxm/flask-jwt-oidc/setup.py'"'"'; __file__='"'"'/private/var/folders/qm/50n6kw9149scfj4lqv9nd49cyhm2mt/T/pip-install-bUUfxm/flask-jwt-oidc/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/qm/50n6kw9149scfj4lqv9nd49cyhm2mt/T/pip-install-bUUfxm/flask-jwt-oidc/pip-egg-info
         cwd: /private/var/folders/qm/50n6kw9149scfj4lqv9nd49cyhm2mt/T/pip-install-bUUfxm/flask-jwt-oidc/
    Complete output (7 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/qm/50n6kw9149scfj4lqv9nd49cyhm2mt/T/pip-install-bUUfxm/flask-jwt-oidc/setup.py", line 50, in <module>
        requirements = read_requirements('requirements/prod.txt')
      File "/private/var/folders/qm/50n6kw9149scfj4lqv9nd49cyhm2mt/T/pip-install-bUUfxm/flask-jwt-oidc/setup.py", line 32, in read_requirements
        with open(filename, 'r') as req:
    IOError: [Errno 2] No such file or directory: 'requirements/prod.txt'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.```