This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients rosarion, terry.reedy
Date 2020-03-20.20:03:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This tracker is for improving future versions of python.  Questions about using current python belong on python-list or other help forums, such as stackoverflow.  Reading the following will help you ask good questions.

A few notes:
1. The minimal example is likely 'import tensorflow as tf'.
2. The 'shell' part of your post is not copied from an interactive session (IDLE?), as there are no prompts.
3. The typical reason for the same import working and then not working is running the import with two different python binaries with different installed 3rd-party packages.  If you ran twice in the same IDLE, once interactively and once from an editor, that would not be an issue, and I would not know why the difference.
4. Tensorflow keras assumes that it is outputting to a text terminal, which IDLE is not, so there may be glitches in output formatting.
Date User Action Args
2020-03-20 20:03:14terry.reedysetrecipients: + terry.reedy, rosarion
2020-03-20 20:03:14terry.reedysetmessageid: <>
2020-03-20 20:03:14terry.reedylinkissue39975 messages
2020-03-20 20:03:13terry.reedycreate