I'm encountering challenges integrating QIIME 2 (version 2024.2, installed via conda) with JupyterHub, which is running as a system service in a separate conda environment. My goal is to use QIIME 2's functionalities within JupyterHub, with QIIME 2 installed in its standalone environment and registered with ipywidgets in JupyterHub. Unfortunately I can't install the qiime2 widget for the JupyterHub, as it has JupyterLab version 4.1.2 and it uses ExtensionManager that uses PyPI as source of the extensions.
Partially. I have had problems with DADA2 to find the right path.
Overall in the invocation of the process, eithe if it is being run by subprocess or system, the conda run -n qiime2-amplicon-2024.2 seems like possible solution
Oh I suppose that issue would make sense. I'm unfamiliar if the Jupyter kernel for conda will activate the environment in a way that causes our hooks run (which unset R and Python local packages via an environment variable).
As a slightly more convenient in-between, you could try getting the kernel to set these environment variables to either nothing or some irrelevant value: