Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with throttled package #401

Open
kanzn opened this issue Sep 18, 2022 · 4 comments
Open

Error with throttled package #401

kanzn opened this issue Sep 18, 2022 · 4 comments

Comments

@kanzn
Copy link

kanzn commented Sep 18, 2022

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

@kanzn kanzn changed the title Error Error with throttled package Sep 18, 2022
@Eugeniusz-Gienek
Copy link

I've got the same issue

@tomlawesome
Copy link

Yup, same.

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

@corsch
Copy link

corsch commented Nov 14, 2022

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)

@suntong
Copy link

suntong commented Dec 1, 2023

Fixed now by #353

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants