Open TurnOffNOD opened 4 years ago
错误一样,我是Termux
同上的问题, go get -v github.com/iawia002/annie@0.10.0
可以正常安装。
same err 4 v0.10.1 # #
同上的问题,
go get -v github.com/iawia002/annie@0.10.0
可以正常安装。
问题依旧
Same error when trying to install annie.
λ go get github.com/iawia002/annie
go: downloading github.com/iawia002/annie v0.0.0-20200710094659-7d7e48200139
go: github.com/iawia002/annie upgrade => v0.0.0-20200710094659-7d7e48200139
go: downloading github.com/fatih/color v1.7.0
go: downloading github.com/tidwall/gjson v1.3.2
go: downloading github.com/robertkrimen/otto v0.0.0-20191219234010-c382bd3c16ff
go: downloading github.com/rylio/ytdl v0.6.2
go: downloading github.com/MercuryEngineering/CookieMonster v0.0.0-20180304172713-1584578b3403
go: downloading github.com/PuerkitoBio/goquery v1.4.1
go: downloading github.com/tidwall/pretty v1.0.0
go: downloading github.com/rs/zerolog v1.16.0
go: downloading github.com/cheggaaa/pb v1.0.25
go: downloading golang.org/x/sys v0.0.0-20191104094858-e8c54fb511f6
go: downloading github.com/tidwall/match v1.0.1
go: downloading github.com/mattn/go-runewidth v0.0.6
go: downloading github.com/mattn/go-colorable v0.0.9
go: downloading github.com/andybalholm/cascadia v1.0.0
go: downloading golang.org/x/net v0.0.0-20190620200207-3b0461eec859
go: downloading gopkg.in/sourcemap.v1 v1.0.5
# github.com/iawia002/annie/extractors/youtube
d:\projects\go\pkg\mod\github.com\iawia002\annie@v0.0.0-20200710094659-7d7e48200139\extractors\youtube\youtube.go:128:20: undefined: ytdl.DefaultClient
d:\projects\go\pkg\mod\github.com\iawia002\annie@v0.0.0-20200710094659-7d7e48200139\extractors\youtube\youtube.go:196:18: undefined: ytdl.DefaultClient
有解决办法吗?我也遇到同样的问题了
Facing similar issue here
go: github.com/iawia002/annie upgrade => v0.0.0-20200727102645-67298d55aaf4
# github.com/iawia002/annie/extractors/youtube
../pkg/mod/github.com/iawia002/annie@v0.0.0-20200727102645-67298d55aaf4/extractors/youtube/youtube.go:128:20: undefined: ytdl.DefaultClient
../pkg/mod/github.com/iawia002/annie@v0.0.0-20200727102645-67298d55aaf4/extractors/youtube/youtube.go:196:18: undefined: ytdl.DefaultClient
cd ~
go get github.com/iawia002/annie
cd ~/go/pkg/mod/github.com/iawia002/annie@v0.0.0-20200727102645-67298d55aaf4/extractors
go get github.com/iawia002/annie
is ok.
After the 1st go get
, the same error is shown. Then run go get
in that different path. It prints
go: downloading github.com/mihaiav/ytdl v0.6.3-0.20200510100116-5f2bf8b4fec0
, no error prompted. And a new executable annie
is generated in $GOPATH/bin/
. I download videos by that annie
and everything is fine.
So it seems that github.com/mihaiav/ytdl
is skipped and not downloaded when running go get
at 1st time.
cd ~ go get github.com/iawia002/annie cd ~/go/pkg/mod/github.com/iawia002/annie@v0.0.0-20200727102645-67298d55aaf4/extractors go get github.com/iawia002/annie
is ok.
After the 1st
go get
, the same error is shown. Then rungo get
in that different path. It printsgo: downloading github.com/mihaiav/ytdl v0.6.3-0.20200510100116-5f2bf8b4fec0
, no error prompted. And a new executable
annie
is generated in$GOPATH/bin/
. I download videos by thatannie
and everything is fine.So it seems that
github.com/mihaiav/ytdl
is skipped and not downloaded when runninggo get
at 1st time.
works! Thanks a lot
cd ~ go get github.com/iawia002/annie cd ~/go/pkg/mod/github.com/iawia002/annie@v0.0.0-20200727102645-67298d55aaf4/extractors go get github.com/iawia002/annie
is ok.
After the 1st
go get
, the same error is shown. Then rungo get
in that different path. It printsgo: downloading github.com/mihaiav/ytdl v0.6.3-0.20200510100116-5f2bf8b4fec0
, no error prompted. And a new executable
annie
is generated in$GOPATH/bin/
. I download videos by thatannie
and everything is fine.So it seems that
github.com/mihaiav/ytdl
is skipped and not downloaded when runninggo get
at 1st time.
it works! Thanks.
cd ~ go get github.com/iawia002/annie cd ~/go/pkg/mod/github.com/iawia002/annie@v0.0.0-20200727102645-67298d55aaf4/extractors go get github.com/iawia002/annie
is ok.
After the 1st
go get
, the same error is shown. Then rungo get
in that different path. It printsgo: downloading github.com/mihaiav/ytdl v0.6.3-0.20200510100116-5f2bf8b4fec0
, no error prompted. And a new executable
annie
is generated in$GOPATH/bin/
. I download videos by thatannie
and everything is fine.So it seems that
github.com/mihaiav/ytdl
is skipped and not downloaded when runninggo get
at 1st time.
I had the same issue, I tried to follow your fix but now I'm still having an issue when running your 2nd command on go get github.com/iawia002/annie
:
# github.com/iawia002/annie/cookier
go/src/github.com/iawia002/annie/cookier/cookier.go:15:36: launcher.NewBrowser().LookPath undefined (type *launcher.Browser has no field or method LookPath)
go/src/github.com/iawia002/annie/cookier/cookier.go:21:64: too many arguments in call to rod.New().ControlURL(u).MustConnect().DefaultDevice
have (devices.Device, bool)
want (devices.Device)
I don't understand how I should follow your fix.
Hi, when I install annie with commandline "go get -v github.com/iawia002/annie", it failed. At the end of failed installation, it shows " undefined: ytdl.DefaultClient " error.
GO111MODULE has already been set to "on", and my go version is 1.14.3, 64bit on Win10 64bit.
The commandline full output is as follows: