簡體   English   中英

即使我認為我滿足要求,也找不到滿足要求 tensorflow==1.15 的版本?

[英]Could not find a version that satisfies the requirement tensorflow==1.15 even though I think I meet them?

我正在關注一個教程,為此我使用了 pip install tensorflow 。 現在我意識到這些年來事情發生了變化,並且事情的名稱不同,因為我收到錯誤AttributeError: module 'tensorflow' has no attribute 'gfile'我聽說這是因為 tensorflow 1.x 中的事情過去有所不同。 現在我想嘗試使用pip install tensorflow==1.15但我收到錯誤

ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: 2.2.0rc1, 2.2.0rc2, 2.2.0rc3, 2.2.0rc4, 2.2.0, 2.2.1, 2.2.2, 2.3.0rc0, 2.3.0rc1, 2.3.0rc2, 2.3.0, 2.3.1, 2.3.2, 2.4.0rc0, 2.4.0rc1, 2.4.0rc2, 2.4.0rc3, 2.4.0rc4, 2.4.0)
ERROR: No matching distribution found for tensorflow==1.15 

我真的不知道為什么? 有沒有其他人經歷過這個?

我猜您正在嘗試使用python 3.8 ,當 tensorflow 版本為1.15時,該版本不受官方支持。

您可以選擇 python 版本在3.53.72.7之間,您的問題可以得到解決。

您還可以在pypi上查看下載文件,對於tensorflow 1.15沒有可用於 cp38 的文件。

注意:如果使用的是 32 位版本,則需要 64 位版本的 Python。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM