![](/img/trans.png)
[英]Jupyter environment error, loading different tensorflow version than installed
[英]Installed Version of Tensorflow different from what I see on Jupyter
我最近通過終端安裝了升級版的TensorFlow,執行命令:“pip install --upgrade tensorFlow --user”。
但是,我在終端中看到:“要求已經滿足:tensorflow in c:\users\appdata\local\programs\python\python38\lib\site-packages (2.9.1)”,但是當我檢查 tensorflow 的版本時在我的 Jupyter 中,我得到了 tensorflow 版本 2.4.0。
有關如何在 Jupyter 中獲取更新版本的 Tensorflow 的任何建議?
編輯:我也有 Python 3.8.7
您可能會在兩個界面中看到不同的版本,因為TensorFlow安裝在不同的位置。
如果您想在當前工作的 jupyter notebook 上安裝升級的 TensorFlow 版本,那么:
anaconda command prompt
,並使用相同的代碼安裝 tensorflow 並檢查 TensorFlow 版本。或者
jupyter notebook
單元中運行相同的代碼來安裝它。!pip install --upgrade tensorFlow --user
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.