lasio is written to be compatible with Python 3.2+. The best way to install is using pip.
$ pip install lasio
This will make sure that the dependency numpy is installed as well.
The final version of lasio with Python 2.7 support is v0.26.
There are some other packages which lasio will use to provide extra functionality if they are installed (pandas, cChardet and/or chardet, and openpyxl). I recommend installing these with:
$ pip install lasio[all]
lasio is now installed.
To upgrade to the latest PyPI version, use:
$ pip install --upgrade lasio
Installing via pip gets the latest release which has been published on PyPI. If you want, you can install the latest changes from GitHub:
$ pip install https://github.com/kinverarity1/lasio/archive/master.zip
Every time lasio is updated, automated tests are run using Travis CI on Python 3.5, 3.6, 3.7, and 3.8, on Linux. lasio should also work on Python 3.3, and 3.4 but these are not regularly tested.
To run tests yourself:
$ pip install pytest>=3.6 pytest-cov coverage
$ pytest