1)我电脑同时装了python2.7与python3.6,这样在命令提示符下运行pyinstaller 时他会用那个版本的python进行打包?
2)运行pyinstaller xxx.py时一直报“”UnicodeDecodeError: 'ascii' codec can't decode byte 0xc7 in position 22: ordinal not in range(128)“”这个错误
求大神指点 (我的pyinstaller是3.2.1版本)
第二个是编码的问题
试下这个
# encoding=utf8 import sys reload(sys) sys.setdefaultencoding('utf8')
最好 删除掉某一个 python
可以通过 python --version 知道你当前cmd下面是用哪个版本的