imaginary icon indicating copy to clipboard operation
imaginary copied to clipboard

Error with throttled package

Open Kanzll opened this issue 2 years ago • 4 comments

Hi, I wanted to install imaginary with go get -u github.com/h2non/imaginary I got this message package gopkg.in/throttled/throttled.v2: code in directory /home/user/go/src/gopkg.in/throttled/throttled.v2 expects import "github.com/throttled/throttled/v2" package gopkg.in/throttled/throttled.v2/store/memstore: code in directory /home/user/go/src/gopkg.in/throttled/throttled.v2/store/memstore expects import "github.com/throttled/throttled/v2/store/memstore"

Sorry if this is redundant post, but I can't finallize installation Thanks

Kanzll avatar Sep 18 '22 05:09 Kanzll

I've got the same issue

Eugeniusz-Gienek avatar Sep 26 '22 23:09 Eugeniusz-Gienek

Yup, same.

I gather this has something to do with 'canonical paths'?

tomlawesome avatar Oct 28 '22 15:10 tomlawesome

I have the same problem in Ubuntu 20.04

The issue is also there when running the throttled installer standalone.

go get -u github.com/throttled/throttled/v2

package github.com/throttled/throttled/v2: cannot find package "github.com/throttled/throttled/v2" in any of:
        /usr/src/github.com/throttled/throttled/v2 (from $GOROOT)
        /root/go/src/github.com/throttled/throttled/v2 (from $GOPATH)

corsch avatar Nov 14 '22 10:11 corsch

Fixed now by https://github.com/h2non/imaginary/pull/353

suntong avatar Dec 01 '23 15:12 suntong