Git Product home page Git Product logo

face_recognition_pet_project's People

Contributors

phenomen21 avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

konsttoit

face_recognition_pet_project's Issues

Can't build docker container

I've tried to follow instructions in README.md to run the app.

But faced with problem during executing docker build -t face_rec . command, where face_rec is the name for image.

This is traceback of errors which occured:

#9 719.6   Downloading nvidia_cudnn_cu12-8.9.2.26-py3-none-manylinux1_x86_64.whl (731.7 MB)
#9 752.0                                              9.1/731.7 MB 521.7 kB/s eta 0:23:06
#9 752.2 ERROR: Exception:
#9 752.2 Traceback (most recent call last):
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher
#9 752.2     yield
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 561, in read
#9 752.2     data = self._fp_read(amt) if not fp_closed else b""
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 527, in _fp_read
#9 752.2     return self._fp.read(amt) if amt is not None else self._fp.read()
#9 752.2   File "/usr/local/lib/python3.10/http/client.py", line 466, in read
#9 752.2     s = self.fp.read(amt)
#9 752.2   File "/usr/local/lib/python3.10/socket.py", line 705, in readinto
#9 752.2     return self._sock.recv_into(b)
#9 752.2   File "/usr/local/lib/python3.10/ssl.py", line 1307, in recv_into
#9 752.2     return self.read(nbytes, buffer)
#9 752.2   File "/usr/local/lib/python3.10/ssl.py", line 1163, in read
#9 752.2     return self._sslobj.read(len, buffer)
#9 752.2 TimeoutError: The read operation timed out
#9 752.2
#9 752.2 During handling of the above exception, another exception occurred:
#9 752.2
#9 752.2 Traceback (most recent call last):
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 160, in exc_logging_wrapper
#9 752.2     status = run_func(*args)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 247, in wrapper
#9 752.2     return func(self, options, args)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 419, in run
#9 752.2     requirement_set = resolver.resolve(
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 92, in resolve
#9 752.2     result = self._result = resolver.resolve(
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve
#9 752.2     state = resolution.resolve(requirements, max_rounds=max_rounds)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 373, in resolve
#9 752.2     failure_causes = self._attempt_to_pin_criterion(name)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 213, in _attempt_to_pin_criterion
#9 752.2     criteria = self._get_updated_criteria(candidate)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 204, in _get_updated_criteria
#9 752.2     self._add_to_criteria(criteria, requirement, parent=candidate)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria
#9 752.2     if not criterion.candidates:
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__
#9 752.2     return bool(self._sequence)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__
#9 752.2     return any(self)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr>
#9 752.2     return (c for c in iterator if id(c) not in self._incompatible_ids)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built
#9 752.2     candidate = func()
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 206, in _make_candidate_from_link
#9 752.2     self._link_candidate_cache[link] = LinkCandidate(
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 297, in __init__
#9 752.2     super().__init__(
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 162, in __init__
#9 752.2     self.dist = self._prepare()
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 231, in _prepare
#9 752.2     dist = self._prepare_distribution()
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 308, in _prepare_distribution
#9 752.2     return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 491, in prepare_linked_requirement
#9 752.2     return self._prepare_linked_requirement(req, parallel_builds)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 536, in _prepare_linked_requirement
#9 752.2     local_file = unpack_url(
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 166, in unpack_url
#9 752.2     file = get_http_url(
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/operations/prepare.py", line 107, in get_http_url
#9 752.2     from_path, content_type = download(link, temp_dir.path)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/download.py", line 147, in __call__
#9 752.2     for chunk in chunks:
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/cli/progress_bars.py", line 53, in _rich_progress_bar
#9 752.2     for chunk in iterable:
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks
#9 752.2     for chunk in response.raw.stream(
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 622, in stream
#9 752.2     data = self.read(amt=amt, decode_content=decode_content)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 560, in read
#9 752.2     with self._error_catcher():
#9 752.2   File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
#9 752.2     self.gen.throw(typ, value, traceback)
#9 752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
#9 752.2     raise ReadTimeoutError(self._pool, None, "Read timed out.")
#9 752.2 pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
#9 752.8
#9 752.8 [notice] A new release of pip is available: 23.0.1 -> 23.3.1
#9 752.8 [notice] To update, run: pip install --upgrade pip
#9 ERROR: process "/bin/sh -c apt-get update && apt-get --no-install-recommends install libgl1 libglib2.0-0 libsm6 libxrender1 libxext6  -y && pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 2
------
 > [4/4] RUN apt-get update && apt-get --no-install-recommends install libgl1 libglib2.0-0 libsm6 libxrender1 libxext6  -y && pip install --no-cache-dir -r requirements.txt:
752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 560, in read
752.2     with self._error_catcher():
752.2   File "/usr/local/lib/python3.10/contextlib.py", line 153, in __exit__
752.2     self.gen.throw(typ, value, traceback)
752.2   File "/usr/local/lib/python3.10/site-packages/pip/_vendor/urllib3/response.py", line 443, in _error_catcher
752.2     raise ReadTimeoutError(self._pool, None, "Read timed out.")
752.2 pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
752.8
752.8 [notice] A new release of pip is available: 23.0.1 -> 23.3.1
752.8 [notice] To update, run: pip install --upgrade pip
------
Dockerfile:7
--------------------
   6 |
   7 | >>> RUN apt-get update && apt-get --no-install-recommends install libgl1 libglib2.0-0 libsm6 libxrender1 libxext6  -y \
   8 | >>> && pip install --no-cache-dir -r requirements.txt
   9 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get --no-install-recommends install libgl1 libglib2.0-0 libsm6 libxrender1 libxext6  -y && pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.