- This topic has 1 reply, 2 voices, and was last updated 2 years, 8 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › Fórum TensorFlow 2.0: Um Guia Completo sobre o novo TensorFlow › Não está importando a biblioteca
Tagged: Do TensorFlow 1.x para o TensorFlow 2.0 – Constantes variáveis e tensores (Básico do TensorFlow)
Quando rodo no colab:
!pip install tensorflow-gpu==1.15 #Ignorar mensagem de erro
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.15 (from versions: 2.8.0rc0, 2.8.0rc1, 2.8.0, 2.8.1, 2.8.2, 2.8.3, 2.8.4, 2.9.0rc0, 2.9.0rc1, 2.9.0rc2, 2.9.0, 2.9.1, 2.9.2, 2.9.3, 2.10.0rc0, 2.10.0rc1, 2.10.0rc2, 2.10.0rc3, 2.10.0, 2.10.1, 2.11.0rc0, 2.11.0rc1, 2.11.0rc2, 2.11.0, 2.12.0) ERROR: No matching distribution found for tensorflow-gpu==1.15
import tensorflow as tf
—————————————————————————
ModuleNotFoundError Traceback (most recent call last)
<ipython-input-9-64156d691fe5> in <cell line: 1>()
—-> 1 import tensorflow as tf
ModuleNotFoundError: No module named ‘tensorflow’
—————————————————————————
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
“Open Examples” button below.
—————————————————————————
Colab atualizou para python 3.0. Por isso que eu sempre digo, não use coisa de terceiro, o bloco de notas (notepad++) e compilador nunca falha (desde 2008)! Enfim, tem alguma previsão para atualização?
Olá Diogo, consegue fazer um teste com a versão 2.8.0rc0?
Fabio