Skip to content

jupyter notebook does not work! Python-modules python3 link broken in Ubuntu 22.04 #5708

@victor-gonzalez

Description

@victor-gonzalez

Ubuntu 22.04
Since a while (not quite sure but at least six months), every time after updating alidist, O2 and O2Physics, and building O2Physics, starting jupyter notebook within the O2Physics environment loaded with alienv does not work giving the message

jupyter notebook &
[1] 298887
/localone/alice/sw/ubuntu2204_x86-64/Python-modules/1.0-42/bin/jupyter: 2: exec: /localone/alice/sw/ubuntu2204_x86-64/Python-modules/1.0-42/bin/python3: not found
[1]+  Exit 127                jupyter notebook

Checking the mentioned not found executable it is found that the corresponding link is broken pointing to non sense path

/localone/alice/sw/ubuntu2204_x86-64/Python-modules/1.0-42/bin $> ls -l
...
python3 -> /local/workspace/DailyBuilds/DailyO2-ubuntu2204/daily-tags.qxtIvdrB1W/ubuntu2204_x86-64/Python/v3.9.16-24/bin/python3
...

Re-creating what should be the proper link

localone/alice/sw/ubuntu2204_x86-64/Python-modules/1.0-42/bin $> rm python3
localone/alice/sw/ubuntu2204_x86-64/Python-modules/1.0-42/bin $> ln -s /localone/alice/sw/ubuntu2204_x86-64/Python/v3.9.16-24/bin/python3 python3

jupyter notebook works as it used to

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions