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

unrecognized import path "golang.org/x/sys/windows" #3

Open
dimiboi opened this issue Aug 27, 2018 · 5 comments
Open

unrecognized import path "golang.org/x/sys/windows" #3

dimiboi opened this issue Aug 27, 2018 · 5 comments

Comments

@dimiboi
Copy link

dimiboi commented Aug 27, 2018

Executing go get -d github.com/jstarks/npiperelay results in the following:

package golang.org/x/sys/windows: unrecognized import path "golang.org/x/sys/windows" (https fetch: Get https://golang.org/x/sys/windows?go-get=1: dial tcp: i/o timeout)
@alexsandro-xpt
Copy link

Same problem here... Some solution?

@derula
Copy link

derula commented Apr 1, 2019

I'm getting this:

package golang.org/x/sys/windows: unrecognized import path "golang.org/x/sys/windows" (https fetch: Get https://golang.org/x/sys/windows?go-get=1: dial tcp: lookup golang.org on [fec0:0:0:ffff::2]:53: dial udp [fec0:0:0:ffff::2]:53: connect: invalid argument)

@derula
Copy link

derula commented Apr 1, 2019

Workaround:

go get -u github.com/golang/golang/sys/windows
mv ~/go/github.com/golang ~/go/golang.org/x
go get -d github.com/jstarks/npiperelay

Seems to work.

Note that my Go folder is ~/go and you will need to change the mv command if yours is different.

@RobertDeRose
Copy link

I had to do this:

GOOS=windows go get -d github.com/jstarks/npiperelay
GOOS=windows go build -o /mnt/c/Users/<username>/go/bin/npiperelay.exe github.com/jstarks/npiperelay

@MarcianoH
Copy link

I had to do this:

GOOS=windows go get -d github.com/jstarks/npiperelay
GOOS=windows go build -o /mnt/c/Users/<username>/go/bin/npiperelay.exe github.com/jstarks/npiperelay

Works for me! Thank you.

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