1

When I run my compiled program (cx_Freeze) it says __init__line 31. no module named codecs.

I have Python 3.6, does anybody know why it says that, and how to maybe fix it?

I have seen the other questions here on StackOverflow, but they don't seem to solve the problem for me and possibly other too.

Thanks in advance!

Xantium
  • 11,201
  • 10
  • 62
  • 89
  • 3
    Possible duplicate of https://stackoverflow.com/questions/42961944/cx-freeze-no-module-named-codecs – Chetan_Vasudevan Nov 17 '17 at 21:40
  • 5
    Possible duplicate of [cx\_Freeze: "No module named 'codecs'"](https://stackoverflow.com/questions/42961944/cx-freeze-no-module-named-codecs) – Kevin Nov 17 '17 at 21:42

1 Answers1

1

If you are using cx_Freeze 5.1, there was a bug that resulted in this error. It has been corrected in the source so if you checkout the latest source and compile it yourself it should work for you. If not, let me know!

Anthony Tuininga
  • 6,388
  • 2
  • 14
  • 23