# Problem in ascii\_upper.py (in PyQt) when convert Python to exe

**URL:** https://forum.highend3d.com/t/problem-in-ascii-upper-py-in-pyqt-when-convert-python-to-exe/48665
**Category:** Maya
**Tags:** python
**Created:** [October 21, 2010, 11:47am UTC](https://forum.highend3d.com/t/problem-in-ascii-upper-py-in-pyqt-when-convert-python-to-exe/48665 "2010-10-21T11:47:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![highend3djojan-](https://forum.highend3d.com/letter_avatar_proxy/v4/letter/h/c68b51/32.png) [@highend3djojan-](https://forum.highend3d.com/u/highend3djojan-)
#### Post date: [October 21, 2010, 11:47am UTC](https://forum.highend3d.com/t/problem-in-ascii-upper-py-in-pyqt-when-convert-python-to-exe/48665/1 "2010-10-21T11:47:22Z")

</div>

Hi,

I 'm getting this error when trying to create exe from python (using&nbsp; 'python setup.py py2exe --includes sip'&nbsp; as command) :

running py2exe  
 \*\*\* searching for required modules \*\*\*  
 error: compiling 'C:\Python25\lib\site-

packages\PyQt4\uic\port\_v3\ascii\_upper.py  
 ' failed  
&nbsp;&nbsp;&nbsp; SyntaxError: invalid syntax (ascii\_upper.py, line 2)

i import PyQt4.uic in the python file, to load Qt's .ui file.

Thnx
