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

cmd/go: "The system cannot find the path specified" error during go get #24968

Closed
MrSpock opened this issue Apr 20, 2018 · 6 comments
Closed
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows
Milestone

Comments

@MrSpock
Copy link

MrSpock commented Apr 20, 2018

Hi,

After upgrade to go1.10 I can't download packages. I've tried few of them.

What version of Go are you using (go version)?

PS C:\Users\spock\go\src\github.com\mrspock> go version
go version go1.10.1 windows/amd64

Does this issue reproduce with the latest release?

Yes.

What operating system and processor architecture are you using (go env)?

PS C:\Users\spock\go\src\github.com\mrspock> go env| Select-String GOHOST

set GOHOSTARCH=amd64
set GOHOSTOS=windows

What did you do?

Example command:

PS C:\Users\spock\go\src\github.com\mrspock> pwd

Path
----
C:\Users\spock\go\src\github.com\mrspock
go get github.com/mrspock/godocsis
package github.com/mrspock/godocsis: mkdir C:\Users\spock\go\src\github.com\mrspock\: The system cannot find the path specified.

I've tried with package where top directory doent' exist. Error is the same.

PS C:\Users\spock\go\src\github.com\mrspock> go get github.com/jrallison/go-workers
package github.com/jrallison/go-workers: mkdir C:\Users\spock\go\src\github.com: The system cannot find the path specified.
PS C:\Users\spock\go\src\github.com\mrspock>

What did you expect to see?

Proper package install

What did you see instead?

@MrSpock MrSpock changed the title go get can't mkdir go get Windows 10 The system cannot find the path specified Apr 20, 2018
@davecheney
Copy link
Contributor

davecheney commented Apr 20, 2018 via email

@MrSpock
Copy link
Author

MrSpock commented Apr 20, 2018

Yes.
src is on OneDrive.

@agnivade agnivade changed the title go get Windows 10 The system cannot find the path specified cmd/go: "The system cannot find the path specified" error during go get Apr 20, 2018
@agnivade agnivade added OS-Windows NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Apr 20, 2018
@ianlancetaylor ianlancetaylor added this to the Go1.11 milestone Apr 20, 2018
@ianlancetaylor
Copy link
Contributor

What does go env GOPATH print?

@davecheney
Copy link
Contributor

davecheney commented Apr 23, 2018 via email

@mattn
Copy link
Member

mattn commented Apr 24, 2018

@MrSpock If your problem is same as #22579, please close this.

@davecheney
Copy link
Contributor

Duplicate of #22579

@davecheney davecheney marked this as a duplicate of #22579 May 4, 2018
@golang golang locked and limited conversation to collaborators May 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-Windows
Projects
None yet
Development

No branches or pull requests

6 participants