image2ascii icon indicating copy to clipboard operation
image2ascii copied to clipboard

Could not install anymore!

Open liudonghua123 opened this issue 3 years ago • 3 comments

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\[email protected]\convert\resize.go:4:2: no matching versions for query "latest"

C:\Users\Liu.D.H>

liudonghua123 avatar Mar 07 '22 06:03 liudonghua123

Please read the error messages, not an image2ascii issue.

fgallaire avatar May 05 '22 12:05 fgallaire

go get has been deprecated, try this instead:

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

klei22 avatar Jul 14 '22 07:07 klei22

Added pull request #19 to adjust the README

klei22 avatar Jul 14 '22 07:07 klei22