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

Could not install anymore! #18

Open
liudonghua123 opened this issue Mar 7, 2022 · 3 comments
Open

Could not install anymore! #18

liudonghua123 opened this issue Mar 7, 2022 · 3 comments

Comments

@liudonghua123
Copy link

I tried to install via go get github.com/qeesung/image2ascii, but it failed.

C:\Users\Liu.D.H>go get github.com/qeesung/image2ascii
go: downloading github.com/qeesung/image2ascii v1.0.1
go: downloading github.com/mattn/go-isatty v0.0.14
go: downloading github.com/wayneashleyberry/terminal-dimensions v1.1.0
go: downloading github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
go: downloading github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59
go: downloading golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
go get: installing executables with 'go get' in module mode is deprecated.
        Use 'go install pkg@version' instead.
        For more information, see https://golang.org/doc/go-get-install-deprecation
        or run 'go help get' or 'go help install'.
# runtime/internal/sys
D:\apps\go\src\runtime\internal\sys\stubs.go:9:7: PtrSize redeclared in this block
        D:\apps\go\src\runtime\internal\sys\arch.go:24:38: previous declaration
D:\apps\go\src\runtime\internal\sys\stubs.go:10:24: undefined: Uintreg
D:\apps\go\src\runtime\internal\sys\stubs.go:16:7: StackGuardMultiplier redeclared in this block
        D:\apps\go\src\runtime\internal\sys\arch.go:27:74: previous declaration

C:\Users\Liu.D.H>go install github.com/qeesung/image2ascii
go install: version is required when current directory is not in a module
        Try 'go install github.com/qeesung/image2ascii@latest' to install the latest version

C:\Users\Liu.D.H>go install github.com/qeesung/image2ascii@latest
go: finding module for package github.com/wayneashleyberry/terminal-dimensions
go: finding module for package github.com/aybabtme/rgbterm
go: finding module for package github.com/nfnt/resize
go: finding module for package github.com/mattn/go-isatty
go: found github.com/aybabtme/rgbterm in github.com/aybabtme/rgbterm v0.0.0-20170906152045-cc83f3b3ce59
go: found github.com/mattn/go-isatty in github.com/mattn/go-isatty v0.0.14
go: found github.com/wayneashleyberry/terminal-dimensions in github.com/wayneashleyberry/terminal-dimensions v1.1.0
go: finding module for package github.com/nfnt/resize
go\pkg\mod\github.com\qeesung\image2ascii@v1.0.1\convert\resize.go:4:2: no matching versions for query "latest"

C:\Users\Liu.D.H>
@fgallaire
Copy link

Please read the error messages, not an image2ascii issue.

@klei22
Copy link

klei22 commented Jul 14, 2022

go get has been deprecated, try this instead:

go install https://github.com/klei22/image2ascii@latest

@klei22
Copy link

klei22 commented Jul 14, 2022

Added pull request #19 to adjust the README

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

3 participants