Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem inside alienv enviroment #758

Open
mmeres opened this issue May 5, 2022 · 0 comments
Open

problem inside alienv enviroment #758

mmeres opened this issue May 5, 2022 · 0 comments

Comments

@mmeres
Copy link

mmeres commented May 5, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant