Unix Installation Guide¶
TL;DR¶
Without Chrono¶
If you’d like to install wa_simulator
without Chrono, run the following command:
# To install the wa_simulator separately from Chrono
pip install wa_simulator
With Chrono¶
If you’d like to install wa_simulator
with Chrono, run the following command:
# To install wa_simulator in an anaconda environment (Linux systems must install anaconda externally)
bash -c "$(curl -fsSL https://raw.githubusercontent.com/WisconsinAutonomous/wa_simulator/master/scripts/config_conda_env.sh)"
Note
There have been some issues related to Anaconda installations when running the previous command.
Description¶
The best way to use the wa_simulator
is within an Anaconda environment. Anaconda environments will isolate package installation from the rest of your computer, minimizing configuration problems and/or conflicting packages.
PyChrono has also released as an anaconda package. The installation script described below will also install this package automatically.
The recommended approach to installing wa_simulator
on Unix systems (Linux and MacOS) is through the shell script available on the wa_simulator
github. To install the package via this script, run the following command.
Note: As mentioned above, this script will utilize Anaconda. On MacOS systems, this will be installed automatically through the Homebrew package manager. On Linux systems, please install anaconda separately.
bash -c "$(curl -fsSL https://raw.githubusercontent.com/WisconsinAutonomous/wa_simulator/master/scripts/config_conda_env.sh)"
For most use cases for this simulator, a conda package installation. For those who want to aid in development of the repository, further instructions for how to do that will be created in the future.
Without Chrono¶
wa_simulator
is also available on PyPI, so it also can be installed through pip
. PyChrono requires non-python libraries to function, so it can not be installed via pip
. Therefore, this installation of wa_simulator
will not bring in PyChrono. You may build PyChrono from source or install it separately, if desired. It is highly recommended to install this in a conda or virtualenv to isolate the installation.
pip install wa_simulator