1adrianb / 1adrianb/face-alignment
error importing face_alignment
- Lenguaje dominante
- Python
- Estrellas
- 7.5k
- Forks
- 1.4k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
Hello @1adrianb,
I was trying to import the package and not sure why this is happening. I think is from the scikit-image side but then there might be a version requirement to set to make it still work
```
import face_alignment
lib/python3.8/site-packages/face_alignment/__init__.py:7: in
from .api import FaceAlignment, LandmarksType, NetworkSize
lib/python3.8/site-packages/face_alignment/api.py:4: in
from skimage import io
lib/python3.8/site-packages/skimage/__init__.py:135: in
from .data import data_dir
lib/python3.8/site-packages/skimage/data/__init__.py:64: in
from pooch.utils import file_hash
E ImportError: cannot import name 'file_hash' from 'pooch.utils' (/lib/python3.8/site-packages/pooch/utils.py)
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
The error occurs when importing face_alignment due to a missing 'file_hash' import from pooch.utils. Check the dependencies in setup.py or requirements.txt, particularly the versions of scikit-image and pooch. Look at the import chain in face_alignment/api.py and skimage/__init__.py to see which version of pooch is compatible. Test by installing a specific version of pooch that provides file_hash.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- python, pytorch, scikit-learn
- Área
- backend, tooling
- Tipo de issue
- Error
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 65/100