Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Worked fine yesterday, but showing error for me today. #31

Open
paulaai opened this issue Jun 23, 2022 · 4 comments
Open

Worked fine yesterday, but showing error for me today. #31

paulaai opened this issue Jun 23, 2022 · 4 comments

Comments

@paulaai
Copy link

paulaai commented Jun 23, 2022

I've tried this yesterday with a couple of queries and it worked completely fine. But today it is showing some error -

Traceback (most recent call last):
  File "E:\Pyhon\bing.py", line 1, in <module>
    from bing_image_downloader import downloader
  File "C:\Users\Admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\bing_image_downloader\downloader.py", line 6, in <module>
    from bing import Bing
  File "E:\Pyhon\bing.py", line 2, in <module>
    downloader.download('apricot', limit=100,  output_dir='dataset', adult_filter_off=True, force_replace=False, timeout=60, verbose=True)
AttributeError: partially initialized module 'bing_image_downloader.downloader' has no attribute 'download' (most likely due to a circular import)

Process finished with exit code 1
@mehanalavimajd
Copy link

Installed today. Same error.

@spider853
Copy link

same here on second run,....

@gurugaurav
Copy link
Owner

@spider853 @mehanalavimajd can u please give the step to reproduce this error

@Herschel-vodemort
Copy link

Herschel-vodemort commented Jun 11, 2023

for those who still run into this issue in 2023, this fixed for me:

from bing_image_downloader.downloader import  download
download('map', limit=100,  output_dir='dataset', adult_filter_off=True, force_replace=False, timeout=60, verbose=True)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants