Skip to content

Conversation

@asauber
Copy link

@asauber asauber commented May 8, 2022

oauthlib > 3.1.0 will not install with Python2 due to the use of type annotations

Pinning oauthlib<=3.1.0 results in a successful install and dumpgenerator.py can be used even with a fresh install of Python 2.7.16 as of May 8, 2022.

Bootstrapping instructions for macOS Big Sur (if you want to use the system Python 2)

python --version # This should output Python 2.x.y
# Get pip installed for your Python 2
# Read and trust the following script before running it
curl -O https://bootstrap.pypa.io/pip/2.7/get-pip.py
python get-pip.py
# Invoking `pip` is likely to be your Python 3 pip, so invoke the module directly
python -m pip install --upgrade "pip < 21.0"
python -m pip install --upgrade -r requirements.txt
python dumpgenerator.py

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

Successfully merging this pull request may close these issues.

1 participant