Skip to content

Python UPF Problem #1078

Answered by germa89
kkytg asked this question in Q&A
Apr 28, 2022 · 2 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @kkytg

From this:

PYTHON VERSION : 3.6
**Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'

Current thread 0x00007f0e4f203700 (most recent call first):
/ansys_inc/v221/ansys/bin/ansupf221: line 90:  2800 Aborted                 (core dumped) python${PYTHON_VER} -m pip install ${ANSYS_DIR}/syslib/ansGRPC/User/mapdl-pyupf.tar.gz --user > /dev/null
Fatal Python error: Py_Initialize: Unable to get the locale encoding
ModuleNotFoundError: No module named 'encodings'**

It seems to me that the module encodings is not installed in the default python3.6 environment.

You can install that package using the following:

/usr/bin/py…

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@kkytg
Comment options

Comment options

You must be logged in to vote
2 replies
@kkytg
Comment options

@germa89
Comment options

Answer selected by germa89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants