本文主要是介绍pyinstaller安装出现'NoneType' object has no attribute 'rfind'问题解决,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
pyinstaller出现’NoneType’ object has no attribute ‘rfind’问题解决
用pyinstaller-2.0在linux上打包一个文件,直接运行的源代码pyinstaller.py进行安装:
./pyinstaller-2.0/pyinstaller.py -F main.py
报下面的错误:
Traceback (most recent call last):File "./pyinstaller-2.0/pyinstaller.py", line 91, in <module>main()File "./pyinstaller-2.0/pyinstaller.py", line 86, in mainrun_build(opts, spec_file)File "./pyinstaller-2.0/pyinstaller.py", line 50,
这篇关于pyinstaller安装出现'NoneType' object has no attribute 'rfind'问题解决的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!