# Syntax: unexpected "end"

**URL:** <https://discourse.julialang.org/t/syntax-unexpected-end/23075>\
**Category:** General Usage\
**Tags:** question\
**Created:** [April 12, 2019, 12:25pm UTC](https://discourse.julialang.org/t/syntax-unexpected-end/23075 "2019-04-12T12:25:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yingjie\_zhu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yingjie_zhu/32/7941_2.png) [@yingjie\_zhu](https://discourse.julialang.org/u/yingjie_zhu)\
**Post date:** [April 12, 2019, 12:25pm UTC](https://discourse.julialang.org/t/syntax-unexpected-end/23075/1 "2019-04-12T12:25:14Z")

</div>

这个问题怎么解决？？

 ![Screenshot%20from%202019-04-12%2020-16-08](https://global.discourse-cdn.com/julialang/original/3X/2/a/2ae26d5f8e1bf8eddefbab37d7a3224df5d83c83.png) ![Screenshot%20from%202019-04-12%2020-15-54](https://global.discourse-cdn.com/julialang/original/3X/5/4/54f67484e894a2fa79f76396cf91b29cb337319c.png) ![Screenshot%20from%202019-04-12%2020-15-16](https://global.discourse-cdn.com/julialang/original/3X/6/e/6ecee195b46cd0053acf75394b1dd28667d51a40.png)

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [April 12, 2019, 12:35pm UTC](https://discourse.julialang.org/t/syntax-unexpected-end/23075/2 "2019-04-12T12:35:50Z")

</div>

Welcome to the forum!

It is generally better to copy-paste the output instead of posting images.

The error `syntax: unexpected end` means that you have the keyword `end` somewhere where you shouldn’t, probably close to line 50 in `setup.jl` based on the error message. This can for example happen if you try to use `end` as a variable etc:

```julia
julia> end = 1
ERROR: syntax: unexpected "end"

```
