System Information
Python 3.6.3 |Anaconda, Inc.| (default, Oct 13 2017, 12:02:49)
[GCC 7.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import tensorflow as tf
/home/ronald/anaconda3/lib/python3.6/site-packages/h5py/__init__.py:34: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
>>> print(tf.__version__)
2.0.0-alpha0
Beschreibe das Problem
Ich versuche, auf Beta1 zu aktualisieren mit:
install tensorflow==2.0.0-beta1
am ende bekomme ich:
Installing collected packages: wrapt, tensorflow
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.
Wie man es repariert?
Ich habe es behoben durch:
conda update --all
pip install --upgrade tensorflow==2.0.0-beta1
Bei mir hat es nicht funktioniert. Bekomme immer noch diesen Fehler.
Bearbeiten: Behoben, indem zuerst Tensorflow 1.14 installiert und dann auf Version 2.0 aktualisiert wurde
es funktioniert für mich. Dankeschön
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Es funktioniert für mich. Dankeschön
Funktioniert bei mir, danke!
Bei mir hat es nicht funktioniert. Bekomme immer noch diesen Fehler.
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Bei mir hat es auch funktioniert.
conda update --all
pip installieren tensorflow
Bei mir hat es nicht funktioniert. Bekomme immer noch diesen Fehler.
Versuchen
conda update wrapt
conda update --all
pip installieren tensorflow
das hat bei mir funktioniert!!!!
PS: Ich habe einen Neustart erhalten, nachdem die erste Zeile fertig war.
ich habe windows 10.
Obige Lösungen funktionieren bei mir nicht. Also entferne ich den `wrapt' durch die Conda-Operation.
conda remove wrapt
Und es hat funktioniert.
pip install tensorflow
Umgebung: Windows 10
es funktioniert für mich. Dankeschön
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Es funktioniert für mich. Dankeschön
einverstanden!
Keine der Lösungen hat bei mir funktioniert.
Ich bekomme immer 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.
und mit conda remove wrapt
bekomme ich RemoveError: 'setuptools' is a dependency of conda and cannot be removed from conda's operating environment.
Umgebung: Mac OS 10.14.5
Obige Lösungen funktionieren bei mir nicht. Also entferne ich den `wrapt' durch die Conda-Operation.
conda remove wrapt
Und es hat funktioniert.
pip install tensorflow
Umgebung: Windows 10
Das hat bei mir funktioniert.
Tensorflow scheint Probleme zu haben, mit anderen Paketen freundlich zu sein. Folgendes hat für mich funktioniert, ausgehend von einer sauberen Conda-Umgebung:
pip install --upgrade pip
pip installieren sechs>=1.12.0
pip installieren httplib2==0.12.0
pip uninstall -y setuptools
pip install setuptools>=41.0.0
pip install tensorflow==1.14.0
pip install tfx
pip install pylint
Diese Sequenz beseitigt Wrapt- sowie Tensorboard-Warnungen und Google-Apitools-Fehler.
Das hat bei mir funktioniert. Ich verwende Jupyter Notebook (OD: Ubuntu 16.0) alle Befehle, die vom Notebook ausgeführt werden:
Bei der Installation von Tensor Flow bekam ich folgende zwei Fehler. Die Fehler und Lösungen sind:
FEHLER 1: 'wrapt' kann nicht deinstalliert werden. Es ist ein von Distutils installiertes Projekt und daher können wir nicht genau bestimmen, welche Dateien dazu gehören, was zu einer nur teilweisen Deinstallation führen würde.
Lösung: Führen Sie folgenden Befehl aus
!conda Wrapt entfernen --ja
FEHLER 2: Tensorboard 1.14.0 hat Anforderungs-Setuptools>=41.0.0
Lösung: Führen Sie den folgenden Befehl aus, um diesen Fehler zu beheben
!pip uninstall -y setuptools
!pip install setuptools>=41.0.0
Installieren Sie nun tensorflow:
!pip install tensorflow
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Für mich geht das. Vielen Dank.
conda update --all
pip installieren tensorflow
Für mich geht das. Danke schön.
Bei mir hat es nicht funktioniert. Bekomme immer noch diesen Fehler.
Versuchen
conda update wrapt
Bei mir hat es nicht funktioniert. Bekomme immer noch diesen Fehler.
Versuchen
conda update wrapt
Für mich geht das. Dankeschön.
Bei mir hat es nicht funktioniert. Bekomme immer noch diesen Fehler.
Versuchen
conda update wrapt
Bei mir hat es funktioniert. Danke vielmals.
Obige Lösungen funktionieren bei mir nicht. Also entferne ich den `wrapt' durch die Conda-Operation.
conda remove wrapt
Und es hat funktioniert.
pip install tensorflow
Umgebung: Windows 10
Danke @NoSyu das funktioniert bei mir
Das hat bei mir funktioniert
pip install wrapt --upgrade --ignore-installed
pip installieren tensorflow
Das hat bei mir funktioniert
pip install wrapt --upgrade --ignore-installed
pip installieren tensorflow
Das hat bei mir auch funktioniert.
pip install wrapt --upgrade --ignore-installed
pip installieren tensorflow
Das hat bei mir auch funktioniert, Danke.
Hat wie Charme funktioniert
Obige Lösungen funktionieren bei mir nicht. Also entferne ich den `wrapt' durch die Conda-Operation.
conda remove wrapt
Und es hat funktioniert.
pip install tensorflow
Umgebung: Windows 10
bei mir funktioniert es, vielen dank!
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Danke..Es hat bei mir funktioniert.
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
funktioniert bei mir auch!!!!
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Hat bei mir auch funktioniert
Bei mir hat es nicht funktioniert. Bekomme immer noch diesen Fehler.
Bearbeiten: Behoben, indem zuerst Tensorflow 1.14 installiert und dann auf Version 2.0 aktualisiert wurde
Dies ist das einzige, was bei mir funktioniert hat. Vielen Dank.
Ich habe versucht, 'wrapt' zu entfernen und tensorflow v2.0 zu installieren, und dann hat numpy einen ähnlichen Fehler ausgegeben.
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
bei mir hat es auch funktioniert, danke.
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
@rickykim93 du bist großartig... ich liebe dich...
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Hallo, ich hatte dieses Problem in Raspberry Pi und Ihr Verfahren hat bei mir funktioniert.
Dankeschön.
Obige Lösungen funktionieren bei mir nicht. Also entferne ich die
wrapt' by conda operation.
conda remove wraptAnd, it worked.
pip install tensorflow`
Umgebung: Windows 10Das hat bei mir funktioniert.
Das hat bei mir auch funktioniert. Umgebung: Mac OS 10.14.6
obige Problemlösung
Wie man es repariert?
wenn der Befehl "pip install tensorflow" nicht funktioniert ...
Versuchen Sie "conda aktualisieren --upgrade all"
dann "conda install tensorflow" das wird definitiv funktionieren.
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Tolle Lösung.
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Danke vielmals,
es funktioniert für mich und kann TensorFlow und keras installieren
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Funktioniert bei mir, danke :)
Für mich geht das.Danke
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Für mich geht das.Danke
ich auch
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Das funktioniert bei mir, danke!
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
hat funktioniert...super..danke
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Das funktioniert für mein Windows 8.1
Ich wurde jedoch gebeten, ein Upgrade des Pip in Betracht zu ziehen.
Und ich habe es zuerst getan mit:
python -m pip install --upgrade pip
Vielen Dank!
pip install wrapt --upgrade --ignore-installed
pip installieren tensorflow
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Das hat bei mir auch auf meinem Mac funktioniert, Danke.
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Vielen Dank! Das hat mich gerettet.
Ich habe es behoben durch:
conda update --all pip install --upgrade tensorflow==2.0.0-beta1
Das hat bei mir funktioniert
conda update --all
pip installieren tensorflow
Das hat bei mir funktioniert
Umgebung: Mac OS 10.14.6
Probiere Conda von der Anaconda-Eingabeaufforderung aus, sonst funktioniert es nicht
Das hat bei mir auf einem Mac OS 10.14 funktioniert. Laufen im Terminal.
pip install wrapt --upgrade --ignore-installed
pip install tensorflow --upgrade
Ich habe es auch behoben, indem ich es einfach ausgeführt habe
conda update wrapt
Ich denke, dies vermeidet andere unerwünschte Upgrades von conda
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
@rickykim93 du bist großartig... ich liebe dich...
Das hat bei mir auch funktioniert. Fantastisch !!!
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
das hat bei mir funktioniert.
vielen dank an die genialen entwickler
pip install wrapt --upgrade --ignore-installed pip install tensorflow --upgrade
So nett! das hat bei mir auch unter Ubunto funktioniert :)
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Das hat bei mir auch funktioniert! Vielen Dank!
Meine Umgebung ist Windows 10
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
das funktioniert für mich, Linux64, python3.7, mit pip20.0.2 unter conda selbstdefinierter Umgebung
Von allen hier genannten Lösungen. Dieser hier ist der einzige, der bei mir funktioniert hat:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Das hat auf dem Mac funktioniert
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow
Ich habe dies versucht und der Tensorflow wurde erfolgreich installiert, aber ich hatte einen Fehler, als ich müde war, ihn zu verwenden. Als ich es versucht habe
pip install --upgrade tensorflow==2.0.0-beta1
und danach funktioniert es gut!
conda deinstallieren Wrapt
pip installieren tensorflow
Danke Mann, das hat bei mir funktioniert!
Funktioniert für Ubuntu 16.04 x86_64
Wenn ich den Befehl "pip install tensorflow-gpu==1.15" ausführe, erhalte ich den Fehler "Vorhandene Installation gefunden: wrapt 1.10.11 ERROR: Cannot deinstall 'wrapt'".
meine Lösung:
wenn Sie "pip install tensorflow-gpu==1.15" nicht erfolgreich ausführen können. Vielleicht müssen Sie zuerst pip-18.1 auf pip-20.0 aktualisieren, indem Sie "python -m pip install --upgrade pip setuptools" verwenden.
Das hat bei mir funktioniert. Ich verwende Jupyter Notebook (OD: Ubuntu 16.0) alle Befehle, die vom Notebook ausgeführt werden:
Bei der Installation von Tensor Flow bekam ich folgende zwei Fehler. Die Fehler und Lösungen sind:
FEHLER 1: 'wrapt' kann nicht deinstalliert werden. Es ist ein von Distutils installiertes Projekt und daher können wir nicht genau bestimmen, welche Dateien dazu gehören, was zu einer nur teilweisen Deinstallation führen würde.Lösung: Führen Sie folgenden Befehl aus
!conda Wrapt entfernen --jaFEHLER 2: Tensorboard 1.14.0 hat Anforderungs-Setuptools>=41.0.0
Lösung: Führen Sie den folgenden Befehl aus, um diesen Fehler zu beheben
!pip uninstall -y setuptools
!pip install setuptools>=41.0.0Installieren Sie nun tensorflow:
!pip install tensorflow
Bei mir hat es funktioniert, danke
Bei mir hat es auch funktioniert. Wirklich dankbar für die Bereitstellung solcher Details. Könnten Sie jedoch bitte nähere Angaben zu dem Problem machen? Warum können wir "wrapt" nicht deinstallieren, ohne alle Pakete und Bibliotheken zu aktualisieren? @Elmit2015
Konversation sperren, um einen Stream von "es funktioniert" zu verhindern
Hilfreichster Kommentar
Bei mir hat das funktioniert:
pip install wrapt --upgrade --ignore-installed
pip install tensorflow