The Linux installation of Python 3.5.2 encountered the following error
Could not find platform dependent libraries < exec_prefix>
Consider setting $PYTHONHOME to < prefix> [:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: GB18030
Solution:
Before the web.config
Export LANG= zh_cn.utf-8
export LANGUAGE= zh_cn.utf-8
Could not find platform dependent libraries < exec_prefix>
Consider setting $PYTHONHOME to < prefix> [:<exec_prefix>]
Fatal Python error: Py_Initialize: Unable to get the locale encoding
LookupError: unknown encoding: GB18030
Solution:
Before the web.config
Export LANG= zh_cn.utf-8
export LANGUAGE= zh_cn.utf-8
Read More:
- Lookuperror: unknown encoding: cp65001 when executing Python
- Idapython: the solution of importing “site” failed error
- locale.Error : the solution of unsupported locale setting
- Solutions to the failure of importing Python 3.7 SSL module
- Python2.7 IOError: [Errno 0] Error when the cmd encoding is utf-8
- Fatal Python error: Py_Initialize: unable to load the file system codec.
- Solve the problem of Python in Windows environment: Fatal error in launcher: Unable to create process using’”‘ in pip installation
- pygobject pip3 upgrade problem: ERROR: Failed building wheel for pycairo
- fatal error: Python.h: No such file or directory
- (Copy python package, the problem generated) pip Fatal error in launcher: Unable to create process using
- UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 0-2: ordinal not in range(128)
- Solve fatal error: ‘FFI. H’ file not found
- PHP error Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 Fatal error:
- cenos Upgrade g++ gcc(cc1plus: error: unrecognized command line option “-std=c++11”)
- [uboot]uboot 2019.04 port errors
- fatal error: Python.h: No such file or directory compilation terminated.
- CMake Error at CMakeLists.txt:5 (PROJECT): The CMAKE_C_COMPILER: cl is not a full path
- How to Fix gdb error: Failed to import the site module,No module named ‘_sysconfigdata_m’
- [unity] Android package error java.lang.ClassNotFoundException Did not find class com.unity3d . player.MainActivity
- Running setup.py install for sasl … error