UltimaHoarder / UltimaScraper

Scrape all the media from an OnlyFans account - Updated regularly
GNU General Public License v3.0
3.96k stars 605 forks source link

Error on creating Container #1730

Closed HigHpLeX closed 3 years ago

HigHpLeX commented 3 years ago

I get the following error upon creating the Container

PS D:\OF\OnlyFans-master> docker build -t only-fans . && docker run -it --rm --name onlyfans -v ${PWD}/.settings:/usr/src/app/.settings -v ${PWD}/.profiles:/usr/src/app/.profiles -v ${PWD}/.sites:/usr/src/app/.sites only-fans [+] Building 24.4s (8/9) => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 213B 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 83B 0.0s => [internal] load metadata for docker.io/library/python:3-slim 1.5s => [internal] load build context 0.3s => => transferring context: 851.53kB 0.3s => [1/5] FROM docker.io/library/python:3-slim@sha256:9741095abd64605407b8e0d9f53fdd0b8ca65affc5439708a092cf22392 0.0s => CACHED [2/5] WORKDIR /usr/src/app 0.0s => CACHED [3/5] COPY requirements.txt ./ 0.0s => ERROR [4/5] RUN pip install --no-cache-dir -r requirements.txt 22.5s

[4/5] RUN pip install --no-cache-dir -r requirements.txt:

6 1.693 Collecting requests

6 1.968 Downloading requests-2.26.0-py2.py3-none-any.whl (62 kB)

6 2.131 Collecting beautifulsoup4

6 2.168 Downloading beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)

6 2.317 Collecting urllib3

6 2.369 Downloading urllib3-1.26.7-py2.py3-none-any.whl (138 kB)

6 2.462 Collecting win32-setctime

6 2.498 Downloading win32_setctime-1.0.3-py3-none-any.whl (3.5 kB)

6 2.563 Collecting python-socks[asyncio]

6 2.599 Downloading python_socks-1.2.4-py3-none-any.whl (35 kB)

6 2.948 Collecting psutil

6 3.008 Downloading psutil-5.8.0.tar.gz (470 kB)

6 3.542 Collecting python-dateutil

6 3.597 Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)

6 4.093 Collecting lxml

6 4.142 Downloading lxml-4.6.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (6.9 MB)

6 4.996 Collecting mergedeep

6 5.052 Downloading mergedeep-1.3.4-py3-none-any.whl (6.4 kB)

6 5.118 Collecting jsonpickle

6 5.170 Downloading jsonpickle-2.0.0-py2.py3-none-any.whl (37 kB)

6 5.297 Collecting ujson

6 5.350 Downloading ujson-4.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (218 kB)

6 5.891 Collecting sqlalchemy==1.4.20

6 5.964 Downloading SQLAlchemy-1.4.20.tar.gz (7.7 MB)

6 7.757 Collecting alembic

6 7.811 Downloading alembic-1.7.4-py3-none-any.whl (209 kB)

6 7.996 Collecting tqdm>=4.62.0

6 8.040 Downloading tqdm-4.62.3-py2.py3-none-any.whl (76 kB)

6 8.162 Collecting selenium

6 8.219 Downloading selenium-3.141.0-py2.py3-none-any.whl (904 kB)

6 8.460 Collecting selenium-wire==2.1.2

6 8.509 Downloading selenium_wire-2.1.2-py3-none-any.whl (832 kB)

6 8.655 Collecting user_agent

6 8.730 Downloading user_agent-0.1.9.tar.gz (20 kB)

6 9.547 Collecting aiohttp

6 9.616 Downloading aiohttp-3.7.4.post0.tar.gz (1.1 MB)

6 9.938 Installing build dependencies: started

6 12.85 Installing build dependencies: finished with status 'done'

6 12.85 Getting requirements to build wheel: started

6 13.10 Getting requirements to build wheel: finished with status 'done'

6 13.10 Preparing wheel metadata: started

6 13.39 Preparing wheel metadata: finished with status 'done'

6 13.48 Collecting aiohttp_socks

6 13.53 Downloading aiohttp_socks-0.6.0-py3-none-any.whl (9.2 kB)

6 13.90 Collecting greenlet!=0.4.17

6 13.94 Downloading greenlet-1.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (155 kB)

6 14.18 Collecting idna<4,>=2.5

6 14.26 Downloading idna-3.2-py3-none-any.whl (59 kB)

6 14.40 Collecting certifi>=2017.4.17

6 14.45 Downloading certifi-2021.5.30-py2.py3-none-any.whl (145 kB)

6 14.59 Collecting charset-normalizer~=2.0.0

6 14.65 Downloading charset_normalizer-2.0.6-py3-none-any.whl (37 kB)

