Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14215

Having assertion error installing Deepface package

$
0
0

Trying to install Deepface facial recognition package using pip but I keep getting this error.

ERROR: Exception:Traceback (most recent call last):  File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 165, in exc_logging_wrapper    status = run_func(*args)  File "/usr/lib/python3/dist-packages/pip/_internal/cli/req_command.py", line 205, in wrapper    return func(self, options, args)  File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 389, in run    to_install = resolver.get_installation_order(requirement_set)  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 188, in get_installation_order    weights = get_topological_weights(  File "/usr/lib/python3/dist-packages/pip/_internal/resolution/resolvelib/resolver.py", line 276, in get_topological_weights    assert len(weights) == expected_node_countAssertionError

I was able to install other packages but this one always produces same error.Here is the package: https://github.com/serengil/deepface

Python: 3.10
Pip: 23.3.3
OS: Linux Ubuntu 22

Any help would be much appreciated.Thanks

I tried installing a previous version but same error.

Also tried to install deepface without dependencies as suggested here `AssertionError` while installing `deepface` via pip but didn't work. I get this error:

import numpy as npModuleNotFoundError: No module named 'numpy'

Viewing all articles
Browse latest Browse all 14215

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>