trinhdrew1418 / gphotos-cli

A command line application for interfacing with google photos written in Go
Apache License 2.0
27 stars 2 forks source link

Installation fails with "package google.golang.org/api/gensupport: cannot find package "google.golang.org/api/gensupport"" #1

Open hanshuebner opened 4 years ago

hanshuebner commented 4 years ago

I'm trying to install gphotos-cli on macOS with go1.13.6, following the instructions from the README:

% go get -u github.com/trinhdrew1418/gphotos-cli
package google.golang.org/api/gensupport: cannot find package "google.golang.org/api/gensupport" in any of:
    /usr/local/Cellar/go/1.13.6/libexec/src/google.golang.org/api/gensupport (from $GOROOT)
    /Users/hans/go/src/google.golang.org/api/gensupport (from $GOPATH)

I could not find an obvious fix for this issue and it seems that the dependency on gensupport is the problem, as that library seems not to be part of the documented interface of the Google Photos API (https://github.com/googleapis/google-api-go-client/issues/398), but I don't have the Go chops to fix this myself. A fix would be greatly appreciated! Thanks!