al descargar pip install allennlp==1.0.0 allennlp-models==1.0.0
Me enfrenté a este problema:
[6 lines of output] running bdist_wheel running build running build_py running build_ext building 'srsly.msgpack._unpacker' extension 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 srsly Failed to build thinc blis srsly ERROR: Could not build wheels for srsly, which is required to install pyproject.toml-based projects [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.He descargado: pip install -vvv torch, pip install numpy pip3 install --pre torch -fhttps://download.pytorch.org/whl/nightly/cpu/torch_nightly.html y aún no funciona
Estoy usando Python 3.10.2 win 11 pro
¿Qué tengo que hacer?
Tienes que instalar la versión de python 3.9.10 desde python.org y después de la instalación, actualiza tu pip y todo se ordenará. Es el problema en python 3.10.2... Este método está funcionando, estaba sufriendo el mismo problema instalando la tortuga, así que hice eso y se resolvió el error.
https://visualstudio.microsoft.com/visual-cpp-construir-herramientas/
Descargar e instalar o actualizar
Si está utilizando la imagen python3, esto podría ayudar
RUN apk update RUN apk add make automake gcc g++ subversion python3-devreferencia de Problemas con pip install numpy - RuntimeError: cadena de herramientas rota: no se puede vincular un programa C simple