I am trying to plot some values.
So I imported plotlyjs:
using Plots
plotlyjs()
I am getting:
INFO: Precompiling module PlotlyJS.
ERROR: LoadError: HttpParser not properly installed. Please run
Pkg.build(“HttpParser”)
Stacktrace:
[1] error(::String, ::String, ::Vararg{String,N} where N) at ./error.jl:30
[2] include_from_node1(::String) at ./loading.jl:576
[3] include(::String) at ./sysimg.jl:14
[4] anonymous at ./:2
while loading /home/subhankar/.julia/v0.6/HttpParser/src/HttpParser.jl, in expression starting on line 9
ERROR: LoadError: LoadError: Failed to precompile HttpParser to /home/subhankar/.julia/lib/v0.6/HttpParser.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:576
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/subhankar/.julia/v0.6/HttpServer/src/RequestParser.jl, in expression starting on line 16
while loading /home/subhankar/.julia/v0.6/HttpServer/src/HttpServer.jl, in expression starting on line 12
ERROR: LoadError: LoadError: Failed to precompile HttpServer to /home/subhankar/.julia/lib/v0.6/HttpServer.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:576
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/subhankar/.julia/v0.6/Mux/src/server.jl, in expression starting on line 1
while loading /home/subhankar/.julia/v0.6/Mux/src/Mux.jl, in expression starting on line 24
ERROR: LoadError: LoadError: Failed to precompile Mux to /home/subhankar/.julia/lib/v0.6/Mux.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] include_from_node1(::String) at ./loading.jl:576
[7] include(::String) at ./sysimg.jl:14
[8] anonymous at ./:2
while loading /home/subhankar/.julia/v0.6/Blink/src/content/content.jl, in expression starting on line 1
while loading /home/subhankar/.julia/v0.6/Blink/src/Blink.jl, in expression starting on line 9
ERROR: LoadError: Failed to precompile Blink to /home/subhankar/.julia/lib/v0.6/Blink.ji.
Stacktrace:
[1] compilecache(::String) at ./loading.jl:710
[2] _require(::Symbol) at ./loading.jl:463
[3] require(::Symbol) at ./loading.jl:405
[4] include_from_node1(::String) at ./loading.jl:576
[5] include(::String) at ./sysimg.jl:14
[6] anonymous at ./:2
while loading /home/subhankar/.julia/v0.6/PlotlyJS/src/PlotlyJS.jl, in expression starting on line 17
if !Plots.is_installed(“PlotlyJS”)
Pkg.add(“PlotlyJS”)
end
if !Plots.is_installed(“Rsvg”)
Pkg.add(“Rsvg”)
end
import Blink
Blink.AtomShell.install()WARNING: Couldn’t initialize plotlyjs. (might need to install it?)
INFO: To do a standard install of plotlyjs, copy and run this:Failed to precompile PlotlyJS to /home/subhankar/.julia/lib/v0.6/PlotlyJS.ji.
I tried:
Pkg.build("HttpParser")
Am getting:
make: Entering directory ‘/home/subhankar/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1’
cc -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -fPIC -c http_parser.c -o libhttp_parser.o
In file included from http_parser.c:24:0:
http_parser.h:32:10: fatal error: sys/types.h: No such file or directory
#include <sys/types.h>
^~~~~~~~~~~~~
compilation terminated.
Makefile:102: recipe for target ‘libhttp_parser.o’ failed
make: *** [libhttp_parser.o] Error 1
make: Leaving directory ‘/home/subhankar/.julia/v0.6/HttpParser/deps/src/http-parser-2.7.1’
================================[ BUILD ERRORS ]================================WARNING: HttpParser had build errors.
- packages with build errors remain installed in /home/subhankar/.julia/v0.6
- build the package(s) and all dependencies with
Pkg.build("HttpParser")
- build a single package by running its
deps/build.jl
script
Any help please? Thanks!