簡體   English   中英

我該如何解決這些問題? 錯誤:找不到版本

[英]How do I solve these problems? ERROR: Could not find a version

C:\Users\isato\Desktop>pip install ImageDataGenerator

ERROR: Could not find a version that satisfies the requirement imageDataGenerator (from version: none) 
ERROR: No matching distribution found for ImageDataGenerator

我該如何解決? 感謝您的理解!

您正在嘗試將ImageDataGenerator用作獨立模塊,而它實際上是Keras的一部分,因此您必須安裝Keras才能使用Keras的模塊ImageDatagenerator

安裝Keras和進口Imagedatagenerator使用在你的代碼PIPPIP 3

沒有GPU

pip install tensorflow keras

使用GPU

pip install tensorflow-gpu keras

這假設您已經安裝了conda ,或者您可能需要安裝操作系統級別的依賴項 - 例如對於 Ubuntu

sudo apt update
sudo apt install python3-dev python3-pip python3-venv

每當您想安裝新軟件包時,請使用pypi.org網站進行檢查。

https://pypi.org/project/h5imagegenerator/這可能是您要安裝的模塊。 如果您遇到相同的錯誤,只需 google 模塊名稱后跟 PyPI,它就會為您提供 PyPI 鏈接,並會顯示用於安裝模塊的名稱的確切名稱。

暫無
暫無

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

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