# Error building \`PyCall\`

**URL:** <https://discourse.julialang.org/t/error-building-pycall/28438>\
**Category:** New to Julia\
**Created:** [September 5, 2019, 6:37pm UTC](https://discourse.julialang.org/t/error-building-pycall/28438 "2019-09-05T18:37:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hasanOryx](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/hasanoryx/32/5373_2.png) [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Post date:** [September 5, 2019, 6:37pm UTC](https://discourse.julialang.org/t/error-building-pycall/28438/1 "2019-09-05T18:37:21Z")

</div>

I just installed `Python3` from the installer at my `Windows 10` device, and got this error while trying `Pkg.add("PyPlot")`

In my `Mac` I also installed `python3` from the installer, and got the same error

```bash
┌ Error: Error building `PyCall`: 
│ ┌ Info: Using the Python distribution in the Conda package by default.
│ └ To use a different Python version, set ENV["PYTHON"]="pythoncommand" and re-run Pkg.build("PyCall").

```

In the terminal I tried:

```bash
set ENV["PYTHON"]="python3"

```

But did not work, it looks I did not understood the note.

---

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [September 5, 2019, 8:09pm UTC](https://discourse.julialang.org/t/error-building-pycall/28438/2 "2019-09-05T20:09:24Z")

</div>

Sounds like you fixed your problem in this thread: [Set ENV["PYTHON"]="pythoncommand"](https://discourse.julialang.org/t/set-env-python-pythoncommand/28439)
