Last active
August 10, 2018 22:57
-
-
Save pybokeh/d44cd210cc7378a6488d507b8e6249de to your computer and use it in GitHub Desktop.
julia/Untitled.ipynb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"metadata": { | |
"trusted": true | |
}, | |
"cell_type": "code", | |
"source": "using PyPlot", | |
"execution_count": 8, | |
"outputs": [ | |
{ | |
"output_type": "stream", | |
"text": "┌ Info: Precompiling PyPlot [d330b81b-6aea-500a-939a-2ce795aea3ee]\n└ @ Base loading.jl:1186\nFatal Python error: Py_Initialize: Unable to get the locale encoding\nModuleNotFoundError: No module named 'encodings'\n\nCurrent thread 0x00007f781e836cc0 (most recent call first):\n\nsignal (6): Aborted\nin expression starting at /home/pybokeh/.julia/packages/PyPlot/jXCXB/src/PyPlot.jl:5\n__libc_signal_restore_set at /build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/nptl-signals.h:80 [inlined]\nraise at /build/glibc-OTsEL5/glibc-2.27/signal/../sysdeps/unix/sysv/linux/raise.c:48\nabort at /build/glibc-OTsEL5/glibc-2.27/stdlib/abort.c:79\nPy_FatalError at /usr/lib/x86_64-linux-gnu/libpython3.6m.so (unknown line)\nunknown function (ip: 0x7f77fc6aab51)\n_Py_InitializeEx_Private at /usr/lib/x86_64-linux-gnu/libpython3.6m.so (unknown line)\n__init__ at /home/pybokeh/.julia/packages/PyCall/fiJ3o/src/pyinit.jl:88\njl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1829\njl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182\njl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1536 [inlined]\njl_module_run_initializer at /buildworker/worker/package_linux64/build/src/toplevel.c:90\njl_init_restored_modules at /buildworker/worker/package_linux64/build/src/dump.c:2413\n_include_from_serialized at ./loading.jl:627\nmacro expansion at ./logging.jl:312 [inlined]\n_require_search_from_serialized at ./loading.jl:698\n_require at ./loading.jl:931\nrequire at ./loading.jl:852\nmacro expansion at ./logging.jl:311 [inlined]\nrequire at ./loading.jl:834\njl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182\njl_apply at /buildworker/worker/package_linux64/build/src/julia.h:1536 [inlined]\ncall_require at /buildworker/worker/package_linux64/build/src/toplevel.c:441 [inlined]\neval_import_path at /buildworker/worker/package_linux64/build/src/toplevel.c:476\njl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:633\njl_eval_module_expr at /buildworker/worker/package_linux64/build/src/toplevel.c:233\njl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:616\njl_parse_eval_all at /buildworker/worker/package_linux64/build/src/ast.c:838\njl_load at /buildworker/worker/package_linux64/build/src/toplevel.c:821\ninclude at ./boot.jl:317 [inlined]\ninclude_relative at ./loading.jl:1038\ninclude at ./sysimg.jl:29\njl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182\ndo_call at /buildworker/worker/package_linux64/build/src/interpreter.c:324\neval_value at /buildworker/worker/package_linux64/build/src/interpreter.c:428\neval_stmt_value at /buildworker/worker/package_linux64/build/src/interpreter.c:363 [inlined]\neval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:686\neval_body at /buildworker/worker/package_linux64/build/src/interpreter.c:617\njl_interpret_toplevel_thunk_callback at /buildworker/worker/package_linux64/build/src/interpreter.c:799\nunknown function (ip: 0xfffffffffffffffe)\nunknown function (ip: 0x7f780cd3405f)\nunknown function (ip: 0x2)\njl_interpret_toplevel_thunk at /buildworker/worker/package_linux64/build/src/interpreter.c:808\njl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:787\njl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/builtins.c:622\neval at ./boot.jl:319 [inlined]\neval at ./client.jl:389\njl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182\ntop-level scope at ./none:3\njl_fptr_trampoline at /buildworker/worker/package_linux64/build/src/gf.c:1829\njl_toplevel_eval_flex at /buildworker/worker/package_linux64/build/src/toplevel.c:781\njl_toplevel_eval_in at /buildworker/worker/package_linux64/build/src/builtins.c:622\neval at ./boot.jl:319\njl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182\nmacro expansion at ./logging.jl:317 [inlined]\nexec_options at ./client.jl:219\n_start at ./client.jl:421\njl_apply_generic at /buildworker/worker/package_linux64/build/src/gf.c:2182\njl_apply at /buildworker/worker/package_linux64/build/ui/../src/julia.h:1536 [inlined]\ntrue_main at /buildworker/worker/package_linux64/build/ui/repl.c:112\nmain at /buildworker/worker/package_linux64/build/ui/repl.c:233\n__libc_start_main at /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310\n_start at /home/pybokeh/julia-1.0.0/bin/julia (unknown line)\nAllocations: 1739785 (Pool: 1739346; Big: 439); GC: 3\n", | |
"name": "stderr" | |
}, | |
{ | |
"output_type": "error", | |
"ename": "LoadError", | |
"evalue": "Failed to precompile PyPlot [d330b81b-6aea-500a-939a-2ce795aea3ee] to /home/pybokeh/.julia/compiled/v1.0/PyPlot/oatAj.ji.", | |
"traceback": [ | |
"Failed to precompile PyPlot [d330b81b-6aea-500a-939a-2ce795aea3ee] to /home/pybokeh/.julia/compiled/v1.0/PyPlot/oatAj.ji.", | |
"", | |
"Stacktrace:", | |
" [1] error(::String) at ./error.jl:33", | |
" [2] macro expansion at ./logging.jl:313 [inlined]", | |
" [3] compilecache(::Base.PkgId, ::String) at ./loading.jl:1184", | |
" [4] macro expansion at ./logging.jl:311 [inlined]", | |
" [5] _require(::Base.PkgId) at ./loading.jl:941", | |
" [6] require(::Base.PkgId) at ./loading.jl:852", | |
" [7] macro expansion at ./logging.jl:311 [inlined]", | |
" [8] require(::Module, ::Symbol) at ./loading.jl:834" | |
] | |
} | |
] | |
} | |
], | |
"metadata": { | |
"_draft": { | |
"nbviewer_url": "https://gist.github.com/d44cd210cc7378a6488d507b8e6249de" | |
}, | |
"gist": { | |
"id": "d44cd210cc7378a6488d507b8e6249de", | |
"data": { | |
"description": "julia/Untitled.ipynb", | |
"public": true | |
} | |
}, | |
"hide_input": false, | |
"kernelspec": { | |
"name": "julia-1.0", | |
"display_name": "Julia 1.0.0", | |
"language": "julia" | |
}, | |
"language_info": { | |
"file_extension": ".jl", | |
"name": "julia", | |
"mimetype": "application/julia", | |
"version": "1.0.0" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 2 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment