Skip to content

problem inside alienv enviroment #758

@mmeres

Description

@mmeres

Dear expert,
I am getting some issues if I use some commands inside alienv. For example:
For all commands containing aliBuild command I got:
mmeres@mmeres-desktop:~$ aliBuild version
Python path configuration:
PYTHONHOME = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
PYTHONPATH = '/home/mmeres/alice/sw/ubuntu2004_x86-64/xjalienfs/1.3.7-9/lib/python/site-packages:/home/mmeres/alice/sw/ubuntu2004_x86-64/ROOT/v6-24-06-24/lib:/home/mmeres/alice/sw/ubuntu2004_x86-64/XRootD/v5.4.2-alice1-6/lib/python/site-packages:/home/mmeres/alice/sw/ubuntu2004_x86-64/Python-modules/1.0-15/share/python-modules/lib/python/site-packages:/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python/site-packages'
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.base_exec_prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.executable = '/usr/bin/python3'
sys.prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.exec_prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.path = [
'/home/mmeres/alice/sw/ubuntu2004_x86-64/xjalienfs/1.3.7-9/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/ROOT/v6-24-06-24/lib',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/XRootD/v5.4.2-alice1-6/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python-modules/1.0-15/share/python-modules/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python38.zip',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python3.8',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python3.8/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f03c5713740 (most recent call first):

Even for nonsense I am getting the same:
mmeres@mmeres-desktop:~$ ewerqwe
Python path configuration:
PYTHONHOME = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
PYTHONPATH = '/home/mmeres/alice/sw/ubuntu2004_x86-64/xjalienfs/1.3.7-9/lib/python/site-packages:/home/mmeres/alice/sw/ubuntu2004_x86-64/ROOT/v6-24-06-24/lib:/home/mmeres/alice/sw/ubuntu2004_x86-64/XRootD/v5.4.2-alice1-6/lib/python/site-packages:/home/mmeres/alice/sw/ubuntu2004_x86-64/Python-modules/1.0-15/share/python-modules/lib/python/site-packages:/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python/site-packages'
program name = '/usr/bin/python3'
isolated = 0
environment = 1
user site = 1
import site = 1
sys._base_executable = '/usr/bin/python3'
sys.base_prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.base_exec_prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.executable = '/usr/bin/python3'
sys.prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.exec_prefix = '/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2'
sys.path = [
'/home/mmeres/alice/sw/ubuntu2004_x86-64/xjalienfs/1.3.7-9/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/ROOT/v6-24-06-24/lib',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/XRootD/v5.4.2-alice1-6/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python-modules/1.0-15/share/python-modules/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python/site-packages',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python38.zip',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python3.8',
'/home/mmeres/alice/sw/ubuntu2004_x86-64/Python/v3.6.10-2/lib/python3.8/lib-dynload',
]
Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding
Python runtime state: core initialized
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f6738b0e740 (most recent call first):

For git pull --rebase in /alice/AliPhysics directory:
mmeres@mmeres-desktop:
/alice/AliPhysics$ git pull --rebase
/usr/lib/git-core/git-remote-https: symbol lookup error: /usr/lib/x86_64-linux-gnu/libssh.so.4: undefined symbol: EC_KEY_free, version OPENSSL_1_1_0

Outside of alienv everything works fine:
mmeres@mmeres-desktop:~$ aliBuild version
aliBuild version: v1.11.3 (ubuntu2004_x86-64)

Thank you for your care. Best regards, Michal.

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