Closed edbond88 closed 1 year ago
Интересно. Я не вижу, где этот модуль используется. @vas3k ты помнишь, зачем его добавил?
Неа, по моему без них что-то не собиралось
Я пробовал удалить httptools
, но там еще проблема в psycopg2-binary
Автор psycopg2-binary
говорит, что это все новые маки виноваты и он ничем не может помочь ¯_(ツ)_/¯
Вот тред: https://github.com/psycopg/psycopg2/issues/1200
Чеклист
Описание бага
Пытаюсь запустить проект на Macbook M1. На этапе установки pip зависимостей в Docker выскакивают ошибки
Очень странно, учитывая что это все должно в контейнере собираться. Т.к. я не силен в питоне, то к сожалению, нет времени так долго копать в чем дело.
Полный лог под спойлером
```bash ✘ ~/p/vas3k.club master ± docker-compose up Building queue [+] Building 65.6s (12/14) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 37B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 34B 0.0s => [internal] load metadata for docker.io/library/ubuntu:20.04 2.4s => [internal] load build context 1.8s => => transferring context: 2.23MB 1.6s => [ 1/10] FROM docker.io/library/ubuntu:20.04@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 2.0s => => resolve docker.io/library/ubuntu:20.04@sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 0.0s => => sha256:a39c84e173f038958d338f55a9e8ee64bb6643e8ac6ae98e08ca65146e668d86 27.17MB / 27.17MB 0.7s => => sha256:626ffe58f6e7566e00254b638eb7e0f3b11d4da9675088f4781a50ae288f3322 1.42kB / 1.42kB 0.0s => => sha256:26c3bd3ae441c873a210200bcbb975ffd2bbf0c0841a4584f4476c8a5b8f3d99 529B / 529B 0.0s => => sha256:d5ca7a4456053674d490803005766890dd19e3f7e789a48737c0d462da531f5d 1.48kB / 1.48kB 0.0s => => extracting sha256:a39c84e173f038958d338f55a9e8ee64bb6643e8ac6ae98e08ca65146e668d86 1.2s => [ 2/10] RUN apt-get update && apt-get install --no-install-recommends -yq openssl && export LDFLAGS="-L/usr/local/opt/openssl/lib" && export CPPFLAGS="- 32.9s => [ 3/10] WORKDIR /app 0.0s => [ 4/10] COPY . /app 3.1s => [ 5/10] RUN pip3 install pipenv 3.7s => [ 6/10] RUN sh -c 'if [ "$MODE" = 'production' ]; then pipenv lock --keep-outdated --requirements > requirements.txt; fi' 0.2s => [ 7/10] RUN sh -c 'if [ "$MODE" = 'dev' ]; then pipenv lock --dev --requirements > requirements.txt; fi' 1.2s => ERROR [ 8/10] RUN pip3 install -r requirements.txt 20.0s ------ > [ 8/10] RUN pip3 install -r requirements.txt: #12 0.746 Collecting arrow==1.1.1 #12 0.890 Downloading arrow-1.1.1-py3-none-any.whl (60 kB) #12 0.982 Collecting asgiref==3.4.1 #12 1.023 Downloading asgiref-3.4.1-py3-none-any.whl (25 kB) #12 1.075 Collecting attrs==21.2.0 #12 1.107 Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB) #12 1.186 Collecting awesome-slugify==1.6.5 #12 1.219 Downloading awesome-slugify-1.6.5.tar.gz (8.4 kB) #12 1.364 Collecting beautifulsoup4==4.10.0 #12 1.398 Downloading beautifulsoup4-4.10.0-py3-none-any.whl (97 kB) #12 1.474 Collecting blessed==1.19.0 #12 1.506 Downloading blessed-1.19.0-py2.py3-none-any.whl (57 kB) #12 1.572 Collecting cachetools==4.2.2 #12 1.605 Downloading cachetools-4.2.2-py3-none-any.whl (11 kB) #12 1.653 Collecting certifi==2021.5.30 #12 1.693 Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB) #12 1.895 Collecting cffi==1.14.6 #12 1.931 Downloading cffi-1.14.6-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (208 kB) #12 2.007 Collecting chardet==3.0.4 #12 2.040 Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB) #12 2.106 Collecting click==7.1.2 #12 2.140 Downloading click-7.1.2-py2.py3-none-any.whl (82 kB) #12 2.201 Collecting croniter==1.0.10 #12 2.235 Downloading croniter-1.0.10-py2.py3-none-any.whl (14 kB) #12 2.423 Collecting cryptography==3.4.7 #12 2.465 Downloading cryptography-3.4.7-cp36-abi3-manylinux2014_aarch64.whl (3.1 MB) #12 2.707 Collecting cssselect==1.1.0 #12 2.740 Downloading cssselect-1.1.0-py2.py3-none-any.whl (16 kB) #12 2.796 Collecting cssutils==2.3.0 #12 2.832 Downloading cssutils-2.3.0-py3-none-any.whl (404 kB) #12 2.914 Collecting decorator==5.1.0 #12 2.947 Downloading decorator-5.1.0-py3-none-any.whl (9.1 kB) #12 3.035 Collecting django-debug-toolbar==3.2 #12 3.068 Downloading django_debug_toolbar-3.2-py3-none-any.whl (200 kB) #12 3.128 Collecting django-picklefield==3.0.1 #12 3.162 Downloading django_picklefield-3.0.1-py3-none-any.whl (9.4 kB) #12 3.342 Collecting django-q-sentry==0.1.5 #12 3.377 Downloading django_q_sentry-0.1.5-py3-none-any.whl (3.8 kB) #12 3.552 Collecting django-q[sentry]==1.3.5 #12 3.589 Downloading django_q-1.3.5-py3-none-any.whl (73 kB) #12 3.665 Collecting django-redis==4.11.0 #12 3.701 Downloading django_redis-4.11.0-py3-none-any.whl (18 kB) #12 3.760 Collecting django-simple-history==2.12.0 #12 3.806 Downloading django_simple_history-2.12.0-py2.py3-none-any.whl (46 kB) #12 3.861 Collecting django-webpack-loader==0.7.0 #12 3.896 Downloading django_webpack_loader-0.7.0-py2.py3-none-any.whl (14 kB) #12 3.987 Collecting django==3.2.5 #12 4.019 Downloading Django-3.2.5-py3-none-any.whl (7.9 MB) #12 4.564 Collecting feedfinder2==0.0.4 #12 4.596 Downloading feedfinder2-0.0.4.tar.gz (3.3 kB) #12 4.735 Collecting feedparser==6.0.8 #12 4.767 Downloading feedparser-6.0.8-py3-none-any.whl (81 kB) #12 4.820 Collecting filelock==3.0.12 #12 4.853 Downloading filelock-3.0.12-py3-none-any.whl (7.6 kB) #12 4.911 Collecting flake8==3.9.0 #12 4.948 Downloading flake8-3.9.0-py2.py3-none-any.whl (73 kB) #12 5.006 Collecting future==0.18.2 #12 5.040 Downloading future-0.18.2.tar.gz (829 kB) #12 5.390 Collecting gunicorn==20.0.4 #12 5.423 Downloading gunicorn-20.0.4-py2.py3-none-any.whl (77 kB) #12 5.473 Collecting h11==0.12.0 #12 5.505 Downloading h11-0.12.0-py3-none-any.whl (54 kB) #12 5.571 Collecting httptools==0.1.1 #12 5.609 Downloading httptools-0.1.1.tar.gz (106 kB) #12 5.759 Collecting icalendar==4.0.7 #12 5.792 Downloading icalendar-4.0.7-py2.py3-none-any.whl (74 kB) #12 5.846 Collecting idna==2.10 #12 5.894 Downloading idna-2.10-py2.py3-none-any.whl (58 kB) #12 5.955 Collecting iniconfig==1.1.1 #12 5.989 Downloading iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB) #12 6.031 Collecting jieba3k==0.35.1 #12 6.064 Downloading jieba3k-0.35.1.zip (7.4 MB) #12 6.542 Collecting lxml==4.6.3 #12 6.574 Downloading lxml-4.6.3-cp38-cp38-manylinux2014_aarch64.whl (7.3 MB) #12 6.927 Collecting mccabe==0.6.1 #12 6.959 Downloading mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) #12 7.010 Collecting mistune==2.0.0a4 #12 7.043 Downloading mistune-2.0.0a4-py2.py3-none-any.whl (21 kB) #12 7.089 Collecting newspaper3k==0.2.8 #12 7.123 Downloading newspaper3k-0.2.8-py3-none-any.whl (211 kB) #12 7.187 Collecting nltk==3.4.5 #12 7.224 Downloading nltk-3.4.5.zip (1.5 MB) #12 7.466 Collecting packaging==21.0 #12 7.500 Downloading packaging-21.0-py3-none-any.whl (40 kB) #12 7.636 Collecting patreon==0.5.0 #12 7.670 Downloading patreon-0.5.0.tar.gz (9.8 kB) #12 8.829 Collecting pillow==8.3.2 #12 8.871 Downloading Pillow-8.3.2-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (3.0 MB) #12 9.026 Collecting pluggy==0.13.1 #12 9.060 Downloading pluggy-0.13.1-py2.py3-none-any.whl (18 kB) #12 9.119 Collecting premailer==3.6.1 #12 9.155 Downloading premailer-3.6.1-py2.py3-none-any.whl (19 kB) #12 9.243 Collecting psycopg2-binary==2.8.4 #12 9.279 Downloading psycopg2-binary-2.8.4.tar.gz (378 kB) #12 9.489 Collecting py==1.10.0 #12 9.523 Downloading py-1.10.0-py2.py3-none-any.whl (97 kB) #12 9.579 Collecting pycodestyle==2.7.0 #12 9.612 Downloading pycodestyle-2.7.0-py2.py3-none-any.whl (41 kB) #12 9.660 Collecting pycparser==2.20 #12 9.695 Downloading pycparser-2.20-py2.py3-none-any.whl (112 kB) #12 9.751 Collecting pyflakes==2.3.1 #12 9.787 Downloading pyflakes-2.3.1-py2.py3-none-any.whl (68 kB) #12 9.849 Collecting pyjwt==1.7.1 #12 9.883 Downloading PyJWT-1.7.1-py2.py3-none-any.whl (18 kB) #12 9.954 Collecting pyparsing==2.4.7 #12 9.987 Downloading pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) #12 10.07 Collecting pytest==6.2.3 #12 10.10 Downloading pytest-6.2.3-py3-none-any.whl (280 kB) #12 10.17 Collecting python-dateutil==2.8.2 #12 10.21 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) #12 10.27 Collecting python-dotenv==0.17.0 #12 10.30 Downloading python_dotenv-0.17.0-py2.py3-none-any.whl (18 kB) #12 10.37 Collecting python-telegram-bot==12.5.1 #12 10.40 Downloading python_telegram_bot-12.5.1-py2.py3-none-any.whl (367 kB) #12 10.51 Collecting pytz==2021.1 #12 10.55 Downloading pytz-2021.1-py2.py3-none-any.whl (510 kB) #12 10.66 Collecting pyyaml==5.4.1 #12 10.70 Downloading PyYAML-5.4.1-cp38-cp38-manylinux2014_aarch64.whl (818 kB) #12 10.83 Collecting redis==3.5.3 #12 10.86 Downloading redis-3.5.3-py2.py3-none-any.whl (72 kB) #12 11.17 Collecting regex==2021.8.28 #12 11.23 Downloading regex-2021.8.28-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (758 kB) #12 11.36 Collecting requests-file==1.5.1 #12 11.40 Downloading requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB) #12 11.46 Collecting requests==2.23.0 #12 11.50 Downloading requests-2.23.0-py2.py3-none-any.whl (58 kB) #12 11.58 Collecting sentry-sdk==1.0.0 #12 11.61 Downloading sentry_sdk-1.0.0-py2.py3-none-any.whl (131 kB) #12 11.68 Collecting sgmllib3k==1.0.0 #12 11.72 Downloading sgmllib3k-1.0.0.tar.gz (5.8 kB) #12 11.81 Requirement already satisfied: six==1.16.0 in /usr/local/lib/python3.8/dist-packages (from -r requirements.txt (line 77)) (1.16.0) #12 11.86 Collecting soupsieve==2.2.1 #12 11.90 Downloading soupsieve-2.2.1-py3-none-any.whl (33 kB) #12 11.95 Collecting sqlparse==0.4.2 #12 11.99 Downloading sqlparse-0.4.2-py3-none-any.whl (42 kB) #12 12.11 Collecting stripe==2.55.0 #12 12.15 Downloading stripe-2.55.0-py2.py3-none-any.whl (204 kB) #12 12.22 Collecting tinysegmenter==0.3 #12 12.26 Downloading tinysegmenter-0.3.tar.gz (16 kB) #12 12.40 Collecting tldextract==3.1.2 #12 12.43 Downloading tldextract-3.1.2-py2.py3-none-any.whl (87 kB) #12 12.48 Collecting toml==0.10.2 #12 12.52 Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB) #12 12.58 Collecting tornado==6.1 #12 12.62 Downloading tornado-6.1-cp38-cp38-manylinux2014_aarch64.whl (427 kB) #12 12.81 Collecting typus==0.2.2 #12 12.85 Downloading typus-0.2.2.tar.gz (19 kB) #12 13.01 Collecting unidecode==0.4.21 #12 13.04 Downloading Unidecode-0.04.21-py2.py3-none-any.whl (228 kB) #12 13.14 Collecting urllib3==1.25.11 #12 13.17 Downloading urllib3-1.25.11-py2.py3-none-any.whl (127 kB) #12 13.25 Collecting uvicorn==0.13.4 #12 13.28 Downloading uvicorn-0.13.4-py3-none-any.whl (46 kB) #12 13.41 Collecting uvloop==0.15.2 #12 13.75 Downloading uvloop-0.15.2-cp38-cp38-manylinux2014_aarch64.whl (5.2 MB) #12 14.32 Collecting wcwidth==0.2.5 #12 14.36 Downloading wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) #12 14.36 Requirement already satisfied: setuptools>=3.0 in /usr/lib/python3/dist-packages (from gunicorn==20.0.4->-r requirements.txt (line 41)) (45.2.0) #12 14.36 Building wheels for collected packages: awesome-slugify, feedfinder2, future, httptools, jieba3k, nltk, patreon, psycopg2-binary, sgmllib3k, tinysegmenter, typus #12 14.36 Building wheel for awesome-slugify (setup.py): started #12 14.48 Building wheel for awesome-slugify (setup.py): finished with status 'done' #12 14.48 Created wheel for awesome-slugify: filename=awesome_slugify-1.6.5-py3-none-any.whl size=8353 sha256=97c1805bd1c5ae5e67822ce6a817fccd11dded3118105e5b639740836fba96cf #12 14.48 Stored in directory: /root/.cache/pip/wheels/11/27/6f/56a2607c9f8010991f9e8f42c6bc8a90917291b4e1ead4582a #12 14.48 Building wheel for feedfinder2 (setup.py): started #12 14.59 Building wheel for feedfinder2 (setup.py): finished with status 'done' #12 14.59 Created wheel for feedfinder2: filename=feedfinder2-0.0.4-py3-none-any.whl size=3355 sha256=f40a2ccb334abeef4b68d0facde4f250e21ba64a8c016378b10dd57d21284de3 #12 14.59 Stored in directory: /root/.cache/pip/wheels/b6/09/68/a9f15498ac02c23dde29f18745bc6a6f574ba4ab41861a3575 #12 14.59 Building wheel for future (setup.py): started #12 14.80 Building wheel for future (setup.py): finished with status 'done' #12 14.80 Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=37655e25c8ab2e2905e11c4ac0346d2b4f21c70fe783c84e93783a168c601b2e #12 14.80 Stored in directory: /root/.cache/pip/wheels/8e/70/28/3d6ccd6e315f65f245da085482a2e1c7d14b90b30f239e2cf4 #12 14.80 Building wheel for httptools (setup.py): started #12 14.90 Building wheel for httptools (setup.py): finished with status 'error' #12 14.91 ERROR: Command errored out with exit status 1: #12 14.91 command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-679hopch/httptools/setup.py'"'"'; __file__='"'"'/tmp/pip-install-679hopch/httptools/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-0cibgmcf #12 14.91 cwd: /tmp/pip-install-679hopch/httptools/ #12 14.91 Complete output (30 lines): #12 14.91 running bdist_wheel #12 14.91 running build #12 14.91 running build_py #12 14.91 creating build #12 14.91 creating build/lib.linux-aarch64-3.8 #12 14.91 creating build/lib.linux-aarch64-3.8/httptools #12 14.91 copying httptools/__init__.py -> build/lib.linux-aarch64-3.8/httptools #12 14.91 copying httptools/_version.py -> build/lib.linux-aarch64-3.8/httptools #12 14.91 creating build/lib.linux-aarch64-3.8/httptools/parser #12 14.91 copying httptools/parser/errors.py -> build/lib.linux-aarch64-3.8/httptools/parser #12 14.91 copying httptools/parser/__init__.py -> build/lib.linux-aarch64-3.8/httptools/parser #12 14.91 running egg_info #12 14.91 writing httptools.egg-info/PKG-INFO #12 14.91 writing dependency_links to httptools.egg-info/dependency_links.txt #12 14.91 writing requirements to httptools.egg-info/requires.txt #12 14.91 writing top-level names to httptools.egg-info/top_level.txt #12 14.91 reading manifest file 'httptools.egg-info/SOURCES.txt' #12 14.91 reading manifest template 'MANIFEST.in' #12 14.91 writing manifest file 'httptools.egg-info/SOURCES.txt' #12 14.91 copying httptools/parser/parser.c -> build/lib.linux-aarch64-3.8/httptools/parser #12 14.91 running build_ext #12 14.91 building 'httptools.parser.parser' extension #12 14.91 creating build/temp.linux-aarch64-3.8 #12 14.91 creating build/temp.linux-aarch64-3.8/httptools #12 14.91 creating build/temp.linux-aarch64-3.8/httptools/parser #12 14.91 creating build/temp.linux-aarch64-3.8/vendor #12 14.91 creating build/temp.linux-aarch64-3.8/vendor/http-parser #12 14.91 aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -I/tmp/pip-install-679hopch/httptools/vendor/http-parser -c httptools/parser/parser.c -o build/temp.linux-aarch64-3.8/httptools/parser/parser.o -O2 #12 14.91 unable to execute 'aarch64-linux-gnu-gcc': No such file or directory #12 14.91 error: command 'aarch64-linux-gnu-gcc' failed with exit status 1 #12 14.91 ---------------------------------------- #12 14.91 ERROR: Failed building wheel for httptools #12 14.91 Running setup.py clean for httptools #12 14.98 Building wheel for jieba3k (setup.py): started #12 15.78 Building wheel for jieba3k (setup.py): finished with status 'done' #12 15.78 Created wheel for jieba3k: filename=jieba3k-0.35.1-py3-none-any.whl size=7398406 sha256=017c2dd417649dc7dbb5e22b72cf5abf33beea39b1c742c2897a9d6783245444 #12 15.78 Stored in directory: /root/.cache/pip/wheels/1f/7e/0c/54f3b0f5164278677899f2db08f2b07943ce2d024a3c862afb #12 15.79 Building wheel for nltk (setup.py): started #12 16.10 Building wheel for nltk (setup.py): finished with status 'done' #12 16.10 Created wheel for nltk: filename=nltk-3.4.5-py3-none-any.whl size=1449904 sha256=51f8febe579463522f7697ba4bc4754585f299f8e13eb5610cb8314ebaf11304 #12 16.10 Stored in directory: /root/.cache/pip/wheels/23/18/48/8fd6ec11da38406b309470566d6f099c04805d2ec61d7829e7 #12 16.10 Building wheel for patreon (setup.py): started #12 16.22 Building wheel for patreon (setup.py): finished with status 'done' #12 16.22 Created wheel for patreon: filename=patreon-0.5.0-py3-none-any.whl size=16844 sha256=35212102a8ff84a58bd19a273e3bdf435460fa98a6fd7d3e7ffc6d5972a225a7 #12 16.22 Stored in directory: /root/.cache/pip/wheels/1b/7a/99/00a722984de10d848f92a7d91b9a014dc278baa9875bfdc07f #12 16.22 Building wheel for psycopg2-binary (setup.py): started #12 16.33 Building wheel for psycopg2-binary (setup.py): finished with status 'error' #12 16.33 ERROR: Command errored out with exit status 1: #12 16.33 command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-679hopch/psycopg2-binary/setup.py'"'"'; __file__='"'"'/tmp/pip-install-679hopch/psycopg2-binary/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-7jwck0n5 #12 16.33 cwd: /tmp/pip-install-679hopch/psycopg2-binary/ #12 16.33 Complete output (36 lines): #12 16.33 running bdist_wheel #12 16.33 running build #12 16.33 running build_py #12 16.33 creating build #12 16.33 creating build/lib.linux-aarch64-3.8 #12 16.33 creating build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/tz.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/errors.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/compat.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/errorcodes.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/__init__.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/_ipaddress.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/extensions.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/_json.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/sql.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/_range.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/_lru_cache.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/extras.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 copying lib/pool.py -> build/lib.linux-aarch64-3.8/psycopg2 #12 16.33 running build_ext #12 16.33 building 'psycopg2._psycopg' extension #12 16.33 creating build/temp.linux-aarch64-3.8 #12 16.33 creating build/temp.linux-aarch64-3.8/psycopg #12 16.33 aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPSYCOPG_VERSION=2.8.4 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=120008 -DHAVE_LO64=1 -I/usr/include/python3.8 -I. -I/usr/include/postgresql -I/usr/include/postgresql/12/server -c psycopg/psycopgmodule.c -o build/temp.linux-aarch64-3.8/psycopg/psycopgmodule.o -Wdeclaration-after-statement #12 16.33 unable to execute 'aarch64-linux-gnu-gcc': No such file or directory #12 16.33 #12 16.33 It appears you are missing some prerequisite to build the package from source. #12 16.33 #12 16.33 You may install a binary package by installing 'psycopg2-binary' from PyPI. #12 16.33 If you want to install psycopg2 from source, please install the packages #12 16.33 required for the build and try again. #12 16.33 #12 16.33 For further information please check the 'doc/src/install.rst' file (also at #12 16.33Ожидаемый результат
Докер должен установить все зависимости без ошибок и запустить проект.
Шаги к воспроизведению
docker-compose up
Среда