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

package crypto/ed25519: unrecognized import path #12

Open
bgunsberger opened this issue Jun 5, 2022 · 8 comments
Open

package crypto/ed25519: unrecognized import path #12

bgunsberger opened this issue Jun 5, 2022 · 8 comments

Comments

@bgunsberger
Copy link

Hi, I'm getting

package crypto/ed25519: unrecognized import path "crypto/ed25519" (import path does not begin with hostname)

Trying to install.

Thanks.

@schollz
Copy link
Owner

schollz commented Jun 5, 2022

can you print the go version your using and copy+paste the original error?

@bgunsberger
Copy link
Author

bgunsberger commented Jun 5, 2022

Sure, I tried using the version it was released with:

$ go version
go version go1.10 darwin/amd64

And the error:

$ go get github.com/schollz/meanrecipe
package crypto/ed25519: unrecognized import path "crypto/ed25519" (import path does not begin with hostname)

I also had to manually create an extra folder layer to get it this point. When I first tried to install I got this:

$ go get github.com/schollz/meanrecipe
package github.com/AlecAivazis/survey/v2/core: cannot find package "github.com/AlecAivazis/survey/v2/core" in any of:
/usr/local/go/src/github.com/AlecAivazis/survey/v2/core (from $GOROOT)
/Users/ben/go/src/github.com/AlecAivazis/survey/v2/core (from $GOPATH)
package github.com/AlecAivazis/survey/v2/terminal: cannot find package "github.com/AlecAivazis/survey/v2/terminal" in any of:
/usr/local/go/src/github.com/AlecAivazis/survey/v2/terminal (from $GOROOT)
/Users/ben/go/src/github.com/AlecAivazis/survey/v2/terminal (from $GOPATH)
package crypto/ed25519: unrecognized import path "crypto/ed25519" (import path does not begin with hostname)

Because there is no 'v2' folder created.

Thanks.

@schollz
Copy link
Owner

schollz commented Jun 6, 2022

You need to upgrade Go, your version is not supported

@bgunsberger
Copy link
Author

Thanks. What version do you recommend? I tried the latest first, but that didn’t work either.

@schollz
Copy link
Owner

schollz commented Jun 6, 2022

Use the latest version. I just pushed a change to fix the problem it had

@bgunsberger
Copy link
Author

Thanks, it got further but has another issue:

$ go install github.com/schollz/meanrecipe@latest
go: downloading github.com/schollz/meanrecipe v2.1.0+incompatible
go: finding module for package github.com/bugra/kmeans
go: finding module for package github.com/jaytaylor/html2text
go: finding module for package github.com/mitchellh/go-wordwrap
go: finding module for package github.com/bradfitz/slice
go: finding module for package github.com/AlecAivazis/survey
go: finding module for package github.com/jinzhu/inflection
go: finding module for package github.com/PuerkitoBio/goquery
go: finding module for package github.com/cihub/seelog
go: downloading github.com/PuerkitoBio/goquery v1.8.0
go: finding module for package github.com/montanaflynn/stats
go: downloading github.com/mitchellh/go-wordwrap v1.0.1
go: finding module for package github.com/pkg/errors
go: downloading github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575
go: downloading github.com/pkg/errors v0.9.1
go: finding module for package github.com/schollz/googleit
go: downloading github.com/jinzhu/inflection v1.0.0
go: finding module for package github.com/schollz/progressbar
go: finding module for package golang.org/x/net/proxy
go: downloading github.com/AlecAivazis/survey v1.8.8
go: downloading github.com/bradfitz/slice v0.0.0-20180809154707-2b758aa73013
go: downloading github.com/jaytaylor/html2text v0.0.0-20211105163654-bc68cce691ba
go: downloading github.com/bugra/kmeans v0.0.0-20140831011822-bf06fda928a7
go: downloading github.com/montanaflynn/stats v0.6.6
go: downloading golang.org/x/net v0.0.0-20220531201128-c960675eff93
go: downloading github.com/schollz/googleit v1.5.0
go: downloading github.com/schollz/progressbar v1.0.0
go: found github.com/AlecAivazis/survey in github.com/AlecAivazis/survey v1.8.8
go: found github.com/mitchellh/go-wordwrap in github.com/mitchellh/go-wordwrap v1.0.1
go: found github.com/PuerkitoBio/goquery in github.com/PuerkitoBio/goquery v1.8.0
go: found github.com/bradfitz/slice in github.com/bradfitz/slice v0.0.0-20180809154707-2b758aa73013
go: found github.com/bugra/kmeans in github.com/bugra/kmeans v0.0.0-20140831011822-bf06fda928a7
go: found github.com/cihub/seelog in github.com/cihub/seelog v0.0.0-20170130134532-f561c5e57575
go: found github.com/jaytaylor/html2text in github.com/jaytaylor/html2text v0.0.0-20211105163654-bc68cce691ba
go: found github.com/jinzhu/inflection in github.com/jinzhu/inflection v1.0.0
go: found github.com/montanaflynn/stats in github.com/montanaflynn/stats v0.6.6
go: found github.com/pkg/errors in github.com/pkg/errors v0.9.1
go: found github.com/schollz/googleit in github.com/schollz/googleit v1.5.0
go: found github.com/schollz/progressbar in github.com/schollz/progressbar v1.0.0
go: found golang.org/x/net/proxy in golang.org/x/net v0.0.0-20220531201128-c960675eff93
go: github.com/schollz/meanrecipe imports
github.com/AlecAivazis/survey: github.com/AlecAivazis/survey@v1.8.8: parsing go.mod:
module declares its path as: gopkg.in/AlecAivazis/survey.v1
but was required as: github.com/AlecAivazis/survey

@schollz
Copy link
Owner

schollz commented Jun 6, 2022 via email

@bgunsberger
Copy link
Author

bgunsberger commented Jun 7, 2022

Great thanks. I got it running. The ingredients seem to get handled correctly, but I never get any directions listed, just this:

Directions:

->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->->

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

2 participants