Hqueue Client Linux Python Issue

   875   1   0
User Avatar
Member
42 posts
Joined: Sept. 2016
Online
Getting this when running a USD render job on a linux (Ubuntu 20) machine:

 The Houdini 20.0.590 environment has been initialized.
Python path configuration:
  PYTHONHOME = '/home/hquser/hqclient'
  PYTHONPATH = (not set)
  program name = '/opt/hfs20.0/python/bin/python3.10'
  isolated = 0
  environment = 1
  user site = 1
  import site = 1
  sys._base_executable = '/opt/hfs20.0/python/bin/python3.10'
  sys.base_prefix = '/home/hquser/hqclient'
  sys.base_exec_prefix = '/home/hquser/hqclient'
  sys.platlibdir = 'lib'
  sys.executable = '/opt/hfs20.0/python/bin/python3.10'
  sys.prefix = '/home/hquser/hqclient'
  sys.exec_prefix = '/home/hquser/hqclient'
  sys.path = [
    '/home/hquser/hqclient/lib/python310.zip',
    '/home/hquser/hqclient/lib/python3.10',
    '/home/hquser/hqclient/lib/python3.10/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 0x00007f8d63129740 (most recent call first):
  <no Python frame>

Looked inside '/home/hquser/hqclient/lib' and there are no python 3.10 files just 2.7
Edited by dany27227 - Jan. 29, 2024 07:13:08
User Avatar
Member
42 posts
Joined: Sept. 2016
Online
Fixed by forcing both PYTHONHOME and PYTHONPATH to be blank at the end of $HFS/houdini_source_bash .
  • Quick Links