Skip to content
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

can't load package: package github.com/tsenart/vegeta: import "github.com/tsenart/vegeta": cannot find package #1

Closed
tj opened this issue Aug 17, 2013 · 10 comments

Comments

@tj
Copy link

tj commented Aug 17, 2013

is my go too old maybe? 1.0.3

@tsenart
Copy link
Owner

tsenart commented Aug 17, 2013

Hey there. Are you trying to use it as a library by importing it or are you trying to install the cli?
If you're using it as a library have a look at the example in the README: https://github.com/tsenart/vegeta#usage-library

@tsenart
Copy link
Owner

tsenart commented Aug 18, 2013

I had a missing statement in the install instructions. Before go install we need go get. Thanks for reporting :)

@tj
Copy link
Author

tj commented Aug 18, 2013

Just the CLI for me, I'm getting:

go get github.com/tsenart/vegeta
# cd .; hg clone -U https://code.google.com/p/plotinum /Users/tj/.go/src/code.google.com/p/plotinum
package code.google.com/p/plotinum/plot: exec: "hg": executable file not found in $PATH
package code.google.com/p/plotinum/plotter
    imports code.google.com/p/plotinum/plotter

tried the git urls to see if that'd stop confusing go but nope:

$ go get https://github.com/tsenart/vegeta.git
package https:/github.com/tsenart/vegeta.git: unrecognized import path "https:/github.com/tsenart/vegeta.git"

@tsenart
Copy link
Owner

tsenart commented Aug 18, 2013

The go toolset uses git, hg and svn underlying. It seems like you don't have hg (Mercurial) installed or available in your $PATH.

@tj
Copy link
Author

tj commented Aug 18, 2013

oh wtf, you need mercurial to install git related packages?

@tj
Copy link
Author

tj commented Aug 18, 2013

oh i see it has to bootstrap some stuff, cool working now thanks!

@tj
Copy link
Author

tj commented Aug 18, 2013

go hates me haha:

go get github.com/tsenart/vegeta
# github.com/tsenart/vegeta/lib
../../.go/src/github.com/tsenart/vegeta/lib/timings_plot_reporter.go:4: import /Users/tj/.go/pkg/darwin_386/code.google.com/p/plotinum/plot.a: not a package file

@tsenart
Copy link
Owner

tsenart commented Aug 18, 2013

Oh man you have your go installation messed up somehow. I added pre-compiled binaries for these cases. https://github.com/tsenart/vegeta#pre-compiled-executables

@tj
Copy link
Author

tj commented Aug 18, 2013

haha success! I had just installed 1.1.2, seems pretty finicky, but the bin is working sorry about that!

@ianrussel
Copy link

Oh @tj the Express js creator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants