archives:textgenrnn_install
Ceci est une ancienne révision du document !
Installation de textgenrnn
Sur Debian 10 Buster, textgenrnn demande une version de tensorflow < 2.1.0
Problème
sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl
Mais python3-wrapt est bloqué par debian
sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux Attempting uninstall: wrapt Found existing installation: wrapt 1.10.11 ERROR: Cannot uninstall 'wrapt'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
Solution
Dans synaptic, chercher python3-wrapt, sélectionner le paquet, puis dans Paquet –> Décocher Installé automatiquement, puis le désinstaller. D'autres paquets seront supprimés, pas grave, les réinstaller après la mise à jour de tensorflow et recocher Installé automatiquement.
sudo pip3 install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow_cpu-2.1.0-cp37-cp37m-manylinux2010_x86_64.whl sudo pip3 install textgenrnn
sudo pip3 install --upgrade textgenrnn Installing collected packages: tensorflow-estimator, wrapt, tensorflow, textgenrnn Attempting uninstall: tensorflow-estimator Found existing installation: tensorflow-estimator 2.1.0 Uninstalling tensorflow-estimator-2.1.0: Successfully uninstalled tensorflow-estimator-2.1.0 Attempting uninstall: tensorflow Found existing installation: tensorflow 1.13.1 Uninstalling tensorflow-1.13.1: Successfully uninstalled tensorflow-1.13.1 Successfully installed tensorflow-2.2.0 tensorflow-estimator-2.2.0 textgenrnn-2.0.0 wrapt-1.12.1
archives/textgenrnn_install.1591636919.txt.gz · Dernière modification : 2020/06/08 17:21 de serge