cannot download, $GOPATH not set

前端 未结 15 2129
闹比i
闹比i 2020-11-29 17:00

I want to install json2csv using go get github.com/jehiah/json2csv but I receive this error:

package github.com/jehiah/json2csv: cannot download         


        
15条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-11-29 17:51

    If you run into this problem after having $GOPATH set up, it may be because you're running it with an unsupported shell. I was using fish and it did not work, launching it with bash worked fine.

提交回复
热议问题