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

ch02_basics/types.py causing Jupyter Notebook kernel to crash ["Fix" included] #23

Open
Codegnosis opened this issue Oct 2, 2017 · 0 comments

Comments

@Codegnosis
Copy link

Codegnosis commented Oct 2, 2017

Hi,

Just a heads up - the types.py is causing Jupyter Notebook's kernel to crash when attempting to load any of the ipynb notebooks:

(Snipped stacktrace)
...
File "~/opt/anaconda3/lib/python3.5/functools.py", line 22, in
from types import MappingProxyType
File "~/DEEP_LEARNING/research/TensorFlow-Book/ch02_basics/types.py", line 3, in
...

Fix: renaming types.py to types_examples.py (or any non site-package/standard lib name) fixes the issue.

Hope that helps!

@Codegnosis Codegnosis changed the title types.py causing Jupyter Notebook kernel to crash [Fix included] types.py causing Jupyter Notebook kernel to crash ["Fix" included] Oct 2, 2017
@Codegnosis Codegnosis changed the title types.py causing Jupyter Notebook kernel to crash ["Fix" included] ch02_basics/types.py causing Jupyter Notebook kernel to crash ["Fix" included] Oct 3, 2017
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