# Set ENV\["PYTHON"\]="pythoncommand"

**URL:** https://discourse.julialang.org/t/set-env-python-pythoncommand/28439
**Category:** New to Julia
**Created:** [September 5, 2019, 6:39pm UTC](https://discourse.julialang.org/t/set-env-python-pythoncommand/28439 "2019-09-05T18:39:34Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![ExpandingMan](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/expandingman/32/866_2.png) [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)
#### Post date: [September 5, 2019, 6:50pm UTC](https://discourse.julialang.org/t/set-env-python-pythoncommand/28439/2 "2019-09-05T18:50:06Z")

</div>

Did you set `ENV["PYTHON"]` in the Julia session _before_ you ran `]build PyCall`?

Can you also do `which python3` and ensure it returns and non-empty string from a fresh terminal session?

---

_[View the full topic](https://discourse.julialang.org/t/set-env-python-pythoncommand/28439)._
