# Hail installation and configuration

**URL:** <https://discuss.hail.is/t/hail-installation-and-configuration/1067>\
**Category:** Hail Query & hailctl\
**Created:** [September 3, 2019, 8:42am UTC](https://discuss.hail.is/t/hail-installation-and-configuration/1067 "2019-09-03T08:42:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Mohamed](https://discuss.hail.is/u/Mohamed)\
**Post date:** [September 3, 2019, 8:42am UTC](https://discuss.hail.is/t/hail-installation-and-configuration/1067/1 "2019-09-03T08:42:15Z")

</div>

Hi, I found many ways for Hail installation (cloud and HPC , …etc)and I am confused about the easiest and straight forward way ? can you please help in that? I need to start using it.

---

<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:** [September 3, 2019, 10:16am UTC](https://discuss.hail.is/t/hail-installation-and-configuration/1067/2 "2019-09-03T10:16:54Z")

</div>

The easiest way to install Hail is to use `pip`:

```auto
pip install hail

```

This will install Hail to run in local mode on the computer that ran the `pip` command, and will also install the `hailctl` tool to start and use Hail on Google Dataproc.

---

<div class="post-metadata">

**Author:** ![Mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Mohamed](https://discuss.hail.is/u/Mohamed)\
**Post date:** [September 29, 2019, 6:36am UTC](https://discuss.hail.is/t/hail-installation-and-configuration/1067/4 "2019-09-29T06:36:04Z")

</div>

Ok, I’ve installed hail and jupyter as well, and I started by importing it but I got this error  
ImportError Traceback (most recent call last)  
 in ()  
----\> 1 import hail as hl

ImportError: No module named hail

---

<div class="post-metadata">

**Author:** ![Mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Mohamed](https://discuss.hail.is/u/Mohamed)\
**Post date:** [September 29, 2019, 7:07am UTC](https://discuss.hail.is/t/hail-installation-and-configuration/1067/5 "2019-09-29T07:07:04Z")

</div>

I successfuly downloaded and installed it, it is a good starting for me, however I got this error message when I run this code,  
hl.init()  
error message is very long I just took a few lines of code  
Py4JJavaError Traceback (most recent call last)  
 in   
----\> 1 hl.init()

\</home/malfaki/.local/lib/python3.6/site-packages/decorator.py:decorator-gen-1203\> in init(sc, app\_name, master, local, log, quiet, append, min\_block\_size, branching\_factor, tmp\_dir, default\_reference, idempotent, global\_seed, \_optimizer\_iterations, \_backend)

---

<div class="post-metadata">

**Author:** ![Mohamed](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@Mohamed](https://discuss.hail.is/u/Mohamed)\
**Post date:** [October 3, 2019, 8:35am UTC](https://discuss.hail.is/t/hail-installation-and-configuration/1067/6 "2019-10-03T08:35:43Z")

</div>

Hi, I got this error when I tried to run hail again, last time it was working!!  
File “”, line 1  
pip install haill  
^  
SyntaxError: invalid syntax
