In [1]:
require("Wallace.jl")
WARNING: `require` is deprecated, use `using` or `import` instead
in depwarn at deprecated.jl:73
[inlined code] from deprecated.jl:694
in require at no file:0
in include_string at loading.jl:266
in execute_request_0x535c5df2 at /home/chris/.julia/v0.4/IJulia/src/execute_request.jl:177
in eventloop at /home/chris/.julia/v0.4/IJulia/src/IJulia.jl:141
in anonymous at task.jl:447
while loading In[1], in expression starting on line 1
INFO: Recompiling stale cache file /home/chris/.julia/lib/v0.4/ArrayViews.ji for module ArrayViews.
INFO: Recompiling stale cache file /home/chris/.julia/lib/v0.4/StatsBase.ji for module StatsBase.
INFO: Recompiling stale cache file /home/chris/.julia/lib/v0.4/StatsFuns.ji for module StatsFuns.
In [2]:
using Wallace
In [3]:
Pkg.add("PyPlot")
INFO: Cloning cache of ColorTypes from git://github.com/JuliaGraphics/ColorTypes.jl.git
INFO: Cloning cache of Colors from git://github.com/JuliaGraphics/Colors.jl.git
INFO: Updating cache of FixedPointNumbers...
INFO: Cloning cache of LaTeXStrings from git://github.com/stevengj/LaTeXStrings.jl.git
INFO: Cloning cache of PyCall from git://github.com/stevengj/PyCall.jl.git
INFO: Cloning cache of PyPlot from git://github.com/stevengj/PyPlot.jl.git
INFO: Updating cache of Reexport...
INFO: Installing ColorTypes v0.2.0
INFO: Installing Colors v0.6.0
INFO: Installing Dates v0.4.4
INFO: Installing FixedPointNumbers v0.1.1
INFO: Installing LaTeXStrings v0.1.6
INFO: Installing PyCall v1.2.0
INFO: Installing PyPlot v2.1.1
INFO: Installing Reexport v0.0.3
INFO: Building PyCall
INFO: PyCall is using python (Python 2.7.9) at /usr/bin/python, libpython = libpython2.7
INFO: Package database updated
In [4]:
using PyPlot
INFO: Precompiling module PyPlot...
LoadError: InitError: Failed to pyimport("matplotlib"): PyPlot will not work until you have a functioning matplotlib module.
For automated Matplotlib installation, try configuring PyCall to use the Conda Python distribution within Julia. Relaunch Julia and run:
ENV["PYTHON"]=""
Pkg.build("PyCall")
using PyPlot
pyimport exception was: PyError (:PyImport_ImportModule) <type 'exceptions.ImportError'>
ImportError('No module named matplotlib',)
during initialization of module PyPlot
while loading In[4], in expression starting on line 1
in __init__ at /home/chris/.julia/v0.4/PyPlot/src/PyPlot.jl:229
in _require_from_serialized at loading.jl:84
in require at ./loading.jl:251
In [5]:
ENV["PYTHON"]=""
Out[5]:
""
In [6]:
Pkg.build("PyCall")
INFO: Building PyCall
INFO: No system-wide Python was found; got the following error:
could not spawn `'' -c "import distutils.sysconfig; print(distutils.sysconfig.get_config_var('VERSION'))"`: no such file or directory (ENOENT)
using the Python distribution in the Conda package
Fetching package metadata: ....
Solving package specifications: ...................
Package plan for installation in environment /home/chris/.julia/v0.4/Conda/deps/usr:
The following packages will be downloaded:
package | build
---------------------------|-----------------
libgfortran-1.0 | 0 170 KB defaults
openblas-0.2.14 | 3 3.5 MB defaults
numpy-1.10.1 | py27_0 5.9 MB defaults
------------------------------------------------------------
Total: 9.5 MB
The following NEW packages will be INSTALLED:
libgfortran: 1.0-0 defaults
numpy: 1.10.1-py27_0 defaults
openblas: 0.2.14-3 defaults
Fetching packages ...
libgfortran-1. 100% |###############################| Time: 0:00:00 310.59 kB/s
openblas-0.2.1 100% |###############################| Time: 0:00:02 1.67 MB/s
numpy-1.10.1-p 100% |###############################| Time: 0:00:04 1.51 MB/s
Extracting packages ...
[ COMPLETE ]|##################################################| 100%
Linking packages ...
[ COMPLETE ]|##################################################| 100%
INFO: PyCall is using /home/chris/.julia/v0.4/Conda/deps/usr/bin/python (Python 2.7.10) at /home/chris/.julia/v0.4/Conda/deps/usr/bin/python, libpython = /home/chris/.julia/v0.4/Conda/deps/usr/lib/libpython2.7.so
In [ ]:
Content source: JuliaPackageMirrors/Wallace.jl
Similar notebooks: