# Dreaded PyCall build error

**URL:** <https://discourse.julialang.org/t/dreaded-pycall-build-error/56761>\
**Category:** General Usage\
**Created:** [March 8, 2021, 7:53pm UTC](https://discourse.julialang.org/t/dreaded-pycall-build-error/56761 "2021-03-08T19:53:24Z")\
**Posts on this page:** 1\
**Showing post:** 6

<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:** [April 13, 2021, 11:53am UTC](https://discourse.julialang.org/t/dreaded-pycall-build-error/56761/6 "2021-04-13T11:53:35Z")

</div>

> [@purplishrock](#):
>
> It sure looks like this is a PyCall package problem and not a Julia problem.

The error is occurring in Conda.jl while trying to install Anaconda Python, not in PyCall per se. (If you `add Conda` and run `using Conda; Conda.update()` you would presumably get the same error.) In particular, the Miniconda installer seems to be having network problems.

Possible workarounds: (1) Try using Miniforge instead of Anaconda by setting `ENV["CONDA_JL_USE_MINIFORGE"] = "1"` before building. (2) install your own Python, and tell PyCall about it by setting `ENV["PYTHON"]` to the path of `python.exe` before building.

---

_[View the full topic](https://discourse.julialang.org/t/dreaded-pycall-build-error/56761)._
