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

How to set correct Python path and Kratos path in GiD #998

Open
veiguf opened this issue Nov 26, 2024 · 0 comments
Open

How to set correct Python path and Kratos path in GiD #998

veiguf opened this issue Nov 26, 2024 · 0 comments
Assignees

Comments

@veiguf
Copy link

veiguf commented Nov 26, 2024

Hi, I successfully compiled Kratos in Ubuntu 24.04 and from terminal it works fine.
can you please help me to set the correct Python path and Kratos path in GiD?

Here what I tried:
Image

And here the resulting error:

Python path configuration:
  PYTHONHOME = '/usr/bin'
  PYTHONPATH = '/home/veit/opt/Kratos/bin/Release:'
  program name = '/usr/bin/python3.11'
  isolated = 0
  environment = 1
  user site = 1
  safe_path = 0
  import site = 1
  is in build tree = 0
  stdlib dir = '/usr/bin/lib/python3.11'
  sys._base_executable = '/usr/bin/python3.11'
  sys.base_prefix = '/usr/bin'
  sys.base_exec_prefix = '/usr/bin'
  sys.platlibdir = 'lib'
  sys.executable = '/usr/bin/python3.11'
  sys.prefix = '/usr/bin'
  sys.exec_prefix = '/usr/bin'
  sys.path = [
    '/home/veit/opt/Kratos/bin/Release',
    '/tmp/gidNHnM4p/UNNAMED.gid',
    '/usr/bin/lib/python311.zip',
    '/usr/bin/lib/python3.11',
    '/usr/bin/lib/python3.11/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 0x00007edbdc378080 (most recent call first):
  <no Python frame>

I appreciate any help!

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

No branches or pull requests

3 participants