Hello,
I tried to execute the python script by Catalyst, but I got this error message, could you provide some ideas to solve it? Thanks for your help!
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Fatal Python error: initfsencoding: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'
Current thread 0x00002aaaaab9e840 (most recent call first):
Loguru caught a signal: SIGABRT
Stack trace:
15 0x20002d8a /global/cscratch1/sd/zw241/build_monavtk/./example/MandelbulbCatalystExample/MandelbulbDynamic() [0x20002d8a]
14 0x2aaab65f334a __libc_start_main + 234
13 0x20002c51 /global/cscratch1/sd/zw241/build_monavtk/./example/MandelbulbCatalystExample/MandelbulbDynamic() [0x20002c51]
12 0x200062d1 /global/cscratch1/sd/zw241/build_monavtk/./example/MandelbulbCatalystExample/MandelbulbDynamic() [0x200062d1]
11 0x2aaaab2f36ab InSitu::MonaInitialize(std::string const&) + 91
10 0x2aaaad08b5cb vtkCPPythonScriptPipeline::New() + 27
9 0x2aaaad08b589 vtkCPPythonScriptPipeline::vtkCPPythonScriptPipeline() + 9
8 0x2aaaad08b0f1 vtkCPPythonPipeline::vtkCPPythonPipeline() + 33
7 0x2aaaad08a920 /global/cscratch1/sd/zw241/build_paraview_matthieu/lib64/libvtkPVPythonCatalyst-pv5.8.so.1(+0x5920) [0x2aaaad08a920]
6 0x2aaab25fd56c vtkPythonInterpreter::Initialize(int) + 684
5 0x2aaaab1ec7fd Py_InitializeEx + 148
4 0x2aaaab1eaf05 Py_FatalError + 0
3 0x2aaaab1eae97 /global/cscratch1/sd/zw241/build_monavtk/example/MandelbulbCatalystExample/libCatalystMandelbulbAdaptor.so(+0xe1e97) [0x2aaaab1eae97]
2 0x2aaab6609b01 abort + 337
1 0x2aaab6608520 gsignal + 272
0 0x2aaab2a502d0 /lib64/libpthread.so.0(+0x132d0) [0x2aaab2a502d0]
( 0.569s) [pvbatch ] :0 FATL| Signal: SIGABRT
The python3 looks good if I execute it in the command line:
Python 3.7.4 (default, Aug 13 2019, 20:35:49)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>