Search code examples
python-3.xpy2exe

py2exe No such file or directory


I am following the tutorial here and when I try to run setup.py I get this

    running py2exe 
    Building 'dist\test.exe'. 
    error: [Errno 2] No such file or directory: 'C:\\Anaconda3\\lib\\site-packages\\py2exe\\run-py3.5-win-amd64.exe'

What am I doing wrong?


Solution

  • What is your python version? py2exe does not support Python 3.5, but you can use Python 3.4 or lower.