Windows:
Ubuntu:
Denote Python virtual environment is at $venv
.
-
Run
pip install -r requirements.txt
. -
Replace
$venv/Lib/site-packages/coinor/dippy/dippy.py
withdippy.py
in this repository. -
When initializing a
DipProblem
instance, please pass the argumentdisplay_mode='node-web'
. By default, it generates GraphViz code at the same file path as Python main script, but with the extension name.json
. To customize, please pass the file path to keywordjson_path
(optional parameter). -
Visit https://cloudy-sfu.github.io/Dippy-visualization in browser, and click file upload button to load the JSON file, which is exported in step 3.
If coming across the error like the following, please install VC++ runtime and reboot the computer.
ImportError: DLL load failed: the specified module could not be found.