PROBLEMA
En ArcGIS Pro, los intentos de clonar un entorno Python fallan y se devuelve el siguiente error:
Error:
InvalidArchiveError("Error with archive C:\\Users\\<username>\\AppData\\Local\\ESRI\\conda\\pkgs\\tensorflow-base-2.7.0-py39_cuda11.1_cudnn8.1_6.tar.bz2. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: [WinError 206] The filename or extension is too long: 'C:\\\\Users\\\\<username>\\\\AppData\\\\Local\\\\ESRI\\\\conda\\\\pkgs\\\\tensorflow-base-2.7.0-py39_cuda11.1_cudnn8.1_6\\\\Lib\\\\site-packages\\\\tensorflow\\\\include\\\\external\\\\cudnn_frontend_archive\\\\_virtual_includes\\\\cudnn_frontend\\\\third_party\\\\cudnn_frontend\\\\include\\\\contrib\\\\nlohmann\\\\json'")

Dependiendo de la causa, se aplican las soluciones alternativas proporcionadas.
Asegúrese de que el nombre del archivo y la ruta no superen la longitud máxima permitida en Windows de 260 caracteres. Consulte Microsoft Learn: Limitación de la longitud máxima de la ruta para obtener más información.
Warning: The instructions below include making changes to essential parts of the operating system. Esri recommends performing a backup of the operating system and files, including the registry, before proceeding. Esri cannot guarantee results from incorrect modifications while following these instructions. Exercise caution. Consult a qualified computer systems professional if necessary.
conda clean –-all




Note: Alternatively, perform a clean uninstall and reinstall of ArcGIS Pro before cloning a new Python environment.
Id. de artículo: 000032633
Obtener ayuda de expertos en ArcGIS
Empieza a chatear ahora