wkentaro / gdown

Google Drive Public File Downloader when Curl/Wget Fails
MIT License
4.16k stars 345 forks source link

Can't upgrade #133

Closed DarrenPIngram closed 2 years ago

DarrenPIngram commented 2 years ago

It is not possible to upgrade. I'm guessing you reinstall over the top. Yet it claims there's nothing to do.

Any guidance?

di@MacPro downloads % gdown --version          
gdown 4.0.2 at /Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages
di@MacPro downloads % pip install gdown        
DEPRECATION: Configuring installation scheme with distutils config files is deprecated and will no longer work in the near future. If you are using a Homebrew or Linuxbrew Python, please see discussion at https://github.com/Homebrew/homebrew-core/issues/76621
Requirement already satisfied: gdown in /usr/local/lib/python3.9/site-packages (3.12.2)
Requirement already satisfied: requests[socks] in /Users/di/Library/Python/3.9/lib/python/site-packages (from gdown) (2.25.1)
Requirement already satisfied: filelock in /usr/local/lib/python3.9/site-packages (from gdown) (3.0.12)
Requirement already satisfied: six in /usr/local/lib/python3.9/site-packages (from gdown) (1.15.0)
Requirement already satisfied: tqdm in /usr/local/lib/python3.9/site-packages (from gdown) (4.60.0)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/di/Library/Python/3.9/lib/python/site-packages (from requests[socks]->gdown) (4.0.0)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/di/Library/Python/3.9/lib/python/site-packages (from requests[socks]->gdown) (1.26.4)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/site-packages (from requests[socks]->gdown) (2020.12.5)
Requirement already satisfied: idna<3,>=2.5 in /Users/di/Library/Python/3.9/lib/python/site-packages (from requests[socks]->gdown) (2.10)
Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.9/site-packages (from requests[socks]->gdown) (1.7.1)

di@MacPro downloads %

wkentaro commented 2 years ago

Probably you need to do like this pip install --upgrade gdown.

DarrenPIngram commented 2 years ago

Got it, thanks for the hand-hold.

DarrenPIngram commented 2 years ago

Keep forgetting the upgrade flag. For people like me with a mind of a goldfish could you add a few lines on the project's home page :)

wkentaro commented 2 years ago

A nice idea! Will be added by https://github.com/wkentaro/gdown/pull/150