togglcsv icon indicating copy to clipboard operation
togglcsv copied to clipboard

Problems installing – gopkg.in/alecthomas/kingpin.v2

Open FroeMic opened this issue 2 years ago • 0 comments

Hi there,

I am having trouble installing togglcsv (see code below).

I am not well-versed with go and wanted to ask whether there is an easy fix for the problem below?

~ % go version                                                            
go version go1.20.1 darwin/amd64

~ % go install github.com/andreaskoch/togglcsv@latest


go: finding module for package github.com/pkg/errors
go: finding module for package github.com/andreaskoch/togglapi/date
go: finding module for package github.com/jinzhu/now
go: finding module for package github.com/andreaskoch/togglapi
go: finding module for package gopkg.in/alecthomas/kingpin.v2
go: finding module for package gopkg.in/cheggaaa/pb.v1
go: finding module for package github.com/andreaskoch/togglapi/model
go: found github.com/andreaskoch/togglapi in github.com/andreaskoch/togglapi v0.4.2
go: found github.com/andreaskoch/togglapi/date in github.com/andreaskoch/togglapi v0.4.2
go: found github.com/jinzhu/now in github.com/jinzhu/now v1.1.5
go: found github.com/pkg/errors in github.com/pkg/errors v0.9.1
go: found gopkg.in/alecthomas/kingpin.v2 in gopkg.in/alecthomas/kingpin.v2 v2.3.1
go: found gopkg.in/cheggaaa/pb.v1 in gopkg.in/cheggaaa/pb.v1 v1.0.28
go: found github.com/andreaskoch/togglapi/model in github.com/andreaskoch/togglapi v0.4.2
go: github.com/andreaskoch/togglcsv imports
	gopkg.in/alecthomas/kingpin.v2: gopkg.in/alecthomas/[email protected]: parsing go.mod:
	module declares its path as: github.com/alecthomas/kingpin/v2
	        but was required as: gopkg.in/alecthomas/kingpin.v2

FroeMic avatar Feb 21 '23 10:02 FroeMic