# PyCall Fails to Build

**URL:** <https://discourse.julialang.org/t/pycall-fails-to-build/41937>\
**Category:** New to Julia\
**Tags:** pycall\
**Created:** [June 23, 2020, 2:23pm UTC](https://discourse.julialang.org/t/pycall-fails-to-build/41937 "2020-06-23T14:23:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rw3](https://avatars.discourse-cdn.com/v4/letter/r/e79b87/32.png) [@rw3](https://discourse.julialang.org/u/rw3)\
**Post date:** [June 23, 2020, 2:23pm UTC](https://discourse.julialang.org/t/pycall-fails-to-build/41937/1 "2020-06-23T14:23:15Z")

</div>

PyCall is attempting to access a file at [main/win-64](https://repo.anaconda.com/pkgs/main/win-64/)  
The file is called: [https://repo.anaconda.com/pkgs/main/win-64/current\_repodata.json](https://repo.anaconda.com/pkgs/main/win-64/current_repodata.json)  
However, if you navigate to the page, the json file does not exist. There is a repodata.json, but not a current\_repodata.json.  
Is there some way to update this?

Here is my code:  
import Pkg  
Pkg.add(“PyCall”)  
Pkg.build(“PyCall”)  
import PyCall

numpy = PyCall.pyimport(“numpy”)

function one(x):  
return numpy.sin(x) \*\* 2 + numpy.cos(x) \*\* 2

two(x) = one(1) + one(2)

Image of the errors:

 ![trace](https://global.discourse-cdn.com/julialang/original/3X/e/2/e24e5e90385b76428d651edd0f4788bd0c7eb421.jpeg)
