я написал в cmd: pip install tenorflow == 2.1.0 - пользователь правильно загрузит все пакеты, но в конце скажет:
WARNING: The scripts estimator_ckpt_converter.exe, saved_model_cli.exe, tensorboard.exe, tf_upgrade_v2.exe, tflite_convert.exe, toco.exe and toco_from_protos.exe are installed in 'C:\Users\franc\AppData\Roaming\Python\Python37\Scripts' which is not on PATH.
, а затем:
Successfully installed gast-0.2.2 tensorflow-2.1.0 tensorflow-estimator-2.1.0``
в любом случае, если я напишу код и попробую использовать tenorflow, он не будет работать
import tensorflow as tf
hello = tf.constant('Hello, TensorFlow!')
sess = tf.Session()
print(sess.run(hello))
ошибка, которую я получаю:
Using TensorFlow backend.
ERROR:root:Internal Python error in the inspect module.
Below is the traceback from this internal error.
Traceback (most recent call last):
File "c:\users\franc\appdata\local\programs\python\python37\lib\site-packages\tensorflow_core\__init__.py", line 42, in <module>
from . _api.v2 import audio
ImportError: cannot import name 'audio' from 'tensorflow_core._api.v2' (C:\Users\franc\AppData\Roaming\Python\Python37\site-packages\tensorflow_core\_api\v2\__init__.py)