XeroAPI / xero-python-oauth2-app

python app for demonstrating the xero-python SDK
MIT License
19 stars 31 forks source link

Problem installing project dependencies #1

Closed mcnumble closed 4 years ago

mcnumble commented 4 years ago

Having a problem when trying to install dependencies on requirements.txt

requirements.txt:

flask
# Werkzeug<1.0  # flask-session not compatible
# see https://github.com/fengsp/flask-session/pull/114
# using patched version of flask-session
git+https://github.com/SqrtMinusOne/flask-session.git@560d00f1a84a9924d788a4f4e1ef35c5cf94c76d#egg=Flask-Session
# Werkzeug<1.0  # flask-oauthlib not compatible
# using patched version of flask-oauthlib
git+https://github.com/ageis/flask-oauthlib.git@c5ea3ace957ceeeeab3cfb6556f32685ff292eab#egg=Flask-OAuthlib

# Use development version of xero-python
#git+ssh://git@github.com/xero-github/xero-python.git@020f780b4e2b48cb33746ae19ddab9fdf128e626#egg=xero-python
xero-python==0.4.1

Error message from the terminal:

Collecting flask (from -r requirements.txt (line 1))
  Cache entry deserialization failed, entry ignored
  Cache entry deserialization failed, entry ignored
  Downloading https://files.pythonhosted.org/packages/f2/28/2a03252dfb9ebf377f40fba6a7841b47083260bf8bd8e737b0c6952df83f/Flask-1.1.2-py2.py3-none-any.whl (94kB)
    100% |████████████████████████████████| 102kB 2.2MB/s 
Collecting Flask-Session from git+https://github.com/SqrtMinusOne/flask-session.git@560d00f1a84a9924d788a4f4e1ef35c5cf94c76d#egg=Flask-Session (from -r requirements.txt (line 5))
  Cloning https://github.com/SqrtMinusOne/flask-session.git (to 560d00f1a84a9924d788a4f4e1ef35c5cf94c76d) to /private/var/folders/7d/_bchn9r12pn79fr63p88nhv80000gn/T/pip-build-myovpzcq/Flask-Session
  Could not find a tag or branch '560d00f1a84a9924d788a4f4e1ef35c5cf94c76d', assuming commit.
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:mitsuhiko/flask-sphinx-themes.git' into submodule path '/private/var/folders/7d/_bchn9r12pn79fr63p88nhv80000gn/T/pip-build-myovpzcq/Flask-Session/docs/_themes' failed
Failed to clone 'docs/_themes'. Retry scheduled
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:mitsuhiko/flask-sphinx-themes.git' into submodule path '/private/var/folders/7d/_bchn9r12pn79fr63p88nhv80000gn/T/pip-build-myovpzcq/Flask-Session/docs/_themes' failed
Failed to clone 'docs/_themes' a second time, aborting
Command "git submodule update --init --recursive -q" failed with error code 1 in /private/var/folders/7d/_bchn9r12pn79fr63p88nhv80000gn/T/pip-build-myovpzcq/Flask-Session

I very new to this, but sounds like we're trying to clone a private repo?

(This is my first github issue so apologies for any errors!)

mcnumble commented 4 years ago

Posted this to the wrong repo so closed the issue, but this has the same requirements.txt file so I presume I would run into the same issue with this repo.