WARNING: The script tensorboard.exe is installed in…
- User
WARNING: The script tensorboard.exe is installed in 'C:\Users\Kikin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\Scripts' which is not on PATH. Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location. ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\Kikin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\tensorflow\include\external\com_github_grpc_grpc\src\core\ext\filters\client_channel\lb_policy\grpclb\client_load_reporting_filter.h' HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths
- Assistant
- User
en francais
- Assistant
- User
ERROR: Could not install packages due to an OSError: [Errno 2] No such file or directory: 'C:\Users\Kikin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\tensorflow\include\external\com_github_grpc_grpc\src\core\ext\filters\client_channel\lb_policy\grpclb\client_load_reporting_filter.h' HINT: This error might have occurred since this system does not have Windows Long Path support enabled. You can find information on how to enable this at https://pip.pypa.io/warnings/enable-long-paths
- Assistant
L'erreur que vous rencontrez indique que le processus d'installation ne peut pas compléter l'installation des packages Python (dans ce cas, TensorFlow) à cause d'un chemin d'accès au fichier qui dépasse la limitation de longueur standard des chemins de Windows, qui est de 260 caractères.
Pour résoudre ce problème, vous avez besoin d'activer le support des chemins longs sous Windows. Voici les étapes pour le faire :
Via l'Éditeur de Stratégie de Groupe Locale (Group Policy Editor) - uniquement pour les versions de Windows qui le possèdent :