Trouble Installing Hail: Different Hashes

Hello,

I am currently trying to install Hail on a VM running Ubuntu, and I’m running into some problems.

I successfully installed everything in the Linux installation tutorial except libopenblas (All it says is that it is unable to locate it), but I instead downloaded libblas3 (I have literally no idea what BLAS is, so I’m just using guesswork here; the problem might be in this step tbh).

Then, I went on to use pip3 to install hail, and this is what happened:

csf@csf-vm:~$ sudo pip3 install --no-cache-dir hail
Collecting hail
  Downloading https://files.pythonhosted.org/packages/7d/33/58295f51f169e50d646a8e3f4d3570dd65635f27e44bcb1ed07e0fd77589/hail-0.2.49-py3-none-any.whl (62.8MB)
    100% |████████████████████████████████| 62.8MB 2.6MB/s 
THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. If you have updated the package versions, please update the hashes. Otherwise, examine the package contents carefully; someone may have tampered with them.
    hail from https://files.pythonhosted.org/packages/7d/33/58295f51f169e50d646a8e3f4d3570dd65635f27e44bcb1ed07e0fd77589/hail-0.2.49-py3-none-any.whl#sha256=71e6c58d7a0cbb5aa6cf6d3291b3d983c340e82cb5a0fd98ddcf2e90298aa9ea:
        Expected sha256 71e6c58d7a0cbb5aa6cf6d3291b3d983c340e82cb5a0fd98ddcf2e90298aa9ea
             Got        4416e9be73e64760469986dc0f7a13955cd50d0c0bcae0ca4716dbf0a7574cab

So, it seems like pip is receiving a different hash than is needed and, for security reasons, doesn’t let Hail download. Can someone help me through this?

Hey @vrizzari,

I’m sorry about the libopenblas package, there is a bug in our install documentation. You need to install libopenblas-base.

This error usually means you have a bad cache, though you’re using --no-cache-dir. It could also mean someone is manipulating your internet connection. I’m able to install the hail package on a fresh copy of Ubuntu:18.04. The first thing I think you should try is upgrading pip: pip3 install -U pip.

Hey @vrizzari,

Did you happen to resolve this issue? I’d be curious to know the outcome.

Can you also share more detail on your set up? I think there must be something unusual happening. A few questions to get started:

  • What kind of VM software are you using: Docker, VirtualBox, a cloud VM, something else?
  • Laptop or a remote machine?
  • What is the host operating system: Windows, Linux, or Mac?
  • How is this machine connected to the internet: wifi or wired? And is it a corporate, academic, cloud, or home network?
  • Are you able to install other packages? For example, pip install aiohttp, does that give any error?
  • How did you install python3: apt-get, pyenv, or conda?
  • Are you using virtualenv / venv?