6 14.78 Collecting soupsieve>1.2

6 14.85 Downloading soupsieve-2.2.1-py3-none-any.whl (33 kB)

6 15.01 Collecting async-timeout>=3.0.1

6 15.07 Downloading async_timeout-3.0.1-py3-none-any.whl (8.2 kB)

6 15.17 Collecting six>=1.5

6 15.23 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)

6 15.40 Collecting Mako

6 15.44 Downloading Mako-1.1.5-py2.py3-none-any.whl (75 kB)

6 16.29 Collecting multidict<7.0,>=4.5

6 16.34 Downloading multidict-5.2.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (175 kB)

6 16.43 Collecting chardet<5.0,>=2.0

6 16.48 Downloading chardet-4.0.0-py2.py3-none-any.whl (178 kB)

6 16.86 Collecting yarl<2.0,>=1.0

6 16.93 Downloading yarl-1.6.3.tar.gz (176 kB)

6 17.08 Installing build dependencies: started

6 19.07 Installing build dependencies: finished with status 'done'

6 19.07 Getting requirements to build wheel: started

6 19.23 Getting requirements to build wheel: finished with status 'done'

6 19.23 Preparing wheel metadata: started

6 19.40 Preparing wheel metadata: finished with status 'done'

6 19.51 Collecting attrs>=17.3.0

6 19.57 Downloading attrs-21.2.0-py2.py3-none-any.whl (53 kB)

6 19.66 Collecting typing-extensions>=3.6.5

6 19.69 Downloading typing_extensions-3.10.0.2-py3-none-any.whl (26 kB)

6 19.98 Collecting MarkupSafe>=0.9.2

6 20.04 Downloading MarkupSafe-2.0.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (30 kB)

6 20.07 Building wheels for collected packages: sqlalchemy, psutil, user-agent, aiohttp, yarl

6 20.07 Building wheel for sqlalchemy (setup.py): started

6 20.86 Building wheel for sqlalchemy (setup.py): finished with status 'done'

6 20.87 Created wheel for sqlalchemy: filename=SQLAlchemy-1.4.20-cp310-cp310-linux_x86_64.whl size=1484460 sha256=8c44cd2615fd37ffa1972e00090e51b8e7c7054770d8dabd73615f11e759c188

6 20.87 Stored in directory: /tmp/pip-ephem-wheel-cache-gmjp1tq9/wheels/c4/42/20/a958989c470cc1a6fe1d1279b0193f0e508161327fc3d951d9

6 20.87 Building wheel for psutil (setup.py): started

6 21.10 Building wheel for psutil (setup.py): finished with status 'error'

6 21.10 ERROR: Command errored out with exit status 1:

6 21.10 command: /usr/local/bin/python -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-nmv5ovuv/psutil_cff04b401c4a4710b7a0510fbb23d47c/setup.py'"'"'; file='"'"'/tmp/pip-install-nmv5ovuv/psutil_cff04b401c4a4710b7a0510fbb23d47c/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(file) if os.path.exists(file) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-i9on8iay

6 21.10 cwd: /tmp/pip-install-nmv5ovuv/psutil_cff04b401c4a4710b7a0510fbb23d47c/

6 21.10 Complete output (43 lines):

6 21.10 running bdist_wheel

6 21.10 running build

6 21.10 running build_py

6 21.10 creating build

6 21.10 creating build/lib.linux-x86_64-3.10

6 21.10 creating build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_pslinux.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_psposix.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_pswindows.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_psbsd.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_pssunos.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_psaix.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_psosx.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_common.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/_compat.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 copying psutil/init.py -> build/lib.linux-x86_64-3.10/psutil

6 21.10 creating build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/main.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_windows.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_process.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_sunos.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_system.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_linux.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_memleaks.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_aix.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_posix.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_osx.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_unicode.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_bsd.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/runner.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_misc.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_testutils.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_contracts.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/test_connections.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 copying psutil/tests/init.py -> build/lib.linux-x86_64-3.10/psutil/tests

6 21.10 running build_ext

6 21.10 building 'psutil._psutil_linux' extension

6 21.10 creating build/temp.linux-x86_64-3.10

6 21.10 creating build/temp.linux-x86_64-3.10/psutil

6 21.10 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_SIZEOF_PID_T=4 -DPSUTIL_VERSION=580 -DPSUTIL_LINUX=1 -DPSUTIL_ETHTOOL_MISSING_TYPES=1 -I/usr/local/include/python3.10 -c psutil/_psutil_common.c -o build/temp.linux-x86_64-3.10/psutil/_psutil_common.o

6 21.10 C compiler or Python headers are not installed on this system. Try to run:

