import "github.com/blackjack/webcam" errors
girs1982 opened this issue · 3 comments
import-im6.q16: unable to open X server `' @ error/import.c/ImportImageCommand/358.
It seems you are trying to run this line of Go code in your terminal / command shell instead of putting it in a source (.go) file and compiling it. The error message does not indicate a problem with the library or your setup. It is thrown by an ImageMagick component named "import" which gets run by your shell.
I would recommend you to start working from introduction tutorials for Go (e.g. https://gobyexample.com/hello-world or pick one from https://github.com/avelino/awesome-go#tutorials).
Hope I could help you 😃
i was done it on python ,go not need now
Well, it seems like you can have the same problem with python 😉
Either way, glad you got your problem solved - please close the issue in this case.