To install pydrive
(a Python wrapper library for the Google Drive API) on Ubuntu or Debian Linux, you can use the following steps:
sudo apt-get update sudo apt-get install -y python3-pip
This will install pip
, the Python package manager, which is required to install pydrive
.
pydrive
:pip3 install pydrive
This will install the latest version of pydrive
available from the Python Package Index (PyPI).
python3 -c "import pydrive; print(pydrive.__version__)"
This will import the pydrive
module and print the version number, indicating that it is installed and working correctly.