0

I tried installing py2exe for converting python code to a exe file using WinPython-64bit-2.7.9.4.

I downloaded the file py2exe-0.6.9.win64-py2.7.amd64.exe

from https://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/

While installing using WinPython Control Panel, it shows an error message as below.

enter image description here

Sugantharaja
  • 121
  • 1
  • 3
  • 14
  • For the sake of people doing internet searches, here's the text of the error: "The following packages filenaming are not recognized by WinPython Control Panel: py2exe-0.6.9.win64-py2.7.amd64.exe" – MD004 Apr 02 '17 at 19:10

2 Answers2

2

rename it as py2exe-0.6.9.win-amd64.exe, then try again

stonebig
  • 1,193
  • 1
  • 9
  • 13
0

Sometimes it doesn't matter what the file is called, WinPython control panel won't like it. In this case, open up "WinPython Command Prompt.exe" (which is in the same directory as WinPython Control Panel) and run:

python -m pip install "name-of-python-package.whl"

Note: pip also requires the package filename to be formatted correctly, but if you have the latest version of pip and the latest python package, you should be fine.

This question is also related: .whl is not a valid wheel filename, storing debug log for failure in C:\

Community
  • 1
  • 1
MD004
  • 581
  • 1
  • 7
  • 19