EscVM / OIDv4_ToolKit

Download and visualize single or multiple classes from the huge Open Images v4 dataset
GNU General Public License v3.0
798 stars 633 forks source link

ERROR 'aws' is not recognized as an internal or external command, operable program or batch file. #106

Closed CemEntok closed 1 year ago

CemEntok commented 1 year ago

Python 3.7.11 | miniconda Command Prompt | Windows 10 Hello, I am having a recent error which is given in the title of issue and can be seen in following figure:

image

It is not downloading images, just creating empty folder and an empty label folder inside of Class folder. How can we solve this issue? Is there anyone who has already faced with this?

Here is the command I am using:

python main.py downloader --classes Knife --type_csv test --image_IsDepiction 0 --limit 6

zahir2000 commented 1 year ago

Dear @CemEntok

I had the same issue. I believe it was due to the problem with the python version.

I tried with python=3.7.2 (conda environment) and it's working as intended.

Edit (in case I come back here again): you also need to run pip install awscli

CemEntok commented 1 year ago

@zahir2000 Thank you! It really works when I have downgraded my Python version from 3.7.11 to 3.7.2.