Error: Image size limit exceeded (when building)

I am trying to install a few (pretty standard packages) for a chatGPT Q/A bot (on a given corpus).

The requirements list:

langchain
openai
faiss-cpu
tiktoken
textract
transformers
datetime

I get an error:
Error: Image size limit exceeded

I am on a paid account. I am not sure what the limit is, but this is a pretty standard list of requirements for a chatGPT bot…

Any way to solve this?

#########################

The build log:
Installing custom packages…
Collecting langchain (from -r /home/anvil/custom-requirements.txt (line 1))
Downloading langchain-0.0.247-py3-none-any.whl (1.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.4/1.4 MB 32.5 MB/s eta 0:00:00
Collecting openai (from -r /home/anvil/custom-requirements.txt (line 2))
Downloading openai-0.27.8-py3-none-any.whl (73 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 73.6/73.6 kB 44.7 MB/s eta 0:00:00
Collecting tiktoken (from -r /home/anvil/custom-requirements.txt (line 3))
Downloading tiktoken-0.4.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.7/1.7 MB 45.4 MB/s eta 0:00:00
Collecting textract (from -r /home/anvil/custom-requirements.txt (line 4))
Downloading textract-1.6.5-py3-none-any.whl (23 kB)
Collecting transformers (from -r /home/anvil/custom-requirements.txt (line 5))
Downloading transformers-4.31.0-py3-none-any.whl (7.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.4/7.4 MB 47.7 MB/s eta 0:00:00
Collecting datetime (from -r /home/anvil/custom-requirements.txt (line 6))
Downloading DateTime-5.2-py3-none-any.whl (52 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 52.2/52.2 kB 59.7 MB/s eta 0:00:00
Collecting scipy (from -r /home/anvil/custom-requirements.txt (line 7))
Downloading scipy-1.11.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (36.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 36.3/36.3 MB 50.6 MB/s eta 0:00:00
Collecting PyYAML>=5.4.1 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading PyYAML-6.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (705 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 705.5/705.5 kB 69.9 MB/s eta 0:00:00
Collecting SQLAlchemy<3,>=1.4 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading SQLAlchemy-2.0.19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 49.4 MB/s eta 0:00:00
Collecting aiohttp<4.0.0,>=3.8.3 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading aiohttp-3.8.5-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.0/1.0 MB 52.6 MB/s eta 0:00:00
Collecting async-timeout<5.0.0,>=4.0.0 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB)
Collecting dataclasses-json<0.6.0,>=0.5.7 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading dataclasses_json-0.5.14-py3-none-any.whl (26 kB)
Collecting langsmith<0.1.0,>=0.0.11 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading langsmith-0.0.15-py3-none-any.whl (30 kB)
Collecting numexpr<3.0.0,>=2.8.4 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading numexpr-2.8.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (381 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 381.4/381.4 kB 75.3 MB/s eta 0:00:00
Requirement already satisfied: numpy<2,>=1 in ./.env/lib/python3.10/site-packages (from langchain->-r /home/anvil/custom-requirements.txt (line 1)) (1.25.0)
Collecting openapi-schema-pydantic<2.0,>=1.2 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading openapi_schema_pydantic-1.2.4-py3-none-any.whl (90 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.0/90.0 kB 47.1 MB/s eta 0:00:00
Collecting pydantic<2,>=1 (from langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading pydantic-1.10.12-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 50.9 MB/s eta 0:00:00
Requirement already satisfied: requests<3,>=2 in ./.env/lib/python3.10/site-packages (from langchain->-r /home/anvil/custom-requirements.txt (line 1)) (2.31.0)
Requirement already satisfied: tenacity<9.0.0,>=8.1.0 in ./.env/lib/python3.10/site-packages (from langchain->-r /home/anvil/custom-requirements.txt (line 1)) (8.2.2)
Collecting tqdm (from openai->-r /home/anvil/custom-requirements.txt (line 2))
Downloading tqdm-4.65.0-py3-none-any.whl (77 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.1/77.1 kB 67.6 MB/s eta 0:00:00
Collecting regex>=2022.1.18 (from tiktoken->-r /home/anvil/custom-requirements.txt (line 3))
Downloading regex-2023.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (770 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 770.4/770.4 kB 66.2 MB/s eta 0:00:00
Collecting argcomplete~=1.10.0 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading argcomplete-1.10.3-py2.py3-none-any.whl (36 kB)
Collecting beautifulsoup4~=4.8.0 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading beautifulsoup4-4.8.2-py3-none-any.whl (106 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 106.9/106.9 kB 65.9 MB/s eta 0:00:00
Collecting chardet==3.* (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.4/133.4 kB 60.1 MB/s eta 0:00:00
Collecting docx2txt~=0.8 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading docx2txt-0.8.tar.gz (2.8 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‘done’
Collecting extract-msg<=0.29.* (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading extract_msg-0.28.7-py2.py3-none-any.whl (69 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 69.0/69.0 kB 65.8 MB/s eta 0:00:00
Collecting pdfminer.six==20191110 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading pdfminer.six-20191110-py2.py3-none-any.whl (5.6 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.6/5.6 MB 42.4 MB/s eta 0:00:00
Collecting python-pptx~=0.6.18 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading python-pptx-0.6.21.tar.gz (10.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 47.7 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‘done’
Collecting six~=1.12.0 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading six-1.12.0-py2.py3-none-any.whl (10 kB)
Collecting SpeechRecognition~=3.8.1 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading SpeechRecognition-3.8.1-py2.py3-none-any.whl (32.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.8/32.8 MB 52.4 MB/s eta 0:00:00
Collecting xlrd~=1.2.0 (from textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading xlrd-1.2.0-py2.py3-none-any.whl (103 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 103.3/103.3 kB 46.3 MB/s eta 0:00:00
Collecting pycryptodome (from pdfminer.six==20191110->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading pycryptodome-3.18.0-cp35-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.1/2.1 MB 69.9 MB/s eta 0:00:00
Requirement already satisfied: sortedcontainers in ./.env/lib/python3.10/site-packages (from pdfminer.six==20191110->textract->-r /home/anvil/custom-requirements.txt (line 4)) (2.4.0)
Requirement already satisfied: filelock in ./.env/lib/python3.10/site-packages (from transformers->-r /home/anvil/custom-requirements.txt (line 5)) (3.12.2)
Collecting huggingface-hub<1.0,>=0.14.1 (from transformers->-r /home/anvil/custom-requirements.txt (line 5))
Downloading huggingface_hub-0.16.4-py3-none-any.whl (268 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.8/268.8 kB 60.5 MB/s eta 0:00:00
Requirement already satisfied: packaging>=20.0 in ./.env/lib/python3.10/site-packages (from transformers->-r /home/anvil/custom-requirements.txt (line 5)) (23.1)
Collecting tokenizers!=0.11.3,<0.14,>=0.11.1 (from transformers->-r /home/anvil/custom-requirements.txt (line 5))
Downloading tokenizers-0.13.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 54.8 MB/s eta 0:00:00
Collecting safetensors>=0.3.1 (from transformers->-r /home/anvil/custom-requirements.txt (line 5))
Downloading safetensors-0.3.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.3 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 56.5 MB/s eta 0:00:00
Collecting zope.interface (from datetime->-r /home/anvil/custom-requirements.txt (line 6))
Downloading zope.interface-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (246 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.0/247.0 kB 62.2 MB/s eta 0:00:00
Requirement already satisfied: pytz in ./.env/lib/python3.10/site-packages (from datetime->-r /home/anvil/custom-requirements.txt (line 6)) (2023.3)
Collecting attrs>=17.3.0 (from aiohttp<4.0.0,>=3.8.3->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading attrs-23.1.0-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.2/61.2 kB 46.3 MB/s eta 0:00:00
Requirement already satisfied: charset-normalizer<4.0,>=2.0 in ./.env/lib/python3.10/site-packages (from aiohttp<4.0.0,>=3.8.3->langchain->-r /home/anvil/custom-requirements.txt (line 1)) (3.1.0)
Collecting multidict<7.0,>=4.5 (from aiohttp<4.0.0,>=3.8.3->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading multidict-6.0.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (114 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 114.5/114.5 kB 57.7 MB/s eta 0:00:00
Collecting yarl<2.0,>=1.0 (from aiohttp<4.0.0,>=3.8.3->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading yarl-1.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (268 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.8/268.8 kB 69.9 MB/s eta 0:00:00
Collecting frozenlist>=1.1.1 (from aiohttp<4.0.0,>=3.8.3->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading frozenlist-1.4.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (225 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 225.7/225.7 kB 64.0 MB/s eta 0:00:00
Collecting aiosignal>=1.1.2 (from aiohttp<4.0.0,>=3.8.3->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading aiosignal-1.3.1-py3-none-any.whl (7.6 kB)
Collecting soupsieve>=1.2 (from beautifulsoup4~=4.8.0->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading soupsieve-2.4.1-py3-none-any.whl (36 kB)
Collecting marshmallow<4.0.0,>=3.18.0 (from dataclasses-json<0.6.0,>=0.5.7->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading marshmallow-3.20.1-py3-none-any.whl (49 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.4/49.4 kB 39.7 MB/s eta 0:00:00
Collecting typing-inspect<1,>=0.4.0 (from dataclasses-json<0.6.0,>=0.5.7->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading typing_inspect-0.9.0-py3-none-any.whl (8.8 kB)
Collecting imapclient==2.1.0 (from extract-msg<=0.29.->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading IMAPClient-2.1.0-py2.py3-none-any.whl (73 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.0/74.0 kB 51.8 MB/s eta 0:00:00
Collecting olefile>=0.46 (from extract-msg<=0.29.
->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading olefile-0.46.zip (112 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 112.2/112.2 kB 37.1 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‘done’
Collecting tzlocal>=2.1 (from extract-msg<=0.29.->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading tzlocal-5.0.1-py3-none-any.whl (20 kB)
Collecting compressed-rtf>=1.0.6 (from extract-msg<=0.29.
->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading compressed_rtf-1.0.6.tar.gz (5.8 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status ‘done’
Collecting ebcdic>=1.1.1 (from extract-msg<=0.29.*->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading ebcdic-1.1.1-py2.py3-none-any.whl (128 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.5/128.5 kB 67.7 MB/s eta 0:00:00
Collecting fsspec (from huggingface-hub<1.0,>=0.14.1->transformers->-r /home/anvil/custom-requirements.txt (line 5))
Downloading fsspec-2023.6.0-py3-none-any.whl (163 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 163.8/163.8 kB 43.5 MB/s eta 0:00:00
Collecting typing-extensions>=3.7.4.3 (from huggingface-hub<1.0,>=0.14.1->transformers->-r /home/anvil/custom-requirements.txt (line 5))
Downloading typing_extensions-4.7.1-py3-none-any.whl (33 kB)
Collecting lxml>=3.1.0 (from python-pptx~=0.6.18->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading lxml-4.9.3-cp310-cp310-manylinux_2_28_x86_64.whl (7.9 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 43.8 MB/s eta 0:00:00
Collecting Pillow>=3.3.2 (from python-pptx~=0.6.18->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading Pillow-10.0.0-cp310-cp310-manylinux_2_28_x86_64.whl (3.4 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.4/3.4 MB 46.3 MB/s eta 0:00:00
Collecting XlsxWriter>=0.5.7 (from python-pptx~=0.6.18->textract->-r /home/anvil/custom-requirements.txt (line 4))
Downloading XlsxWriter-3.1.2-py3-none-any.whl (153 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 153.0/153.0 kB 71.7 MB/s eta 0:00:00
Requirement already satisfied: idna<4,>=2.5 in ./.env/lib/python3.10/site-packages (from requests<3,>=2->langchain->-r /home/anvil/custom-requirements.txt (line 1)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in ./.env/lib/python3.10/site-packages (from requests<3,>=2->langchain->-r /home/anvil/custom-requirements.txt (line 1)) (2.0.3)
Requirement already satisfied: certifi>=2017.4.17 in ./.env/lib/python3.10/site-packages (from requests<3,>=2->langchain->-r /home/anvil/custom-requirements.txt (line 1)) (2023.5.7)
Collecting greenlet!=0.4.17 (from SQLAlchemy<3,>=1.4->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading greenlet-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 613.7/613.7 kB 64.9 MB/s eta 0:00:00
Requirement already satisfied: setuptools in ./.env/lib/python3.10/site-packages (from zope.interface->datetime->-r /home/anvil/custom-requirements.txt (line 6)) (67.8.0)
Collecting mypy-extensions>=0.3.0 (from typing-inspect<1,>=0.4.0->dataclasses-json<0.6.0,>=0.5.7->langchain->-r /home/anvil/custom-requirements.txt (line 1))
Downloading mypy_extensions-1.0.0-py3-none-any.whl (4.7 kB)
Building wheels for collected packages: docx2txt, python-pptx, compressed-rtf, olefile
Building wheel for docx2txt (setup.py): started
Building wheel for docx2txt (setup.py): finished with status ‘done’
Created wheel for docx2txt: filename=docx2txt-0.8-py3-none-any.whl size=3957 sha256=abde84e46a04a6f94ace282d738d60424d74f3092fa924e86f03d4d15bc999cd
Stored in directory: /tmp/pip-ephem-wheel-cache-op_9ltw3/wheels/22/58/cf/093d0a6c3ecfdfc5f6ddd5524043b88e59a9a199cb02352966
Building wheel for python-pptx (setup.py): started
Building wheel for python-pptx (setup.py): finished with status ‘done’
Created wheel for python-pptx: filename=python_pptx-0.6.21-py3-none-any.whl size=470935 sha256=17bf5db11e83e1958e3ae8a88da4c9576e5b3b8cb1e639b4dd620a862951a4d1
Stored in directory: /tmp/pip-ephem-wheel-cache-op_9ltw3/wheels/ea/dd/74/01b3ec7256a0800b99384e9a0f7620e358afc3a51a59bf9b49
Building wheel for compressed-rtf (setup.py): started
Building wheel for compressed-rtf (setup.py): finished with status ‘done’
Created wheel for compressed-rtf: filename=compressed_rtf-1.0.6-py3-none-any.whl size=6185 sha256=2a827e5949519c6441c25f8a4b157d2c7f5d51cee7564c49aad8cb7bbe24b676
Stored in directory: /tmp/pip-ephem-wheel-cache-op_9ltw3/wheels/15/3e/48/e7d833ecc516c36f8966d310b1a6386db091a718f1ff3bf85c
Building wheel for olefile (setup.py): started
Building wheel for olefile (setup.py): finished with status ‘done’
Created wheel for olefile: filename=olefile-0.46-py2.py3-none-any.whl size=35417 sha256=90d431d46e6cab7bac435d8a48a1ab7512518bbf6e3f70e086ca77f2d9106f54
Stored in directory: /tmp/pip-ephem-wheel-cache-op_9ltw3/wheels/02/39/c0/9eb1f7a42b4b38f6f333b6314d4ed11c46f12a0f7b78194f0d
Successfully built docx2txt python-pptx compressed-rtf olefile
Installing collected packages: tokenizers, SpeechRecognition, safetensors, ebcdic, docx2txt, compressed-rtf, chardet, argcomplete, zope.interface, XlsxWriter, xlrd, tzlocal, typing-extensions, tqdm, soupsieve, six, scipy, regex, PyYAML, pycryptodome, Pillow, olefile, numexpr, mypy-extensions, multidict, marshmallow, lxml, greenlet, fsspec, frozenlist, attrs, async-timeout, yarl, typing-inspect, tiktoken, SQLAlchemy, python-pptx, pydantic, pdfminer.six, imapclient, huggingface-hub, datetime, beautifulsoup4, aiosignal, transformers, openapi-schema-pydantic, langsmith, extract-msg, dataclasses-json, aiohttp, textract, openai, langchain
Attempting uninstall: six
Found existing installation: six 1.14.0
Uninstalling six-1.14.0:
Successfully uninstalled six-1.14.0
Successfully installed Pillow-10.0.0 PyYAML-6.0.1 SQLAlchemy-2.0.19 SpeechRecognition-3.8.1 XlsxWriter-3.1.2 aiohttp-3.8.5 aiosignal-1.3.1 argcomplete-1.10.3 async-timeout-4.0.2 attrs-23.1.0 beautifulsoup4-4.8.2 chardet-3.0.4 compressed-rtf-1.0.6 dataclasses-json-0.5.14 datetime-5.2 docx2txt-0.8 ebcdic-1.1.1 extract-msg-0.28.7 frozenlist-1.4.0 fsspec-2023.6.0 greenlet-2.0.2 huggingface-hub-0.16.4 imapclient-2.1.0 langchain-0.0.247 langsmith-0.0.15 lxml-4.9.3 marshmallow-3.20.1 multidict-6.0.4 mypy-extensions-1.0.0 numexpr-2.8.4 olefile-0.46 openai-0.27.8 openapi-schema-pydantic-1.2.4 pdfminer.six-20191110 pycryptodome-3.18.0 pydantic-1.10.12 python-pptx-0.6.21 regex-2023.6.3 safetensors-0.3.1 scipy-1.11.1 six-1.12.0 soupsieve-2.4.1 textract-1.6.5 tiktoken-0.4.0 tokenizers-0.13.3 tqdm-4.65.0 transformers-4.31.0 typing-extensions-4.7.1 typing-inspect-0.9.0 tzlocal-5.0.1 xlrd-1.2.0 yarl-1.9.2 zope.interface-6.0
Error: Image size limit exceeded

Just for future reference:


If you are posting a ton of code or text, this makes it easier to TLDR your log.

Did you ever get it to work?

Installing packages is still a beta feature, so I’m sure there are some kind of safeguard limits so nobody can overload the server with some infinitely large pip/git install.

The official way to use packages beyond what are already installed in the the ‘Full Python 3’ server environment is to run anvil-uplink on another machine that you control, with the results being sent back to anvil.

This link includes a tutorial:

The Python packages that are currently installed on the ‘Full Python 3’ Runtime:

Lastly, if you do get it working with uplink, you might write to anvil support and see if they can increase the limits for your account to install all of these packages you need.

On the Beta Custom Python route, see Point 1 here:

For instance, I’m on the Pro plan and I’m seeing this when I click My Account in the top right of the Anvil IDE and then select Quotas & Limits, displaying my current limits both in terms of size and install time:

I don’t.
Is it because a dedicated plan has no limit?