简体   繁体   中英

py2exe will not install

I am trying to download py2exe but every time that run the setup program it says "no python installation found in registry" but I have downloaded python 3.4 and have it on my computer working? please help.

I'm using a 64 bit computer with the 64 bit py2exe, I downloaded python from the python website. And i'm on windows 8

尝试使用cx_Freeze代替py2exe。

I assume that you have installed everything properly. In your install settings you can choose if you want to assign the system variable python.as you can see from the point 3.3 of the documentation , you should:

3.3.1. Excursus: Setting environment variables¶

Windows has a built-in dialog for changing environment variables (following guide applies to XP classical view): Right-click the icon for your machine (usually located on your Desktop and called “My Computer”) and chooseProperties there. Then, open the Advanced tab and click the Environment Variables button.

In short, your path is:

My Computer / Properties / Advanced / Environment Variables

In this dialog, you can add or modify User and System variables. To change System variables, you need non-restricted access to your machine (ie Administrator rights).

Another way of adding variables to your environment is using the set command:

set PYTHONPATH=%PYTHONPATH%;C:My_python_lib

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM