Plots.jl build error

package

#1

Get error during installing Plots.jl, Julia0.61 Windows 7, 64 Bit, Plots.jl v0.13.1
The error is as followings.


#2

when I use the package. It crashed.


#3

Can you try to build again?


#4

I tried Pkg.build(“Plots”) again. The error message is the same.
Thanks for your swift reply!


#5

could be a connection problem? Can you go to https://cdn.plot.ly/plotly-latest.min.js on your web browser?
(you could always download it manually and put it in the folder :slight_smile: )


#6

I can download https://cdn.plot.ly/plotly-latest.min.js
Where should I put this file? Thank you.

In fact, I tried run Julia.exe using Administration Right. I also tried to build the package using the internet at home. The error is still the same.
I think there should be some bug. I also encounter this error in 0.5.


#7

Thank you so much, @mkborregaard ! I put .js file in plots/deps/ and can build the Package. However, the when I plot the graph, Julia crashed with runtime error as follows.


#8

Just for completeness, here as well: include ENV["MPLBACKEND"]="qt4agg" before using Plots, as there is a problem with the default PyPlot backend.


#9

Thank you so much! This method works.


#10

@IIjaK91: Do we have to always run the script ENV[“MPLBACKEND”]=“qt4agg” before using Plots. I mean is one time enough?


#11

Yes, if you use the Pyplot Backend, which is the default, I think. So you should have that line every time before you write using Plots.


#12

Thanks