# Issues with PyPlot usage

**URL:** <https://discourse.julialang.org/t/issues-with-pyplot-usage/4425>\
**Category:** New to Julia\
**Created:** [June 23, 2017, 1:12pm UTC](https://discourse.julialang.org/t/issues-with-pyplot-usage/4425 "2017-06-23T13:12:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uma](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@Uma](https://discourse.julialang.org/u/Uma)\
**Post date:** [June 23, 2017, 1:12pm UTC](https://discourse.julialang.org/t/issues-with-pyplot-usage/4425/1 "2017-06-23T13:12:13Z")

</div>

Hi!

I downloaded Version 0.5.2 of julia in windows(64 bit). When I added the PyPlot package, it had errors.I am unable to use the package.  
Upon building the package, I received the following:

```julia
===========================================================================================[ERROR: PyCall]============================================================================================

LoadError: type Void has no field captures
while loading C:\Users\Uma\AppData\Roaming\SPB_Data\.julia\v0.5\PyCall\deps\build.jl, in expression starting on line 258

========================================================================================================================================================================================================

============================================================================================[BUILD ERRORS] ]==========================================

WARNING: PyCall had build errors.

 - packages with build errors remain installed in C:\Users\Uma\AppData\Roaming\SPB_Data\.julia\v0.5
 - build the package(s) and all dependencies with `Pkg.build("PyCall")`
 - build a single package by running its `deps/build.jl` script

======================================================================================================================================================

```

Any suggestions?

Uma

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihnorton/32/26_2.png) [@ihnorton](https://discourse.julialang.org/u/ihnorton)\
**Post date:** [June 23, 2017, 1:27pm UTC](https://discourse.julialang.org/t/issues-with-pyplot-usage/4425/2 "2017-06-23T13:27:50Z")

</div>

I just tested a clean PyPlot install with 0.5.2 on Win10/x64 (no other Python installed) and it worked fine. I would guess something wrong with the Python install – maybe from an existing install in your PATH. Try running `Pkg.build("PyCall")` and paste the output, in particular look for which Python it has selected (`INFO: PyCall is using: ...`).

---

<div class="post-metadata">

**Author:** ![ihnorton](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ihnorton/32/26_2.png) [@ihnorton](https://discourse.julialang.org/u/ihnorton)\
**Post date:** [June 23, 2017, 1:53pm UTC](https://discourse.julialang.org/t/issues-with-pyplot-usage/4425/3 "2017-06-23T13:53:28Z")

</div>

By the way, if you are just starting out with Julia, use 0.6 instead! PyPlot / Win10 / 0.6 worked fine for me.

> [@Julia 0.6.0 released](https://discourse.julialang.org/t/julia-0-6-0-released/4351):
>
> At long last, we can announce the final release of Julia 0.6.0! See the [release notes](https://github.com/JuliaLang/julia/blob/release-0.6/NEWS.md) for more details. Binaries are available from the [usual place](https://julialang.org/downloads/), and please report all issues to either the [issue tracker](https://github.com/JuliaLang/julia/issues) or on discourse. Many thanks to all the contributors, package authors, users and reporters of issues who helped us get here. We’ll be releasing regular bugfix backports from the 0.6.x line, while major feature work is ongoing on master for 0.7-DEV. Enjoy!

---

<div class="post-metadata">

**Author:** ![Uma](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@Uma](https://discourse.julialang.org/u/Uma)\
**Post date:** [June 24, 2017, 11:40am UTC](https://discourse.julialang.org/t/issues-with-pyplot-usage/4425/4 "2017-06-24T11:40:27Z")

</div>

It did not work on both versions of julia for me

---

<div class="post-metadata">

**Author:** ![Uma](https://avatars.discourse-cdn.com/v4/letter/u/ba9def/32.png) [@Uma](https://discourse.julialang.org/u/Uma)\
**Post date:** [June 24, 2017, 11:40am UTC](https://discourse.julialang.org/t/issues-with-pyplot-usage/4425/5 "2017-06-24T11:40:29Z")

</div>

It uses Conda package by default.
