Tensorboard:未找到TensorFlow安装



我正在尝试使用tensorboard,但我遇到了以下错误:找不到TensorFlow安装-使用减少的功能集运行。

我试着遵循以下步骤:tensorboard:找不到命令,但它对我没有帮助(即使我做cd tensorboard和python main.py,我仍然有这个错误(

Tensorboard将与Tensorflow一起自动安装。

#create virtual environment
python -m venv --system-site-packages .venv
#Activate env
.venvScriptsactivate

#Install Tensorflow
pip install tensorflow
#verify the installation: show packages installed within the virtual environment
pip list

输出

tensorboard                   2.5.0              
tensorboard-data-server       0.6.1              
tensorboard-plugin-wit        1.8.0              
tensorflow                    2.5.0              
tensorflow-datasets           4.0.1              
tensorflow-estimator          2.5.0  

最新更新