2

I'm getting the below error while trying to create a back-up:

BackendException: PyDrive backend requires PyDrive installation.
Please read the manpage for setup details.Exception:
cannot import name 'scopes_to_string' from 'oauth2client._helpers' (/home/raul/.local/lib/python3.10/site-packages/oauth2client/_helpers.py)

I'm using:

  • Ubuntu 22.04.3 LTS
  • GNOMES version 42.9
CPPUIX
  • 137

2 Answers2

1

For me manually installing pydrive was enough:

sudo apt install python3-pydrive
RamiR
  • 111
0

I had same problem. I solved by executing following commands:

  1. apt install -y python3-pip
  2. apt install python3-pydrive2
  3. pip3 install pydrive2 --break-system-packages

--break-system-packages This method is not recommended, because you may find yourself with mysterious broken installations of Python packages months or years later, after you've forgotten that you used --break-system-packages and installed other conflicting Python packages. Copied from: https://askubuntu.com/a/1469197/602623

Ashim
  • 105