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

Running on Mac got error: UnboundLocalError: local variable 'self' referenced before assignment #852

Open
jackliu333 opened this issue Aug 12, 2018 · 1 comment

Comments

@jackliu333
Copy link

Tested successuful on Linux but not on Mac. Not sure if it's tensorflow issue because I made the change to async according to tensorflow/tensorflow#20444 to get tensorflow working but met the following error while running demo notebook.

UnboundLocalError: local variable 'self' referenced before assignment

@jackliu333
Copy link
Author

Turns out I was using Python3.7 that has some incompatibility issue with tensorflow. Worked fine when I switched to Python3.5.

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

1 participant