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

windows installation issue #104

Closed
3 tasks
Ipassanti opened this issue Apr 24, 2020 · 14 comments
Closed
3 tasks

windows installation issue #104

Ipassanti opened this issue Apr 24, 2020 · 14 comments

Comments

@Ipassanti
Copy link

I'm opening this issue because:

  • I have found a bug
  • I want to request a feature
  • [Y] I have a question
  • Other

I'm really sorry to submit this issue for asking easy question. But I really have difficult to install QRCP on Windows.
I have downloaded Go Lang and use "go get ~/qrcp" cmd. But i can't find Chmod Command on Windows.
And there's no ".exe" file in the released package.
Can you add a windows version installation guide?
Really thanks for that.

@claudiodangelis
Copy link
Owner

Hello, the "chmod" command is a Linux and Mac command, sorry if I did not make it clear in the README.

Have you tried running:

go get github.com/claudiodangelis/qrcp

If you are new to go, please make sure you have read the installation manual for Windows: https://golang.org/doc/install#windows

After running the command above, you should be able to use the tool by simply running qrcp in the command prompt.

@Ipassanti
Copy link
Author

yes,I had used the "go get" command to install the "qrcp".
But somehow the system cant find "qrcp" program.
In this picture, it said 'qrcp' is not a inner or outter command or executable program.
But i don't know which step i havn't done.

issue

@claudiodangelis
Copy link
Owner

Thank you, just as a test, does it work if you run:

go\bin\qrcp

@Ipassanti
Copy link
Author

Yup!
Thanks for spending time to solve my problem ! :D

@claudiodangelis
Copy link
Owner

Please make sure to setup Go environment variables correctly, so that you don't have to use the full path of the binary every time.

@GokulNC
Copy link

GokulNC commented Apr 24, 2020

@claudiodangelis
I'm getting this error in Windows:

C:\Users\Name\Desktop>go get github.com/claudiodangelis/qrcp
..\go\src\github.com\claudiodangelis\qrcp\util\util.go:15:2: no Go files in C:\Users\Name\go\src\github.com\jhoonb\archivex

@claudiodangelis
Copy link
Owner

@claudiodangelis
I'm getting this error in Windows:

C:\Users\Name\Desktop>go get github.com/claudiodangelis/qrcp
..\go\src\github.com\claudiodangelis\qrcp\util\util.go:15:2: no Go files in C:\Users\Name\go\src\github.com\jhoonb\archivex

Which version of go are you using?

@GokulNC
Copy link

GokulNC commented Apr 24, 2020

@claudiodangelis
I'm on go version go1.14.2 windows/amd64

@claudiodangelis
Copy link
Owner

Can you please try

go get -u github.com/claudiodangelis/qrcp

@GokulNC
Copy link

GokulNC commented Apr 24, 2020

I'm getting the same error:

C:\Users\Name\Desktop>go get -u github.com/claudiodangelis/qrcp
..\go\src\github.com\claudiodangelis\qrcp\util\util.go:15:2: no Go files in C:\Users\Name\go\src\github.com\jhoonb\archivex

@claudiodangelis
Copy link
Owner

Could you please try this

go get github.com/jhoonb/archivex

then

go get github.com/claudiodangelis/qrcp

Thanks

@GokulNC
Copy link

GokulNC commented Apr 24, 2020

I deleted my C:\Users\Name\go\src\ directory (as mentioned here) and tried installing again, it worked!

Probably that directory was corrupt in my case, sorry for the trouble; I'm new to Go.
Please close the issue.

@claudiodangelis
Copy link
Owner

I'm glad to hear you figured it out, cheers!

@30rus
Copy link

30rus commented Mar 19, 2022

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

4 participants