Installation

TLS can be installed conveniently using pip:

pip install transitleastsquares

If you have multiple versions of Python and pip on your machine, make sure to use pip3. Try:

pip3 install transitleastsquares

The latest version can be pulled from github:

git clone https://github.com/hippke/tls.git
cd tls
python setup.py install

If the command python does not point to Python 3 on your machine, you can try to replace the last line with python3 setup.py install. If you don’t have git on your machine, you can find installation instructions here.

Compatibility

TLS has been tested to work with Python 2.7, 3.5, 3.6, 3.7. It works on Python 2.7, but only in single-threaded mode.