wikiteam icon indicating copy to clipboard operation
wikiteam copied to clipboard

Pin oauthlib version

Open asauber opened this issue 3 years ago • 0 comments

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

asauber avatar May 08 '22 20:05 asauber