dvc: GDrive remotes not working (missing pydrive) [MacOS]
$ dvc version
DVC version: 0.82.2
Python version: 3.7.6
Platform: Darwin-19.0.0-x86_64-i386-64bit
Binary: False
Package: brew
Cache: reflink - supported, hardlink - supported, symlink - supported
$ dvc push
ERROR: failed to push data to the cloud - URL 'gdrive://root' is supported but requires these missing dependencies: ['pydrive2']. If you have installed dvc using pip, choose one of these options to proceed:
1) Install specific missing dependencies:
pip install pydrive2
2) Install dvc package that includes those missing dependencies:
pip install 'dvc[gdrive]'
3) Install dvc package with all possible dependencies included:
pip install 'dvc[all]'
If you have installed dvc from a binary package and you are still seeing this message, please report it to us using https://github.com/iterative/dvc/issues. Thank you!
Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help!
P.s. is there a typical reason why DVC command outputs have extra blank spaces? I also saw some when configuring the gdrive remote with dvc remote modify
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (17 by maintainers)
@jorgeorpinel it seems that
pydrive2
package still is not available from the same Python environment you are runningdvc
from.Makes sense. I don’t remember if I tried uninstalling with
brew
before workarounds. Oh wellSweet, thanks Ruslan. Haven’t gotten back to testing GDrive stuff but will let you know if I have any other troubles. And OK about the known issue of extra blank lines.
https://github.com/httplib2/httplib2/releases/tag/v0.17.0 - this might be relevant, 👀
@efiop yes, I know that the problem was caused by that change … trying to understand why first.
The one over “having troubles”? It is a known issue, just didn’t get to it yet. Or do you mean others too?
@jorgeorpinel Sent a PR https://github.com/Homebrew/homebrew-core/pull/49361 . Thanks a lot for the feedback!
@jorgeorpinel Well, but your package is coming from brew, so no wonder pip installs don’t; work 🙂 Looks like we’ve forgotten to include pydrive into the brew package, will send a patch ASAP. For now, uninstall from brew and install dvc from pip and it should start working 🙂