# Installed Rally, but it won't run & I can't find the install

**URL:** <https://discuss.elastic.co/t/installed-rally-but-it-wont-run-i-cant-find-the-install/65076>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [November 5, 2016, 1:41am UTC](https://discuss.elastic.co/t/installed-rally-but-it-wont-run-i-cant-find-the-install/65076 "2016-11-05T01:41:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Woodford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/woodford/32/9540_2.png) [@Woodford](https://discuss.elastic.co/u/Woodford)\
**Post date:** [November 5, 2016, 1:41am UTC](https://discuss.elastic.co/t/installed-rally-but-it-wont-run-i-cant-find-the-install/65076/1 "2016-11-05T01:41:43Z")

</div>

Mac OS X, Sierra. All prereqs verified, ran install, no errors, but 'esrally configure' returns "command not found".  
No ~/.rally directory

I'm looking in docs, getting started, no useful clues there.  
Any help appreciated!

Update:  
So I re-ran with -verbose and log, and the output included paths for package installs:

```
> pip3 install esrally --verbose --log ./pip3.log
Requirement already satisfied (use --upgrade to upgrade): esrally in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages

```

So I checked the packages directory but no joy finding an "esrally" executable or script.  
Re-reading the install doc, it suggests that "sudo" may be needed, so re-ran install w/sudo...

```
The directory '/Users/woodford/Library/Caches/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.

```

I'm not sure if this is an error or not, but decide to re-run w -H flag. No errors, esrally still 'command not found'

Uninstalled esrally, reinstalled with sudo -H. Now it runs!

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [November 7, 2016, 7:07am UTC](https://discuss.elastic.co/t/installed-rally-but-it-wont-run-i-cant-find-the-install/65076/2 "2016-11-07T07:07:29Z")

</div>

Hi @Woodford,

as per your last remark it seems to work now:

> [@Woodford](#):
>
> Uninstalled esrally, reinstalled with sudo -H. Now it runs!

I've never heard of this behavior so far (and I also did not try on Sierra yet) but thanks for your report. I'll keep that in mind in case there are more reports.

Daniel

---

<div class="post-metadata">

**Author:** ![Woodford](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/woodford/32/9540_2.png) [@Woodford](https://discuss.elastic.co/u/Woodford)\
**Post date:** [November 7, 2016, 6:54pm UTC](https://discuss.elastic.co/t/installed-rally-but-it-wont-run-i-cant-find-the-install/65076/3 "2016-11-07T18:54:52Z")

</div>

Thanks DMD!  
It would be great if the output were more descriptive, and/or also ran a test for correct installation before exiting. (yes, pull requests welcome. I'm doing some more testing before I decide if/what to attack.)

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [November 8, 2016, 9:36am UTC](https://discuss.elastic.co/t/installed-rally-but-it-wont-run-i-cant-find-the-install/65076/4 "2016-11-08T09:36:09Z")

</div>

Hi @Woodford,

> [@Woodford](#):
>
> It would be great if the output were more descriptive

As far as I understand the output, it's coming from the shell, because it cannot find the binary so I fear there is not a whole lot that we can do from a Rally perspective. ☹ However, if I experience this problem also, I can at least add a hint to the docs.

Daniel

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 10:06pm UTC](https://discuss.elastic.co/t/installed-rally-but-it-wont-run-i-cant-find-the-install/65076/5 "2017-07-05T22:06:08Z")

</div>


