# LoadError: Cannot locate artifact 'kaleido' for aarch64-apple-darwin…

**URL:** <https://discourse.julialang.org/t/loaderror-cannot-locate-artifact-kaleido-for-aarch64-apple-darwin/115245>\
**Category:** General Usage\
**Tags:** package, plotting, artifacts, plotlyjs\
**Created:** [June 5, 2024, 4:19pm UTC](https://discourse.julialang.org/t/loaderror-cannot-locate-artifact-kaleido-for-aarch64-apple-darwin/115245 "2024-06-05T16:19:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![artbx25](https://avatars.discourse-cdn.com/v4/letter/a/7ba0ec/32.png) [@artbx25](https://discourse.julialang.org/u/artbx25)\
**Post date:** [June 5, 2024, 4:19pm UTC](https://discourse.julialang.org/t/loaderror-cannot-locate-artifact-kaleido-for-aarch64-apple-darwin/115245/1 "2024-06-05T16:19:59Z")

</div>

Hi,  
I’m new to Julia and trying to run a project on a mac M1 with Julia v1.10 that needs the packages:  
✗ PlotlyBase  
✗ ORCA  
✗ PlotlyJS  
However when trying to add them I get an error (they also can’t be precompiled).  
I get the following errors:  
_LoadError: Failed to precompile PlotlyBase to “/Users/me/.julia/compiled/v1.10/PlotlyBase/jl\_eVHPSh”._  
_LoadError: Cannot locate artifact ‘kaleido’ for aarch64-apple-darwin-julia\_version+1.10.4 in ‘/Users/me/.julia/packages/PlotlyBase/NxSlF/Artifacts.toml’_

I tried reinstalling Julia but it doesn’t solve the issue. The code is written in Julia v1.0.5 but for such a simple file i don’t think the version matters.

Here’s the code:

```julia
import Pkg;

# Install necessary packages
Pkg.add(["DataFrames", "Distributions", "FileIO", "JLD", "XLSX", "Colors", "CSV", "ORCA", "KernelDensity", "PlotlyJS"])

```

---

<div class="post-metadata">

**Author:** ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)\
**Post date:** [June 6, 2024, 11:19am UTC](https://discourse.julialang.org/t/loaderror-cannot-locate-artifact-kaleido-for-aarch64-apple-darwin/115245/3 "2024-06-06T11:19:41Z")

</div>

Hi, welcome to the forum.

> [@Dennisleon](#):
>
> The error message “Cannot locate artifact ‘kaleido’ for aarch64-apple-darwin…” indicates that the kaleido dependency for PlotlyBase cannot be found for your specific system architecture (ARM-based M1 chip). This is because some packages might not have pre-compiled binaries available for your Julia version and architecture.

This is correct, but the remaining advice of that last post honestly seems like it was generated by a chatbot.

The advice I would give is to install the [macOS x86 (Intel or Rosetta)](https://julialang.org/downloads/#official_binaries_for_manual_download) version of Julia and run it instead.

> [@artbx25](#):
>
> The code is written in Julia v1.0.5

This means the code is a quite number of years old then, right? It might need to be tweaked to work with newer Julia versions, but hopefully not much.
