Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyinstaller Freezing Error #37

Open
diVineProportion opened this issue May 18, 2021 · 1 comment
Open

Pyinstaller Freezing Error #37

diVineProportion opened this issue May 18, 2021 · 1 comment

Comments

@diVineProportion
Copy link

diVineProportion commented May 18, 2021

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
Copy link
Owner

Try pip install -U cheap_repr first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants