# Problems with Julia 1.0 on Mac os

**URL:** <https://discourse.julialang.org/t/problems-with-julia-1-0-on-mac-os/14687>\
**Category:** Performance\
**Created:** [September 7, 2018, 10:58pm UTC](https://discourse.julialang.org/t/problems-with-julia-1-0-on-mac-os/14687 "2018-09-07T22:58:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rverdier](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rverdier/32/9104_2.png) [@rverdier](https://discourse.julialang.org/u/rverdier)\
**Post date:** [September 7, 2018, 10:58pm UTC](https://discourse.julialang.org/t/problems-with-julia-1-0-on-mac-os/14687/1 "2018-09-07T22:58:43Z")

</div>

In order to learn Julia, I want to convert my course, Programming in Python with Graphics Applications, to Julia. Using OS 10.13.6 on a MacBook Pro, I immediately ran into two problems:  
1: All the docs say to use quit(), exit(), or ^d to exit. But these simply leave the Julia REPL window hung until I dismiss it.  
2: Python uses Tk graphics, and the Julia Tk library package installs, but when I try to compile, even after rebuilding it, I get the error  
Error: Error building `Tk`:  
│ ERROR: LoadError: UndefVarError: is\_windows not defined  
I would appreciate any help.

---

<div class="post-metadata">

**Author:** ![simonbyrne](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simonbyrne/32/19_2.png) [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Post date:** [September 7, 2018, 11:04pm UTC](https://discourse.julialang.org/t/problems-with-julia-1-0-on-mac-os/14687/2 "2018-09-07T23:04:28Z")

</div>

> [@rverdier](#):
>
> 1: All the docs say to use quit(), exit(), or ^d to exit. But these simply leave the Julia REPL window hung until I dismiss it.

This is a property of the Mac Terminal.app:

1. with the Terminal open, go to the **Terminal** menu \> **Preferences** ,
2. click on **Profiles** tab, then the **Shell** subtab
3. change the **“When the shell exits”** dropdown to _“Close the shell if exited cleanly”_

> [@rverdier](#):
>
> 2: Python uses Tk graphics, and the Julia Tk library package installs, but when I try to compile, even after rebuilding it, I get the error

The [Tk.jl](https://github.com/JuliaGraphics/Tk.jl) package looks unmaintained, so I suspect it will only work on Julia 0.6 at the moment. You could try [Gtk.jl](https://github.com/JuliaGraphics/Gtk.jl).
