# Goipfsaddr doesn't get installed correctly and can not be used in Go

**URL:** <https://discuss.ipfs.tech/t/goipfsaddr-doesnt-get-installed-correctly-and-can-not-be-used-in-go/2700>\
**Category:** Help\
**Tags:** go-ipfs\
**Created:** [April 18, 2018, 11:09pm UTC](https://discuss.ipfs.tech/t/goipfsaddr-doesnt-get-installed-correctly-and-can-not-be-used-in-go/2700 "2018-04-18T23:09:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![agahEbrahimi](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@agahEbrahimi](https://discuss.ipfs.tech/u/agahEbrahimi)\
**Post date:** [April 18, 2018, 11:09pm UTC](https://discuss.ipfs.tech/t/goipfsaddr-doesnt-get-installed-correctly-and-can-not-be-used-in-go/2700/1 "2018-04-18T23:09:40Z")

</div>

Hello,

I’m trying to run a go script which uses go-ipfs-addr, but it doesn’t install. The go-ipfs directory is installed under my src directory in Go and no matter what I do, I can’t seem to get it on there.  
It gives me this error:

```
go run main.go
main.go:18:2: cannot find package "github.com/ipfs/go-ipfs-addr" in any of:
	/usr/local/Cellar/go/1.10/libexec/src/github.com/ipfs/go-ipfs-addr (from $GOROOT)
	/Users/behrad/go/src/github.com/ipfs/go-ipfs-addr (from $GOPATH)

```

Thank you in advance

---

<div class="post-metadata">

**Author:** ![leerspace](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leerspace](https://discuss.ipfs.tech/u/leerspace)\
**Post date:** [April 19, 2018, 3:01am UTC](https://discuss.ipfs.tech/t/goipfsaddr-doesnt-get-installed-correctly-and-can-not-be-used-in-go/2700/2 "2018-04-19T03:01:51Z")

</div>

Try running `go get github.com/ipfs/go-ipfs-addr` before running your script. That fixed it for me.

---

<div class="post-metadata">

**Author:** ![agahEbrahimi](https://avatars.discourse-cdn.com/v4/letter/a/9de0a6/32.png) [@agahEbrahimi](https://discuss.ipfs.tech/u/agahEbrahimi)\
**Post date:** [April 20, 2018, 12:51am UTC](https://discuss.ipfs.tech/t/goipfsaddr-doesnt-get-installed-correctly-and-can-not-be-used-in-go/2700/3 "2018-04-20T00:51:21Z")

</div>

I already did, it seemed as if it was just an overlap problem with GX and the github directory.
