Python 3.6 problems with using Pyinstaller to package EXE files

Source: Internet
Author: User

I did a cryptographic decryption of the small software, want to package into EXE files. Search on the internet found Pyinstaller use simple points.

Keep a record of yourself having problems here

Use Python version 3.6 to install directly with PIP

Pip Install Pyinstaller

The installation process was smooth and the installation was 3.2.1 version

Use looks also very simple, pyinstaller-f example.py generate a single EXE file, specific other commands for the time being not detailed, online there are many great God's summary

However, the error during execution:

Indexerror:tuple index out of range

At first I thought I had a problem with writing, but Python example.py does not have a problem, it should be pyinstaller and python incompatible, found the answer in a great God.

Rtfm:pyinstaller 3.2.1 does not support Python 3.6

The latest version does not support Python 3.6, feel the despair, why I want to use Python 3.6 ...

Fortunately another great God pointed out the maze.

The latest version on GitHub has been supported, but it hasn't been released yet. In his way, the final implementation of the generated EXE file

Download: Https://github.com/pyinstaller/pyinstaller Zip package, find the Pyinstaller folder, replace the/python/lib/site-packages/pyinstaller is resolved.


This article is from the "Amnesiasun" blog, make sure to keep this source http://amnesiasun.blog.51cto.com/10965283/1935106

Python 3.6 problems with using Pyinstaller to package EXE files

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.