Installing Flatland

Installing Flatland#

Install the latest stable release of Flatland from PyPI:

$ python -m pip install flatland-rl

Check that the installation works:

$ flatland-demo --help

To watch a short episode with random actions (needs a display), run:

$ flatland-demo

See the flatland-rl README for the full setup instructions, including supported Python versions, virtual environments and the optional Cython-accelerated build. To install from source and run the tests, follow the flatland-rl contribution guide.