# Pydeck julia binding

**URL:** <https://discourse.julialang.org/t/pydeck-julia-binding/89507>\
**Category:** Geo\
**Created:** [October 30, 2022, 1:11am UTC](https://discourse.julialang.org/t/pydeck-julia-binding/89507 "2022-10-30T01:11:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ctrebbau](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Post date:** [October 30, 2022, 1:11am UTC](https://discourse.julialang.org/t/pydeck-julia-binding/89507/1 "2022-10-30T01:11:43Z")

</div>

I’m unable to set up the PyCall binding to pydeck shown here [tutorial](https://deloitteoptimalreality.github.io/LightOSM.jl/notebooks/tutorial/)

Basically `yarn bootstrap` exits with an `error Command failed with exit code 1` trying to build `pydeck/julia-pycall-binding` branch.

I’ve cloned the repo where `Pkg.dir("PyCall")` points to but `yarn bootstrap` fails with code mentioned above. I’ve tried

```julia
rm -rf node_modules
yarn cache clean
yarn

```

and then yarn bootstrap, to no avail

Also `yard run test` fails with 85 `error Unable to resolve path to module '@deck.gl/core' import/no-unresolved`

Please help @captchanjack1 !

---

<div class="post-metadata">

**Author:** ![ctrebbau](https://avatars.discourse-cdn.com/v4/letter/c/5f9b8f/32.png) [@ctrebbau](https://discourse.julialang.org/u/ctrebbau)\
**Post date:** [August 23, 2023, 8:26pm UTC](https://discourse.julialang.org/t/pydeck-julia-binding/89507/2 "2023-08-23T20:26:54Z")

</div>

I’ve succeeded by:

1. downgrading `npm` to 16 -LTS got me a step further but had to downgrade further.

2. Installing dependencies `pkg-config cairo pango libpng jpeg giflib librsvg` via `brew` in my case.

3. Reinstall and rebuild `node-gyp` and `gl`:

```julia
npm uninstall -g node-gyp
npm install -g node-gyp
npm rebuild

```

and then from `deck.gl/bindings/pydeck` run `yarn bootstrap`
