use tkinter for nltk draw inside of jupyter notebook
问题 I'm trying to draw graph ( inline ) of nltk inside of jupyter-notebook . But got error: TclError: no display name and no $DISPLAY environment variable I have tried to set $DISPLAY to different values: $env DISPLAY=0.0 # or $env DISPLAY=inline # or $env DISPLAY= but got error (or similar): TclError: couldn't connect to display "0.0" here is my code https://github.com/hyzhak/nltk-experiments/blob/master/main.ipynb the last cell. Environment: official anaconda3 docker -- continuumio/anaconda3:4