billythegoat356 / pystyle

The source of my Python library, pystyle.
https://pypi.org/project/pystyle/
Eclipse Public License 2.0
205 stars 14 forks source link

Not styleing when coverted to exe #17

Open xman213 opened 2 years ago

xman213 commented 2 years ago

It works fine when run in a py file but when I use pyinstaller, It looks like this tsjRMTA

mouadessalim commented 1 year ago

i've had the same problem before, there is a module in your script creating conflict with pytyle. Don't import colorama or termcolor and try to import pystyle when using it. Don't import in the start of the script. Check how i did to import it for one of my project. If you start using the module first, try to find wich modulehave conflict with pystyle like below :

https://github.com/9P9/Discord-QR-Token-Logger/blob/2c51a26bed190c3bc00d9e71d9863f3b01fb699e/Discord-QR-Token-Logger/main.py#L50-L51