Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #85066 > unrolled thread
| Started by | "iMath" <2281570025@qq.com> |
|---|---|
| First post | 2015-02-01 12:51 +0800 |
| Last post | 2015-02-01 12:51 +0800 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
cx_Freeze:Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' "iMath" <2281570025@qq.com> - 2015-02-01 12:51 +0800
| From | "iMath" <2281570025@qq.com> |
|---|---|
| Date | 2015-02-01 12:51 +0800 |
| Subject | cx_Freeze:Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' |
| Message-ID | <mailman.18396.1422865180.18130.python-list@python.org> |
[Multipart message — attachments visible in raw view] — view raw
I downloaded cx_Freeze from here, installed it successfully on Ubuntu following this thread . After run python3 setup.py build in cx_Freeze/samples/simple,then change the dir to cx_Freeze/samples/simple/build/exe.linux-i686-3.4,run the following command ,I got the error ➜ exe.linux-i686-3.4 ./hello Fatal Python error: Py_Initialize: Unable to get the locale encoding ImportError: No module named 'encodings' [1] 3950 abort ./hello ➜ exe.linux-i686-3.4 any idea on fixing this issue ?
Back to top | Article view | comp.lang.python
csiph-web