No es posible descargar ca_anonimization_core_lg ?
Buenas, con el comando !pip install https://huggingface.co/PlanTL-GOB-ES/ca_anonimization_core_lg/resolve/main/ca_anonimization_core_lg-any-py3-none-any.whl
Me sale un error al intentar descargar este modelo:
check.warn(importable)
copying thinc_init.pxd -> build\lib.win-amd64-cpython-311\thinc
copying thinc\py.typed -> build\lib.win-amd64-cpython-311\thinc
copying thinc\backends\linalg.cpp -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\backends\numpy_ops.cpp -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\extra\search.cpp -> build\lib.win-amd64-cpython-311\thinc\extra
copying thinc\layers\sparselinear.cpp -> build\lib.win-amd64-cpython-311\thinc\layers
copying thinc\backends_init.pxd -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\backends_custom_kernels.cu -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\backends_murmur3.cu -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\backends\linalg.pxd -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\backends\linalg.pyx -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\backends\numpy_ops.pxd -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\backends\numpy_ops.pyx -> build\lib.win-amd64-cpython-311\thinc\backends
copying thinc\extra_init_.pxd -> build\lib.win-amd64-cpython-311\thinc\extra
copying thinc\extra\search.pxd -> build\lib.win-amd64-cpython-311\thinc\extra
copying thinc\extra\search.pyx -> build\lib.win-amd64-cpython-311\thinc\extra
copying thinc\layers\sparselinear.pyx -> build\lib.win-amd64-cpython-311\thinc\layers
copying thinc\extra\tests\c_test_search.pyx -> build\lib.win-amd64-cpython-311\thinc\extra\tests
creating build\lib.win-amd64-cpython-311\thinc\tests\mypy\configs
copying thinc\tests\mypy\configs\mypy-default.ini -> build\lib.win-amd64-cpython-311\thinc\tests\mypy\configs
copying thinc\tests\mypy\configs\mypy-plugin.ini -> build\lib.win-amd64-cpython-311\thinc\tests\mypy\configs
creating build\lib.win-amd64-cpython-311\thinc\tests\mypy\outputs
copying thinc\tests\mypy\outputs\fail-no-plugin.txt -> build\lib.win-amd64-cpython-311\thinc\tests\mypy\outputs
copying thinc\tests\mypy\outputs\fail-plugin.txt -> build\lib.win-amd64-cpython-311\thinc\tests\mypy\outputs
copying thinc\tests\mypy\outputs\success-no-plugin.txt -> build\lib.win-amd64-cpython-311\thinc\tests\mypy\outputs
copying thinc\tests\mypy\outputs\success-plugin.txt -> build\lib.win-amd64-cpython-311\thinc\tests\mypy\outputs
running build_ext
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for thinc
Failed to build thinc
ERROR: Could not build wheels for thinc, which is required to install pyproject.toml-based projects
[notice] A new release of pip is available: 23.2.1 -> 24.0
[notice] To update, run: python.exe -m pip install --upgrade pip
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.
note: This error originates from a subprocess, and is likely not a problem with pip.
Alguien podria ayudarme o decirme como puedo descargar satisfactoriamente este modelo? gracias por cualquier ayuda
¿Ha probado a "clonar" el repositorio? O simplemente descargar el archivo desde la sección 'files and versions'
Quizá el archivo deba estar localmente, en su equipo.
https://www.geeksforgeeks.org/how-to-install-a-python-package-with-a-whl-file/
Si, lo acabo de probar, esto que comentas, y sale el mismo error... Gracias por cualquier ayuda o sugerencia
Hola!
Qué versión de python estás usando?
Por otro lado, el modelo debe funcionar en el entorno que describimos aquí https://github.com/TeMU-BSC/AnonymizationPipeline usando docker o venv.
Un saludo
Buenos días,
gracias por responder, mi versión de python es:
(mi_entorno) (base) C:\Users\ssuarez>python --version
Python 3.11.8
Con venv, tambien me da error. Pero una cosa, la instalación del modelo español (PlanTL-GOB-ES/es_anonimization_core_lg) en cambio si me ha funcionado bien, es decir se ha instalado bien y lo he podido utilizar, pero me interesaría poder instalar el modelo catalan... Gracias por cualquier ayuda,