Skip to content

Conda Python Path interaction #311

@jadenecke

Description

@jadenecke

I am using conda venvs and neurocommand containers via lmod and everythings works as fine, with one unexpected interaction:
When I activate a conda environment and a FSL container the FSL module overrules the python binary from the conda environment (output of which python3 is .../neurocommand/local/containers/fsl_6.0.7.4_20231005/python3).
Basically the module Paths comes first in the PATH variable (i.e. .../neurocommand/local/containers/fsl_6.0.7.4_20231005), while the updated conda path is somewhere after.
I know that this is not a issue with neurocommand, however I dont know how to resolve the issue except loading and unloading the module a lot. I would be very happy if someone might have a solution or could point me in a specific direction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Completed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions