-
Notifications
You must be signed in to change notification settings - Fork 35
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
command 'pxl' not found #19
Comments
Old question but I experienced this issue as well. |
@lachlanallison |
@Myythaar when I did |
Just to clarify, as I just ran into this, when you run |
This (installing to Alternatively, if you just care about building this one program and putting it somewhere you want you could do something like this (assuming you have a Go1.11+ module aware installation):
Where GOBIN is set to some directory where you want it installed. I'd say that even though the README for this repository doesn't mention modules this isn't an issue since it does say: "You will need to have Go installed and configured in your path." Perhaps the README could be adjusted with the information/links I give above. |
Should resolve ichinaski#18 and ichinaski#20. Also, add go.mod and go.sum for Go module support. While adjusting the README for the above changes, also expand on installation paths which should resolve ichinaski#19.
@aderchox You can run with below a few lines from forked/updated repo: git clone https://github.com/dchapes/pxl.git
cd pxl
go build cmd/pxl/main.go
# you can see main binary file
./main -h
Usage: ./pxl <filename>...
Close the image with <ESC> or by pressing 'q'. |
I have GO installed and running and configured in the PATH as well.
I run this: go get github.com/ichinaski/pxl
It gives no error, by which I assume it's gotten installed fine without any errors(?).
Then I run this: pxl path/to/image
And I get this error:
Command "pxl" not found, did you mean...
The text was updated successfully, but these errors were encountered: