Before installing the package, configure the runtime environment correctly:
- Open a new notebook in Google Colab.
- Navigate to
Runtime → Change runtime type. - Set the runtime configuration as follows:
- Runtime type: Python 3
- Hardware accelerator: TPU
- TPU type: v2-8
- Click Save to apply the configuration.
Using the recommended TPU configuration ensures compatibility with workflows that may require TPU-based computation.
In a new notebook cell, install the package:
!pip install malariagen_dataAfter installation completes, verify that the package is available:
import malariagen_dataIf the import executes without errors, the installation was successful.
If dependency-related warnings or conflicts occur, follow one of the resolution options described below.
If your notebook does not require panel, uninstall it before
installing malariagen_data.
!pip uninstall -y panel
!pip install malariagen_dataVerify installation:
import malariagen_dataIf your workflow depends on panel, install a compatible version:
!pip install panel==1.7.0
!pip install malariagen_dataRestart the runtime:
Runtime → Restart runtime
Then verify:
import malariagen_dataIf a blinker version conflict occurs:
!pip install blinker==1.9.0 --ignore-installed
!pip install malariagen_dataRestart the runtime and verify:
import malariagen_dataAfter completing any of the procedures above:
- Ensure that
malariagen_datainstalls without dependency errors. - Confirm that
import malariagen_dataruns successfully. - Restart the runtime whenever core dependencies are modified.
- Avoid mixing incompatible package versions within the same Colab session.