# Error installing and use PyPlot in windows 10 x 64 in julia 0.6.1

**URL:** <https://discourse.julialang.org/t/error-installing-and-use-pyplot-in-windows-10-x-64-in-julia-0-6-1/7261>\
**Category:** New to Julia\
**Created:** [November 23, 2017, 2:45am UTC](https://discourse.julialang.org/t/error-installing-and-use-pyplot-in-windows-10-x-64-in-julia-0-6-1/7261 "2017-11-23T02:45:00Z")\
**Posts on this page:** 1\
**Page:** 2

<div class="post-metadata">

**Author:** ![leaoshark](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/leaoshark/32/11462_2.png) [@leaoshark](https://discourse.julialang.org/u/leaoshark)\
**Post date:** [November 29, 2017, 5:59pm UTC](https://discourse.julialang.org/t/error-installing-and-use-pyplot-in-windows-10-x-64-in-julia-0-6-1/7261/22 "2017-11-29T17:59:18Z")

</div>

> [@stevengj](#):
>
> ENV[“MPLBACKEND”]=“tkagg”  
> using PyPlot

julia\> ENV[“MPLBACKEND”]=“tkagg”  
“tkagg”

julia\> using PyPlotENV[“MPLBACKEND”]=“tkagg”  
ERROR: syntax: “(using PyPlotENV)” is not a valid function argument name

julia\> using PyPlot

julia\> plot(1:10)  
1-element Array{PyCall.PyObject,1}:  
PyObject \<matplotlib.lines.Line2D object at 0x000000002D806630\>

julia\> gui()  
ERROR: UndefVarError: gui not defined

julia\>

[Previous page](https://discourse.julialang.org/t/error-installing-and-use-pyplot-in-windows-10-x-64-in-julia-0-6-1/7261.md?page=1)
