alexmojaki / snoop

A powerful set of Python debugging tools, based on PySnooper
MIT License
1.25k stars 35 forks source link

Pyinstaller Freezing Error #37

Open diVineProportion opened 3 years ago

diVineProportion commented 3 years ago

when freezing with pyinstaller (single file) on windows a NameError: name 'copyright' is not defined appears. Not sure if this is an issue with hidden imports or hooks, but I wasn't able to get it to work with a simple

import snoop

@snoop
def counter(start, end):
    for i in range(start, end):
        print(i)

if __name__ == "__main__":
    counter(1, 1000)
alexmojaki commented 3 years ago

Try pip install -U cheap_repr first.