{"action":"opened","issue":{"url":"https://api.github.com/repos/docker/swarm/issues/524","labels_url":"https://api.github.com/repos/docker/swarm/issues/524/labels{/name}","comments_url":"https://api.github.com/repos/docker/swarm/issues/524/comments","events_url":"https://api.github.com/repos/docker/swarm/issues/524/events","html_url":"https://github.com/docker/swarm/issues/524","id":64755641,"number":524,"title":"not able to install swarm from source","user":{"login":"nadgowdas","id":8685412,"avatar_url":"https://avatars.githubusercontent.com/u/8685412?v=3","gravatar_id":"","url":"https://api.github.com/users/nadgowdas","html_url":"https://github.com/nadgowdas","followers_url":"https://api.github.com/users/nadgowdas/followers","following_url":"https://api.github.com/users/nadgowdas/following{/other_user}","gists_url":"https://api.github.com/users/nadgowdas/gists{/gist_id}","starred_url":"https://api.github.com/users/nadgowdas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nadgowdas/subscriptions","organizations_url":"https://api.github.com/users/nadgowdas/orgs","repos_url":"https://api.github.com/users/nadgowdas/repos","events_url":"https://api.github.com/users/nadgowdas/events{/privacy}","received_events_url":"https://api.github.com/users/nadgowdas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-27T12:43:43Z","updated_at":"2015-03-27T12:43:43Z","closed_at":null,"body":"Hi,\r\n\r\nI am trying to install swarm code from source, and i am getting bunch of import errors:\r\n> echo $GOPATH\r\n/home/shripad/repository/gocode/\r\n\r\n>  pwd\r\n/home/shripad/repository/swarm\r\n\r\n> godep go install .\r\nmanage.go:12:2: cannot find package \"github.com/docker/swarm/api\" in any of:\r\n        /usr/local/go/src/github.com/docker/swarm/api (from $GOROOT)\r\n        /home/shripad/repository/swarm/Godeps/_workspace/src/github.com/docker/swarm/api (from $GOPATH)\r\n        /home/shripad/repository/gocode/src/github.com/docker/swarm/api\r\nmanage.go:13:2: cannot find package \"github.com/docker/swarm/cluster\" in any of:\r\n        /usr/local/go/src/github.com/docker/swarm/cluster (from $GOROOT)\r\n        /home/shripad/repository/swarm/Godeps/_workspace/src/github.com/docker/swarm/cluster (from $GOPATH)\r\n        /home/shripad/repository/gocode/src/github.com/docker/swarm/cluster\r\n....\r\n\r\nI see api, cluster packages are available in the same folder, so I changed the \"manage.go\" import from\r\n\"github.com/docker/swarm/api\" to\r\n\"api\"\r\n\r\nand i could get rid of import error for \"api\".\r\n\r\nIs there something i missed in my environment setting? or i need to change the import for all?"}}