google-images-download icon indicating copy to clipboard operation
google-images-download copied to clipboard

patch-1 doesn't work : str() takes at most 1 argument (2 given)

Open HuilinLI opened this issue 4 years ago • 2 comments

Hi everybody,

I got a error message when I was using patch-1 (it is my first time to use google-images-download):

:************* $ googleimagesdownload --keywords "logo" Item no.: 1 --> Item name = logo Evaluating... str() takes at most 1 argument (2 given) Image objects data unpacking failed. Please leave a comment with the above error at https://github.com/hardikvasa/google-images-download/pull/298

Anyone would help? Thank you very much!

HuilinLI avatar Dec 14 '20 08:12 HuilinLI

Hi, sorry for not replying sooner.

I tested out patch-1 with the keyword "logo" and I was unable to reproduce the error.

Perhaps try reinstalling the patch with the below

git clone https://github.com/Joeclinton1/google-images-download.git
cd google-images-download && python setup.py install

Joeclinton1 avatar Dec 28 '20 20:12 Joeclinton1

@Joeclinton1 the issue is python2.7 vs python3. Installing with system default python aka python2.7 I can reproduce the error, but installing with

python3 setup.py install --user

works as expected.

ss32 avatar Feb 06 '21 16:02 ss32