Installation
HySim can be installed using the Python wheel (found in the dist directory) which can be installed using pip. This requires Python and pip to be installed locally. Pip is included in most cases with python installations.
Requirements
- Python >= 3.9
You can check the currently installed version of python using the following command:
To eliminate issues with the python path (especially on Windows) it is recommended to install HySim in a python virtual environment. This can be done using venv which is included in the Python standard library, or another environment manager like Anaconda.
Simple Miniconda Install
Since HySim is in early development, software dependencies and version control can often cause problems as the program has not been thoroughly tested across various platforms and software versions. Miniconda is a lightweight and simple way to install and use the conda package manager. Conda provides an easy way of managing python virtual environments, allowing strict control of the python version and any dependencies.
To install Miniconda download and install it from here.
Once installed, start anaconda prompt or a terminal of your choice. Create a new virtual environment for running HySim with the following command:
You dont absolutely require an environment only for HySim, but it allows explicit control over the python version installed, reducing the likelyhood of issues. Once created you can activate the environment by typing:
From here you can install HySim using the provided python wheel.
Installing HySim
HySim can be installed with pip using the wheel included in the project deliverables. Firstly navigate to the directory containing the wheel and install using:
Note the name of the wheel here is just an example. It will change between versions and platforms. To test the installation run: The output should show the currently installed version of HySim such ashysim 0.1.1
.