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

Build can not find package "golang.org/x/net/publicsuffix" #3

Open
Onslaught opened this issue Sep 11, 2017 · 4 comments
Open

Build can not find package "golang.org/x/net/publicsuffix" #3

Onslaught opened this issue Sep 11, 2017 · 4 comments

Comments

@Onslaught
Copy link

Users/js/Desktop/dcrawl-master/dcrawl.go:17:2: cannot find package "golang.org/x/net/publicsuffix" in any of: /usr/local/Cellar/go/1.9/libexec/src/golang.org/x/net/publicsuffix (from $GOROOT) /Users/js/go/src/golang.org/x/net/publicsuffix (from $GOPATH) Process exiting with code: 1

@sachin-ranadive
Copy link

Install package with (-v is optional)
go get -v golang.org/x/net/publicsuffix

@gearcapitan
Copy link

Help!

kali linux-2018-01-17-21-01-58

@anuxraw
Copy link

anuxraw commented Jan 29, 2018

@gearcapitan Follow this commend:

export GOPATH=~/.go
export PATH=$PATH:$GOPATH/bin

@rremo
Copy link

rremo commented Jun 12, 2019

root@dev:/home/dcrawl# go get -v golang.org/x/net/publicsuffix
Fetching https://golang.org/x/net/publicsuffix?go-get=1
Parsing meta tags from https://golang.org/x/net/publicsuffix?go-get=1 (status code 200)
get "golang.org/x/net/publicsuffix": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net/publicsuffix?go-get=1
get "golang.org/x/net/publicsuffix": verifying non-authoritative meta tag
Fetching https://golang.org/x/net?go-get=1
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
golang.org/x/net (download)
created GOPATH=/root/go; see 'go help gopath'
go: missing Git command. See https://golang.org/s/gogetcmd
package golang.org/x/net/publicsuffix: exec: "git": executable file not found in $PATH

If you get an error with:
package golang.org/x/net/publicsuffix: exec: "git": executable file not found in $PATH

install git:
sudo apt-get install git
apt-get install git

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

5 participants