instagrapi-rest
instagrapi-rest copied to clipboard
[BUG] Don't build in docker
I try run command
docker-compose buld
or
docker build -t instagrapi-rest .
I get an error at the stage of installing dependencies (RUN pip install -r requirements.txt)
Collecting tqdm<5.0,>=4.11.2
Downloading tqdm-4.62.2-py2.py3-none-any.whl (76 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 tqdm-4.62.1-py2.py3-none-any.whl (76 kB)
Downloading tqdm-4.62.0-py2.py3-none-any.whl (76 kB)
Downloading tqdm-4.61.2-py2.py3-none-any.whl (76 kB)
Downloading tqdm-4.61.1-py2.py3-none-any.whl (75 kB)
Downloading tqdm-4.61.0-py2.py3-none-any.whl (75 kB)
ERROR: Exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 173, in _main
status = self.run(options, args)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 203, in wrapper
return func(self, options, args)
File "/usr/local/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 315, in run
requirement_set = resolver.resolve(
File "/usr/local/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve
result = self._result = resolver.resolve(
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 472, in resolve
state = resolution.resolve(requirements, max_rounds=max_rounds)
File "/usr/local/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 383, in resolve
raise ResolutionTooDeep(max_rounds)
pip._vendor.resolvelib.resolvers.ResolutionTooDeep: 2000000
The command '/bin/sh -c pip install -r requirements.txt' returned a non-zero code: 2