Skip to content

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

@veiguf

Description

@veiguf

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!

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions