Mentions légales du service

Skip to content
Snippets Groups Projects
Open Little problems in install script for Python Wrapper
  • View options
  • Little problems in install script for Python Wrapper

  • View options
  • Open Issue created by Mikhaël Myara

    Hello, I installed today PaStiX on both a Debian and a Rockly Linux (RH). Both exhibit two small problems (easy to solve) :

    A. after building pastix (cmake+make) in a folder called "build", the PASTIX/build/spm/bin/spm_env.sh contains a bad path for python : by default, I have :

    PYTHONPATH=$PYTHONPATH:$SPM_DIR/lib/python

    whereas a working command is :

    export PYTHONPATH=$PYTHONPATH:$SPM_DIR/lib/python3.11/site-packages/

    Also, on my debian, it was written python3.11 whereas on rocky linux it was python3.10.

    B. during the installation, the library populates the /usr/local folder. Examples are given in the /usr/local/share/doc/pastix/examples/python If I take for example simple.py, at the head of the file I have :

    import pypastix as pastix

    whereas if I source the spm environment file discussed in section A of this message, I have to change this simply as import pastix if I want the example to work.

    I also have a question : did someone try to compile pastix for windows, or is it only not supported ?

    Best Regards, Mikhaël

    • Merge request
    • Branch

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading