在kali里生成qt py程序出错

错误:

    raise ImportError("No module named " + target_package_name)
ImportError: No module named _bootlocale
 

1解决办法:更新   pip install --upgrade pyinstaller

pyinstaller /home/kali/Desktop/test/main.py --exclude-module _bootlocal

2使用这个命令:

pyinstaller /home/kali/Desktop/test/main.py /home/kali/Desktop/test/untitled.py 

你可能感兴趣的:(Linux,linux,运维,服务器)