solution Pyinstaller installation appears 'Nonetype' Object Has No Attribute 'RFIND' problem

created at 06-26-2021 views: 62

Pack a file on Linux with Pyinstaller-2.0, and run the source code to install:

./pyinstaller-2.0/ -F

Report below:

AttributeError: 'NoneType' object has no attribute 'rfind'

I checked it online, someone mentioned the BUG of the previous version of Pyinstaller, so I tried to update the latest version Pyinstaller:

pip install

Then run Pyinstaller, problem solved, and you can package it again.

created at:06-26-2021
edited at: 06-26-2021: