Python Fix: cp720 encoding

Date November 6, 2007

I recently found a fix for getting the error unknown encoding: cp720 in a third party python application. I had previously written a work around for your own created applications but for third party applications it would be somewhat tedious to go around and implement this solution, also it may provide unnecessary and unknown outcomes.

The Error:

Command failed: unknown encoding: cp720

The Solution:

  1. Download cp720.zip
  2. Deflate the zip file.
  3. Copy or Move the file cp720.py into your python encodings folder.
    • Example: C:\Python24\Lib\encodings\

Restart the python application and hopefully that should work for you now.

Resources:
http://bugs.python.org/issue1616979
https://lists.ubuntu.com/archives/bazaar/2006q4/020513.html

Possible Related Posts


    Fatal error: Call to undefined function related_posts() in /homepages/14/d204185968/htdocs/blog/wp-content/themes/Cleaker/single.php on line 12