6 21.10 sudo apt-get install gcc python3-dev

6 21.10 error: command 'gcc' failed: No such file or directory

6 21.10 ----------------------------------------

6 21.10 ERROR: Failed building wheel for psutil

6 21.10 Running setup.py clean for psutil

6 21.28 Building wheel for user-agent (setup.py): started

6 21.48 Building wheel for user-agent (setup.py): finished with status 'done'

6 21.48 Created wheel for user-agent: filename=user_agent-0.1.9-py3-none-any.whl size=18834 sha256=42d5aab4e7f540d455fbbca3d47325c2fdb213375a278a96abd446c5d771b6a5

6 21.48 Stored in directory: /tmp/pip-ephem-wheel-cache-gmjp1tq9/wheels/a8/78/60/7bc4868e825480fdf24d827d921a07844b235d4da03b55cadb

6 21.48 Building wheel for aiohttp (PEP 517): started

6 21.87 Building wheel for aiohttp (PEP 517): finished with status 'done'

6 21.87 Created wheel for aiohttp: filename=aiohttp-3.7.4.post0-py3-none-any.whl size=451944 sha256=e16682256cb758e470b25d7438ac82e0e842be8b52528c4eed784455830c0f5b

6 21.87 Stored in directory: /tmp/pip-ephem-wheel-cache-gmjp1tq9/wheels/fc/84/e0/52113c57eb9b09b6b187a0f369eaad6fc7fc64bb7247c83b89

6 21.88 Building wheel for yarl (PEP 517): started

6 22.05 Building wheel for yarl (PEP 517): finished with status 'error'

6 22.05 ERROR: Command errored out with exit status 1:

6 22.05 command: /usr/local/bin/python /usr/local/lib/python3.10/site-packages/pip/_vendor/pep517/in_process/_in_process.py buildwheel /tmp/tmpzszw1kg

6 22.05 cwd: /tmp/pip-install-nmv5ovuv/yarl_9d32826d033847e0b7dc1e95c5e1fdf7

6 22.05 Complete output (39 lines):

6 22.05 **

6 22.05 Accellerated build

6 22.05 **

6 22.05 running bdist_wheel

6 22.05 running build

6 22.05 running build_py

6 22.05 creating build

6 22.05 creating build/lib.linux-x86_64-3.10

6 22.05 creating build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/_url.py -> build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/_quoting.py -> build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/_quoting_py.py -> build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/init.py -> build/lib.linux-x86_64-3.10/yarl

6 22.05 running egg_info

6 22.05 writing yarl.egg-info/PKG-INFO

6 22.05 writing dependency_links to yarl.egg-info/dependency_links.txt

6 22.05 writing requirements to yarl.egg-info/requires.txt

6 22.05 writing top-level names to yarl.egg-info/top_level.txt

6 22.05 reading manifest file 'yarl.egg-info/SOURCES.txt'

6 22.05 reading manifest template 'MANIFEST.in'

6 22.05 warning: no previously-included files matching '*.pyc' found anywhere in distribution

6 22.05 warning: no previously-included files matching '*.cache' found anywhere in distribution

6 22.05 warning: no previously-included files found matching 'yarl/*.html'

6 22.05 warning: no previously-included files found matching 'yarl/*.so'

6 22.05 warning: no previously-included files found matching 'yarl/*.pyd'

6 22.05 no previously-included directories found matching 'docs/_build'

6 22.05 adding license file 'LICENSE'

6 22.05 writing manifest file 'yarl.egg-info/SOURCES.txt'

6 22.05 copying yarl/init.pyi -> build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/_quoting_c.c -> build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/_quoting_c.pyi -> build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/_quoting_c.pyx -> build/lib.linux-x86_64-3.10/yarl

6 22.05 copying yarl/py.typed -> build/lib.linux-x86_64-3.10/yarl

6 22.05 running build_ext

6 22.05 building 'yarl._quoting_c' extension

6 22.05 creating build/temp.linux-x86_64-3.10

6 22.05 creating build/temp.linux-x86_64-3.10/yarl

6 22.05 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c yarl/_quoting_c.c -o build/temp.linux-x86_64-3.10/yarl/_quoting_c.o

6 22.05 error: command 'gcc' failed: No such file or directory

6 22.05 ----------------------------------------

6 22.05 ERROR: Failed building wheel for yarl

6 22.05 Successfully built sqlalchemy user-agent aiohttp

6 22.05 Failed to build psutil yarl

6 22.05 ERROR: Could not build wheels for yarl which use PEP 517 and cannot be installed directly

ALERTua commented 2 years ago

FROM python:3-slim to FROM python:3.9-slim fixed this