# Running hl.vep gives no autodie::Utils in @INC

**URL:** https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109
**Category:** Hail Query & hailctl
**Created:** [June 28, 2021, 4:01pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109 "2021-06-28T16:01:54Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![NLSVTN](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/nlsvtn/32/339_2.png) [@NLSVTN](https://discuss.hail.is/u/NLSVTN)
#### Post date: [June 28, 2021, 4:01pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109/1 "2021-06-28T16:01:54Z")

</div>

I verified that VEP can be run in the terminal successfully. autodie and autodie::Utils are installed in the dir: _/local/perl5/lib/perl5/_ which is in _PERL5LIB_. When I try to run hl.vep from python script though its giving an error that Can’t locate _autodie/Util.pm_ in _@INC_, but the path is there, _/local/perl5/lib/perl5/_. So, I am not sure whats going wrong here. hail version is 0.2.57.

---

<div class="post-metadata">

### Author: ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)
#### Post date: [June 28, 2021, 4:04pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109/2 "2021-06-28T16:04:02Z")

</div>

Are you running on a cluster, or a single node? Is VEP installed on a network-visible file system?

---

<div class="post-metadata">

### Author: ![NLSVTN](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/nlsvtn/32/339_2.png) [@NLSVTN](https://discuss.hail.is/u/NLSVTN)
#### Post date: [June 28, 2021, 4:04pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109/3 "2021-06-28T16:04:24Z")

</div>

Just in ipython or also with python test\_vep.py. Second question - that I am not sure what it means. It can run in terminal, so I should be able to run it from python, I suppose.

---

<div class="post-metadata">

### Author: ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)
#### Post date: [June 28, 2021, 4:09pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109/4 "2021-06-28T16:09:46Z")

</div>

Hail uses Apache Spark to orchestrate distributed computing. How is Spark being run? Using default installation on a single computer/server (local mode) or on a cluster (cluster mode)?

---

<div class="post-metadata">

### Author: ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)
#### Post date: [June 28, 2021, 4:09pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109/5 "2021-06-28T16:09:57Z")

</div>

also, can you post all the stack traces here?

---

<div class="post-metadata">

### Author: ![NLSVTN](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/nlsvtn/32/339_2.png) [@NLSVTN](https://discuss.hail.is/u/NLSVTN)
#### Post date: [June 28, 2021, 4:30pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109/6 "2021-06-28T16:30:06Z")

</div>

> <https://gist.github.com/NLSVTN/fdae8f1f4d0bd0cf7843a6039eb7bbb3>

I guess local mode. We have a folder with installed spark, so I set SPARK\_HOME to point to it and add it also to the PATH. I am a bit confused regarding the question since we are not running spark. There is nothing written about spark installation being a prerequisite for hail run:

[https://hail.is/docs/0.2/install/linux.html](https://hail.is/docs/0.2/install/linux.html)

We just launch ipython, and run several lines of code, thats it. No spark server is running anywhere else.

---

<div class="post-metadata">

### Author: ![NLSVTN](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/nlsvtn/32/339_2.png) [@NLSVTN](https://discuss.hail.is/u/NLSVTN)
#### Post date: [June 28, 2021, 8:29pm UTC](https://discuss.hail.is/t/running-hl-vep-gives-no-autodie-utils-in-inc/2109/7 "2021-06-28T20:29:40Z")

</div>

It was a permissions issue. The @INC path - _/local/perl5/lib/perl5/_ - needed different folder permissions set up.
