Closed Kallol666 closed 1 year ago
Can you try
import gdown
print(gdown.__version__)
You are importing gdown from within gdown.py Rename your python file and it should work.
@RoboticLi is correct. I had the same issue and changing the program name fixed the issue.
@RoboticLi @duckduckgrayduck Thanks!
Hi,
I am trying to download a good drive folder using python
import gdown url = "https://drive.google.com/drive/folders/1gAh1nPhT-8Vw0fbinnWpM6m7gCpHYyLi?usp=sharing" gdown.download_folder(url, quiet=True, use_cookies=False)
The error I am getting
Traceback (most recent call last): File "C:\Users\mohar\PycharmProjects\pythonProject1\gdown.py", line 1, in
import gdown
File "C:\Users\mohar\PycharmProjects\pythonProject1\gdown.py", line 12, in
gdown.download_folder(url, quiet=True, use_cookies=False)
AttributeError: partially initialized module 'gdown' has no attribute 'download_folder' (most likely due to a circular import)
I installed using the following command
pip install gdown -U --no-cache-dir
Any solution? Thank you