# Warning: backend \`PlotlyJS\` is not installed

**URL:** <https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746>\
**Category:** General Usage\
**Created:** [April 21, 2023, 3:47pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746 "2023-04-21T15:47:23Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![jianqixi](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Post date:** [April 21, 2023, 3:47pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/1 "2023-04-21T15:47:23Z")

</div>

I am trying to using backend of PlotlyJS in my julia code, but it shows the warning:  
Warning: backend `PlotlyJS` is not installed.  
└ @ Plots C:\Users\username.julia\packages\Plots\p3KMq\src\backends.jl:43

Then there is no any further output on the screen.

I have installed the PlotlyJS and Plots in my Project.toml, but why it still mention that I didn’t install it. Any suggestions and commons would be very appreciated.

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 21, 2023, 9:18pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/2 "2023-04-21T21:18:57Z")

</div>

Can you copy-paste the output of `pkg> status`? It could be that you’re not currently in the environment defined by the Project.toml you’re referring to?

---

<div class="post-metadata">

**Author:** ![jianqixi](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Post date:** [April 21, 2023, 9:20pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/3 "2023-04-21T21:20:14Z")

</div>

Sure, here is the status:

[c7e460c6] ArgParse v1.1.4  
[d38c429a] Contour v0.6.2  
[717857b8] DSP v0.7.8  
[864edb3b] DataStructures v0.18.13  
[59287772] Formatting v0.4.2  
[f6369f11] ForwardDiff v0.10.35  
[a98d9a8b] Interpolations v0.14.7  
[682c06a0] JSON v0.21.4  
[b8a86587] NearestNeighbors v0.4.13  
[58dd65bb] Plotly v0.4.1  
[f0f68f2c] PlotlyJS v0.18.10  
[92933f4c] ProgressMeter v1.7.2  
[438e738f] PyCall v1.95.1  
[d330b81b] PyPlot v2.11.1  
[1fd47b50] QuadGK v2.8.2  
[f2b01f46] Roots v2.0.12  
[90137ffa] StaticArrays v1.5.21  
[1986cc42] Unitful v1.13.1  
[64499a7a] WriteVTK v1.18.0

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 21, 2023, 9:20pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/4 "2023-04-21T21:20:56Z")

</div>

I don’t see Plots.jl?

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 21, 2023, 9:21pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/5 "2023-04-21T21:21:47Z")

</div>

Do you develop in VSCode? Can I see a screenshot of the window?

---

<div class="post-metadata">

**Author:** ![jianqixi](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Post date:** [April 21, 2023, 9:31pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/6 "2023-04-21T21:31:05Z")

</div>

Yes, the code I developed is in the VS code. The code itself has the Project.toml file, which will include the necessary packages for the code. But in my julia installation folders, it has another set of packages. I am thinking that it is because I didn’t give the right path to call. BTW, even when I add the Plots.jl package, it still doesn’t work, and shows the following errors  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/e/3/e3eecd2660d63e7faaa9bcfa40fd33285f87ebb6.png)

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 21, 2023, 9:33pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/7 "2023-04-21T21:33:04Z")

</div>

I’m not sure where the JavaScript error comes from, to be honest.  
Your default Julia environment (called `v1.8` if you’re at the latest release) should ideally be as light as possible to avoid compatibility issues. In particular, it’s usually a bad idea to put heavy stuff like Plots.jl in there. My suggestion would be to remove Plots.jl from your default environment, add it to your project environment and try again

---

<div class="post-metadata">

**Author:** ![jianqixi](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Post date:** [April 21, 2023, 9:55pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/8 "2023-04-21T21:55:11Z")

</div>

Thank you for your suggestions, I think the Java error is still from the plotlyjs. I am also wondering it may be not because of the Plots.jl, because if I used the default backend, like GR, and also the defined backend, like plotly(), then it works fine, and can get the outputs.

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 21, 2023, 9:56pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/9 "2023-04-21T21:56:06Z")

</div>

Then do you really need PlotlyJS 😇 ?

---

<div class="post-metadata">

**Author:** ![jianqixi](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Post date:** [April 21, 2023, 9:58pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/10 "2023-04-21T21:58:47Z")

</div>

Haha, that is a good question, I am also hesitate. The reason I think I am trying to use PlotlyJS is because is looks better than the Plotly.

---

<div class="post-metadata">

**Author:** ![gdalle](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdalle/32/27854_2.png) [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Post date:** [April 21, 2023, 9:59pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/11 "2023-04-21T21:59:23Z")

</div>

Then I’m not sure I can help much, sorry! Hope someone can take over and solve your bug 🙂

---

<div class="post-metadata">

**Author:** ![jianqixi](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Post date:** [April 21, 2023, 9:59pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/12 "2023-04-21T21:59:54Z")

</div>

Thank you anyway!

---

<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:** [April 22, 2023, 1:18am UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/13 "2023-04-22T01:18:15Z")

</div>

Are you interested in using just the PlotlyJS package directly without going through Plots.jl first? I can help translate the difference if you need it.

---

<div class="post-metadata">

**Author:** ![jianqixi](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@jianqixi](https://discourse.julialang.org/u/jianqixi)\
**Post date:** [April 24, 2023, 8:14pm UTC](https://discourse.julialang.org/t/warning-backend-plotlyjs-is-not-installed/97746/14 "2023-04-24T20:14:59Z")

</div>

Thank you for your response, I am very happy to look that way
