Message206938
An alternative solution, which worked for me, is:
add file named sitecustomize.py in Lib\site-packages folder.
The contents of the file:
import sys
sys.setdefaultencoding("cp1251")
The default encoding should be determined for every localized Windows version.
Also, when creating virtual environments, the same file should be placed in site-packages folder of virtual environment being created prior to installing setuptools in it. |
|
Date |
User |
Action |
Args |
2013-12-26 14:23:23 | me21 | set | recipients:
+ me21, vstinner, tim.golden, eric.araujo, kaizhu, aclover, r.david.murray, brian.curtin, Suzumizaki, frankoid, Dmitry.Jemerov, shimizukawa, vldmit, Vladimir Iofik, Roman.Evstifeev, adamhj, Hugo.Lol |
2013-12-26 14:23:23 | me21 | set | messageid: <1388067803.23.0.267961588614.issue9291@psf.upfronthosting.co.za> |
2013-12-26 14:23:23 | me21 | link | issue9291 messages |
2013-12-26 14:23:22 | me21 | create | |
|