Installation

Requirements

  • Python >= 3.8

  • IPython >= 7.0

  • Must be running on a Hubzero environment with SESSION and SESSIONDIR environment variables set

Installing from PyPI

The recommended way to install nanohub-gradio is via pip:

pip install nanohub-gradio

Installing from Source

You can also install directly from the GitHub repository:

pip install git+https://github.com/denphi/nanohub-gradio.git

For development, clone the repository and install in editable mode:

git clone https://github.com/denphi/nanohub-gradio.git
cd nanohub-gradio
pip install -e .

Verifying Installation

After installation, you can verify that the package is installed correctly:

import nanohubdash
print(nanohubdash.__version__)

Or check that the command-line tool is available:

start_dash --help