Skip to content

Instantly share code, notes, and snippets.

@wpm
Created October 5, 2021 19:09
Show Gist options
  • Save wpm/5c01879b8298d5e8e340e9eaccd4b048 to your computer and use it in GitHub Desktop.
Save wpm/5c01879b8298d5e8e340e9eaccd4b048 to your computer and use it in GitHub Desktop.
Pip backtracking when installing spaCy from source
$ pip install --no-build-isolation --editable ".[transformers,ray]"
Obtaining file:///Users/wmcneill/Documents/src/spaCy
Preparing wheel metadata ... done
Requirement already satisfied: spacy-legacy<3.1.0,>=3.0.8 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (3.0.8)
Requirement already satisfied: setuptools in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (58.0.4)
Requirement already satisfied: typer<0.5.0,>=0.3.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (0.4.0)
Requirement already satisfied: requests<3.0.0,>=2.13.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (2.26.0)
Requirement already satisfied: cymem<2.1.0,>=2.0.2 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (2.0.5)
Requirement already satisfied: packaging>=20.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (21.0)
Requirement already satisfied: numpy>=1.15.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (1.21.2)
Requirement already satisfied: srsly<3.0.0,>=2.4.1 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (2.4.1)
Requirement already satisfied: blis<0.8.0,>=0.4.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (0.7.4)
Requirement already satisfied: preshed<3.1.0,>=3.0.2 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (3.0.5)
Requirement already satisfied: wasabi<1.1.0,>=0.8.1 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (0.8.2)
Requirement already satisfied: murmurhash<1.1.0,>=0.28.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (1.0.5)
Requirement already satisfied: thinc<8.1.0,>=8.0.10 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (8.0.10)
Requirement already satisfied: tqdm<5.0.0,>=4.38.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (4.62.3)
Requirement already satisfied: pathy>=0.3.5 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (0.6.0)
Requirement already satisfied: pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (1.8.2)
Requirement already satisfied: jinja2 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (3.0.2)
Requirement already satisfied: catalogue<2.1.0,>=2.0.6 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from spacy==3.1.3) (2.0.6)
Collecting spacy-transformers<1.1.0,>=1.0.1
Downloading spacy_transformers-1.0.6-py2.py3-none-any.whl (42 kB)
|████████████████████████████████| 42 kB 663 kB/s
Collecting spacy-ray<1.0.0,>=0.1.0
Downloading spacy_ray-0.1.4-py2.py3-none-any.whl (13 kB)
Requirement already satisfied: pyparsing>=2.0.2 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from packaging>=20.0->spacy==3.1.3) (2.4.7)
Requirement already satisfied: smart-open<6.0.0,>=5.0.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from pathy>=0.3.5->spacy==3.1.3) (5.2.1)
Requirement already satisfied: typing-extensions>=3.7.4.3 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from pydantic!=1.8,!=1.8.1,<1.9.0,>=1.7.4->spacy==3.1.3) (3.10.0.2)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from requests<3.0.0,>=2.13.0->spacy==3.1.3) (1.26.7)
Requirement already satisfied: idna<4,>=2.5 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from requests<3.0.0,>=2.13.0->spacy==3.1.3) (3.2)
Requirement already satisfied: charset-normalizer~=2.0.0 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from requests<3.0.0,>=2.13.0->spacy==3.1.3) (2.0.6)
Requirement already satisfied: certifi>=2017.4.17 in /Users/wmcneill/opt/anaconda3/envs/spaCy/lib/python3.9/site-packages (from requests<3.0.0,>=2.13.0->spacy==3.1.3) (2021.5.30)
Downloading spacy_ray-0.1.2-py2.py3-none-any.whl (13 kB)
Downloading spacy_ray-0.1.1-py2.py3-none-any.whl (13 kB)
Downloading spacy_ray-0.1.0-py2.py3-none-any.whl (13 kB)
INFO: pip is looking at multiple versions of spacy-legacy to determine which version is compatible with other requirements. This could take a while.
Collecting spacy-legacy<3.1.0,>=3.0.8
Using cached spacy_legacy-3.0.8-py2.py3-none-any.whl (14 kB)
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of smart-open to determine which version is compatible with other requirements. This could take a while.
Collecting smart-open<6.0.0,>=5.0.0
Using cached smart_open-5.2.1-py3-none-any.whl (58 kB)
Downloading smart_open-5.2.0-py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.6 MB/s
Using cached smart_open-5.1.0-py3-none-any.whl (57 kB)
INFO: pip is looking at multiple versions of spacy-legacy to determine which version is compatible with other requirements. This could take a while.
Downloading smart_open-5.0.0-py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 1.6 MB/s
INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while.
Collecting idna<4,>=2.5
Using cached idna-3.2-py3-none-any.whl (59 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: pip is looking at multiple versions of smart-open to determine which version is compatible with other requirements. This could take a while.
Downloading idna-3.1-py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.1 MB/s
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading idna-3.0-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.1 MB/s
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
Downloading idna-2.10-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 1.8 MB/s
Downloading idna-2.9-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 12.8 MB/s
Using cached idna-2.8-py2.py3-none-any.whl (58 kB)
Downloading idna-2.7-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 8.2 MB/s
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
INFO: pip is looking at multiple versions of idna to determine which version is compatible with other requirements. This could take a while.
Downloading idna-2.6-py2.py3-none-any.whl (56 kB)
|████████████████████████████████| 56 kB 3.6 MB/s
Downloading idna-2.5-py2.py3-none-any.whl (55 kB)
|████████████████████████████████| 55 kB 7.0 MB/s
INFO: pip is looking at multiple versions of charset-normalizer to determine which version is compatible with other requirements. This could take a while.
Collecting charset-normalizer~=2.0.0
Using cached charset_normalizer-2.0.6-py3-none-any.whl (37 kB)
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading charset_normalizer-2.0.5-py3-none-any.whl (37 kB)
Using cached charset_normalizer-2.0.4-py3-none-any.whl (36 kB)
Using cached charset_normalizer-2.0.3-py3-none-any.whl (35 kB)
Downloading charset_normalizer-2.0.2-py3-none-any.whl (35 kB)
Downloading charset_normalizer-2.0.1-py3-none-any.whl (35 kB)
Downloading charset_normalizer-2.0.0-py3-none-any.whl (35 kB)
INFO: pip is looking at multiple versions of charset-normalizer to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while.
Collecting certifi>=2017.4.17
Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
|████████████████████████████████| 145 kB 1.5 MB/s
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading certifi-2020.12.5-py2.py3-none-any.whl (147 kB)
|████████████████████████████████| 147 kB 2.9 MB/s
Downloading certifi-2020.11.8-py2.py3-none-any.whl (155 kB)
|████████████████████████████████| 155 kB 1.6 MB/s
Downloading certifi-2020.6.20-py2.py3-none-any.whl (156 kB)
|████████████████████████████████| 156 kB 1.7 MB/s
Downloading certifi-2020.4.5.2-py2.py3-none-any.whl (157 kB)
|████████████████████████████████| 157 kB 3.4 MB/s
Downloading certifi-2020.4.5.1-py2.py3-none-any.whl (157 kB)
|████████████████████████████████| 157 kB 1.7 MB/s
Downloading certifi-2020.4.5-py2.py3-none-any.whl (156 kB)
|████████████████████████████████| 156 kB 555 kB/s
INFO: pip is looking at multiple versions of certifi to determine which version is compatible with other requirements. This could take a while.
Using cached certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
Downloading certifi-2019.9.11-py2.py3-none-any.whl (154 kB)
|████████████████████████████████| 154 kB 1.6 MB/s
Downloading certifi-2019.6.16-py2.py3-none-any.whl (157 kB)
|████████████████████████████████| 157 kB 3.1 MB/s
Downloading certifi-2019.3.9-py2.py3-none-any.whl (158 kB)
|████████████████████████████████| 158 kB 3.6 MB/s
Downloading certifi-2018.11.29-py2.py3-none-any.whl (154 kB)
|████████████████████████████████| 154 kB 10.9 MB/s
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Downloading certifi-2018.10.15-py2.py3-none-any.whl (146 kB)
|████████████████████████████████| 146 kB 12.9 MB/s
Downloading certifi-2018.8.24-py2.py3-none-any.whl (147 kB)
|████████████████████████████████| 147 kB 18.1 MB/s
Downloading certifi-2018.8.13-py2.py3-none-any.whl (146 kB)
|████████████████████████████████| 146 kB 2.4 MB/s
Downloading certifi-2018.4.16-py2.py3-none-any.whl (150 kB)
|████████████████████████████████| 150 kB 11.9 MB/s
Downloading certifi-2018.1.18-py2.py3-none-any.whl (151 kB)
|████████████████████████████████| 151 kB 2.7 MB/s
Downloading certifi-2017.11.5-py2.py3-none-any.whl (330 kB)
|████████████████████████████████| 330 kB 5.8 MB/s
Downloading certifi-2017.7.27.1-py2.py3-none-any.whl (349 kB)
|████████████████████████████████| 349 kB 19.4 MB/s
Downloading certifi-2017.7.27-py2.py3-none-any.whl (349 kB)
|████████████████████████████████| 349 kB 2.5 MB/s
Downloading certifi-2017.4.17-py2.py3-none-any.whl (375 kB)
|████████████████████████████████| 375 kB 2.6 MB/s
INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
Collecting requests<3.0.0,>=2.13.0
Using cached requests-2.26.0-py2.py3-none-any.whl (62 kB)
Downloading requests-2.25.1-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 1.5 MB/s
Collecting chardet<5,>=3.0.2
Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while.
Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB)
Downloading chardet-3.0.3-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 2.7 MB/s
Downloading chardet-3.0.2-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 13.0 MB/s
INFO: pip is looking at multiple versions of chardet to determine which version is compatible with other requirements. This could take a while.
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Collecting requests<3.0.0,>=2.13.0
Downloading requests-2.25.0-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 1.7 MB/s
Downloading requests-2.24.0-py2.py3-none-any.whl (61 kB)
|████████████████████████████████| 61 kB 817 kB/s
Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB)
|████████████████████████████████| 127 kB 16.5 MB/s
Collecting requests<3.0.0,>=2.13.0
Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB)
|████████████████████████████████| 58 kB 7.6 MB/s
Using cached requests-2.22.0-py2.py3-none-any.whl (57 kB)
Downloading requests-2.21.0-py2.py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 1.8 MB/s
Collecting urllib3<1.25,>=1.21.1
Downloading urllib3-1.24.3-py2.py3-none-any.whl (118 kB)
|████████████████████████████████| 118 kB 9.6 MB/s
INFO: pip is looking at multiple versions of requests to determine which version is compatible with other requirements. This could take a while.
Collecting requests<3.0.0,>=2.13.0
Downloading requests-2.20.1-py2.py3-none-any.whl (57 kB)
|████████████████████████████████| 57 kB 2.1 MB/s
Downloading requests-2.20.0-py2.py3-none-any.whl (60 kB)
|████████████████████████████████| 60 kB 4.9 MB/s
Downloading requests-2.19.1-py2.py3-none-any.whl (91 kB)
|████████████████████████████████| 91 kB 2.2 MB/s
Collecting urllib3<1.24,>=1.21.1
Downloading urllib3-1.23-py2.py3-none-any.whl (133 kB)
|████████████████████████████████| 133 kB 14.0 MB/s
Collecting requests<3.0.0,>=2.13.0
Downloading requests-2.19.0-py2.py3-none-any.whl (91 kB)
|████████████████████████████████| 91 kB 3.8 MB/s
Downloading requests-2.18.4-py2.py3-none-any.whl (88 kB)
|████████████████████████████████| 88 kB 10.0 MB/s
Collecting urllib3<1.23,>=1.21.1
Downloading urllib3-1.22-py2.py3-none-any.whl (132 kB)
|████████████████████████████████| 132 kB 11.0 MB/s
INFO: This is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. If you want to abort this run, you can press Ctrl + C to do so. To improve how pip performs, tell us what happened here: https://pip.pypa.io/surveys/backtracking
Collecting requests<3.0.0,>=2.13.0
Downloading requests-2.18.3-py2.py3-none-any.whl (88 kB)
|████████████████████████████████| 88 kB 4.4 MB/s
Downloading requests-2.18.2-py2.py3-none-any.whl (88 kB)
|████████████████████████████████| 88 kB 5.4 MB/s
Downloading requests-2.18.1-py2.py3-none-any.whl (88 kB)
|████████████████████████████████| 88 kB 5.9 MB/s
Collecting urllib3<1.22,>=1.21.1
Downloading urllib3-1.21.1-py2.py3-none-any.whl (131 kB)
|████████████████████████████████| 131 kB 7.6 MB/s
Collecting requests<3.0.0,>=2.13.0
Downloading requests-2.18.0-py2.py3-none-any.whl (563 kB)
|████████████████████████████████| 563 kB 3.0 MB/s
Downloading requests-2.17.3-py2.py3-none-any.whl (87 kB)
|████████████████████████████████| 87 kB 7.6 MB/s
Downloading requests-2.17.2-py2.py3-none-any.whl (87 kB)
|████████████████████████████████| 87 kB 2.1 MB/s
Downloading requests-2.17.1-py2.py3-none-any.whl (87 kB)
|████████████████████████████████| 87 kB 470 kB/s
Downloading requests-2.17.0-py2.py3-none-any.whl (87 kB)
|████████████████████████████████| 87 kB 2.6 MB/s
Downloading requests-2.16.5-py2.py3-none-any.whl (87 kB)
|████████████████████████████████| 87 kB 2.4 MB/s
Downloading requests-2.16.4-py2.py3-none-any.whl (87 kB)
|████████████████████████████████| 87 kB 2.4 MB/s
Downloading requests-2.16.3-py2.py3-none-any.whl (86 kB)
|████████████████████████████████| 86 kB 2.9 MB/s
Downloading requests-2.16.2-py2.py3-none-any.whl (86 kB)
|████████████████████████████████| 86 kB 6.6 MB/s
Downloading requests-2.16.1-py2.py3-none-any.whl (85 kB)
|████████████████████████████████| 85 kB 10.7 MB/s
Downloading requests-2.16.0-py2.py3-none-any.whl (85 kB)
|████████████████████████████████| 85 kB 8.6 MB/s
Downloading requests-2.15.1-py2.py3-none-any.whl (558 kB)
|████████████████████████████████| 558 kB 3.0 MB/s
Downloading requests-2.14.2-py2.py3-none-any.whl (560 kB)
|████████████████████████████████| 560 kB 13.4 MB/s
Downloading requests-2.14.1-py2.py3-none-any.whl (559 kB)
|████████████████████████████████| 559 kB 3.0 MB/s
Downloading requests-2.14.0-py2.py3-none-any.whl (559 kB)
|████████████████████████████████| 559 kB 7.0 MB/s
Downloading requests-2.13.0-py2.py3-none-any.whl (584 kB)
|████████████████████████████████| 584 kB 12.8 MB/s
INFO: pip is looking at multiple versions of pyparsing to determine which version is compatible with other requirements. This could take a while.
Collecting pyparsing>=2.0.2
Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Downloading pyparsing-2.4.6-py2.py3-none-any.whl (67 kB)
|████████████████████████████████| 67 kB 1.1 MB/s
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))': /packages/c0/0c/fc2e007d9a992d997f04a80125b0f183da7fb554f1de701bbb70a8e7d479/pyparsing-2.4.5-py2.py3-none-any.whl
Downloading pyparsing-2.4.5-py2.py3-none-any.whl (67 kB)
|████████████████████████████████| 67 kB 382 kB/s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment