Installation

You can install the latest stable release of the package at PyPI using pip:

pip install realtwin

By running the command above, the realtwin package along with required dependency packages (PyYAML, Shapely, traci, Requests, pyufunc, mealpy, matplotlib, networkx) will be installed to your running environment (if they have not been installed yet).

Potential Issues

  • Shapely

If you install realtwin in a conda environment, you may get an error message: “OSError: [WinError 126] The specified module could not be found” when importing realtwin. To resolve this issue, you need to uninstall the Shapely package first, and reinstall it manually using the command below.

conda install shapely