Closed girs1982 closed 6 years ago
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 :smiley:
i was done it on python ,go not need now
Well, it seems like you can have the same problem with python :wink:
Either way, glad you got your problem solved - please close the issue in this case.
import-im6.q16: unable to open X server `' @ error/import.c/ImportImageCommand/358.