[Python] GaiaXPy linefinder installation

Discussão em 'Python' iniciado por Stack, Agosto 30, 2025.

  1. Stack

    Stack Membro Participativo

    for a small project I want to use the GaiaXPy linefinder https://gaia-dpci.github.io/GaiaXPy-website/tutorials/Linefinder tutorial.html

    GaiaXPy is working, but apparently I have to install the linefinder separately.

    I tried to follow the steps, but was not able to install the python package. Could someone help? I'm not an expert for that.

    On the website it says: To access it, you need to obtain the code from the line-finder branch and install the package from source.

    How do I get to the "line-finder branch" and install the package from the source?

    I used (from: https://gaiaxpy.readthedocs.io/en/latest/installation.html#from-source):

    Clone the repository


    git clone https://github.com/gaia-dpci/GaiaXPy

    Or, optionally, you can clone just a specific branch in the repo


    git clone --branch my-branch https://github.com/gaia-dpci/GaiaXPy

    Navigate to the GaiaXPy directory


    cd GaiaXPy

    Create a virtual environment


    python3 -m venv .env

    Activate the environment


    source .env/bin/activate

    Install the package


    python setup.py install

    Or alternative installation command


    pip install -e .

    But then the example code was still not working.

    Best regards!

    I tried uninstalling/installing the whole GaiaXPy.

    Also the installation with only

    But I couldn't execute for example:

    from gaiaxpy import find_fast

    I get the errormessage: ImportError: cannot import name 'find_extrema' from 'gaiaxpy'

    Continue reading...

Compartilhe esta Página