I use Python 2.7 and py2exe and recently I downloaded gui2exe latest version (5.3). But when I try to execute the gui2exe.py
file, it gives me an error:
AttributeError: 'module' object has no attribute 'Popen'
I researched so much but never got any solution.
Please help.
Looks like something is masking subprocess.py
from the standard library. The error message may show a stale path. Therefore open a Python shell right in the directory you start GUI2exe.py
from and type:
>>> import subprocess
>>> subprocess.__file__
This should give you 'C:\Python27\lib\subprocess.pyc'
. If not, you found the problem. Somehow another subprocess.py
made it into your PYTHONPATH.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With