I have two windows computers that I am trying to get working. On one of
them a couple of un/re-installations fixed the problem. But the second
computer is still not working. Here is my session on a fresh install on
the second computer:
_
_ _ _(_)_ | A fresh approach to technical computing
(_) | (_) (_) | Documentation: http://docs.julialang.org
_ _ _| |_ __ _ | Type "?help" for help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 0.4.0 (2015-10-08 06:20 UTC)
_/ |\__'_|_|_|\__'_| | Official http://julialang.org/ release
|__/ | x86_64-w64-mingw32
julia> versioninfo()
Julia Version 0.4.0
Commit 0ff703b* (2015-10-08 06:20 UTC)
Platform Info:
System: Windows (x86_64-w64-mingw32)
CPU: Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz
WORD_SIZE: 64
BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Penryn)
LAPACK: libopenblas64_
LIBM: libopenlibm
LLVM: libLLVM-3.3
julia> Pkg.add("PyCall")
INFO: Cloning cache of BinDeps from
git://github.com/JuliaLang/BinDeps.jl.git
INFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.git
INFO: Cloning cache of Conda from git://github.com/Luthaf/Conda.jl.git
INFO: Cloning cache of Dates from git://github.com/quinnj/Dates.jl.git
INFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.git
INFO: Cloning cache of PyCall from git://github.com/stevengj/PyCall.jl.git
INFO: Cloning cache of SHA from git://github.com/staticfloat/SHA.jl.git
INFO: Cloning cache of URIParser from
git://github.com/JuliaWeb/URIParser.jl.git
INFO: Installing BinDeps v0.3.19
INFO: Installing Compat v0.7.7
INFO: Installing Conda v0.1.8
INFO: Installing Dates v0.4.4
INFO: Installing JSON v0.5.0
INFO: Installing PyCall v1.1.2
INFO: Installing SHA v0.1.2
INFO: Installing URIParser v0.1.1
INFO: Building PyCall
INFO: Precompiling module Compat...
INFO: Precompiling module Conda...
INFO: No system-wide Python was found; got the following error:
could not spawn `python -c "import distutils.sysconfig;
print(distutils.sysconfi
g.get_config_var('VERSION'))"`: no such file or directory (ENOENT)
using the Python distribution in the Conda package
INFO: Downloading miniconda installer ...
INFO: Installing miniconda ...
Fetching package metadata: ....
Solving package specifications: .
Package plan for installation in environment C:\Users\user\.julia\v0.4\Con
da\deps\usr:
The following packages will be downloaded:
package | build
---------------------------|-----------------
msvc_runtime-1.0.1 | vc9_0 1.1 MB
conda-env-2.4.4 | py27_0 64 KB
numpy-1.10.1 | py27_0 23.6 MB
pyyaml-3.11 | py27_2 167 KB
requests-2.8.1 | py27_0 609 KB
setuptools-18.4 | py27_0 647 KB
wheel-0.26.0 | py27_1 116 KB
conda-3.18.3 | py27_0 218 KB
pip-7.1.2 | py27_0 1.4 MB
------------------------------------------------------------
Total: 28.0 MB
The following NEW packages will be INSTALLED:
msvc_runtime: 1.0.1-vc9_0 [vc9]
numpy: 1.10.1-py27_0
pip: 7.1.2-py27_0
setuptools: 18.4-py27_0
wheel: 0.26.0-py27_1
The following packages will be UPDATED:
conda: 3.9.1-py27_0 --> 3.18.3-py27_0
conda-env: 2.1.3-py27_0 --> 2.4.4-py27_0
pyyaml: 3.11-py27_0 --> 3.11-py27_2
requests: 2.5.3-py27_0 --> 2.8.1-py27_0
Fetching packages ...
msvc_runtime-1 100% |###############################| Time: 0:00:00 2.95
MB/s
conda-env-2.4. 100% |###############################| Time: 0:00:00 2.03
MB/s
numpy-1.10.1-p 100% |###############################| Time: 0:00:03 7.28
MB/s
pyyaml-3.11-py 100% |###############################| Time: 0:00:00 2.76
MB/s
requests-2.8.1 100% |###############################| Time: 0:00:00 4.99
MB/s
setuptools-18. 100% |###############################| Time: 0:00:00 4.70
MB/s
wheel-0.26.0-p 100% |###############################| Time: 0:00:00 2.54
MB/s
conda-3.18.3-p 100% |###############################| Time: 0:00:00 2.41
MB/s
pip-7.1.2-py27 100% |###############################| Time: 0:00:00 5.61
MB/s
Extracting packages ...
[ COMPLETE ] |#################################################|
100%
Unlinking packages ...
[ COMPLETE ] |#################################################|
100%
Linking packages ...
[ COMPLETE ] |#################################################|
100%
INFO: PyCall is using C:\Users\user\.julia\v0.4\Conda\deps\usr\python.exe
(Python 2.7.9) at C:\Users\user\.julia\v0.4\Conda\deps\usr\python.exe, lib
python = C:\Users\user\.julia\v0.4\Conda\deps\usr\python27.dll
INFO: Package database updated
julia> Pkg.checkout("PyCall")
INFO: Checking out PyCall master...
INFO: Pulling PyCall latest master...
INFO: No packages to install, update or remove
julia> Pkg.build("PyCall")
INFO: Building PyCall
Fetching package metadata: ....
Solving package specifications: .................
Package plan for installation in environment C:\Users\user\.julia\v0.4\Con
da\deps\usr:
The following packages will be downloaded:
package | build
---------------------------|-----------------
python-2.7.10 | 3 17.9 MB
The following packages will be UPDATED:
python: 2.7.9-1 --> 2.7.10-3
Fetching packages ...
python-2.7.10- 100% |###############################| Time: 0:00:02 7.22
MB/s
Extracting packages ...
[ COMPLETE ]|##################################################|
100%
Unlinking packages ...
[ COMPLETE ]|##################################################|
100%
Linking packages ...
[ COMPLETE ]|##################################################|
100%
INFO: PyCall is using C:\Users\user\.julia\v0.4\Conda\deps\usr\python.exe
(Python 2.7.9) at C:\Users\user\.julia\v0.4\Conda\deps\usr\python.exe, lib
python = C:\Users\user\.julia\v0.4\Conda\deps\usr\python27.dll
julia> 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: Cloning cache of FixedPointNumbers from
git://github.com/JeffBezanson/Fixe
dPointNumbers.jl.git
INFO: Cloning cache of LaTeXStrings from
git://github.com/stevengj/LaTeXStrings.
jl.git
INFO: Cloning cache of PyPlot from git://github.com/stevengj/PyPlot.jl.git
INFO: Cloning cache of Reexport from
git://github.com/simonster/Reexport.jl.git
INFO: Installing ColorTypes v0.2.0
INFO: Installing Colors v0.6.0
INFO: Installing FixedPointNumbers v0.1.1
INFO: Installing LaTeXStrings v0.1.6
INFO: Installing PyPlot v2.1.1
INFO: Installing Reexport v0.0.3
INFO: Building PyCall
Fetching package metadata: ....
Solving package specifications: .................
# All requested packages already installed.
# packages in environment at C:\Users\user\.julia\v0.4\Conda\deps\usr:
#
numpy 1.10.1 py27_0
INFO: PyCall is using C:\Users\user\.julia\v0.4\Conda\deps\usr\python.exe
(Python 2.7.9) at C:\Users\user\.julia\v0.4\Conda\deps\usr\python.exe, lib
python = C:\Users\user\.julia\v0.4\Conda\deps\usr\python27.dll
INFO: Package database updated
julia> using PyPlot
INFO: Precompiling module PyPlot...
INFO: Installing matplotlib via the Conda package...
Fetching package metadata: ....
Solving package specifications: .....................
Package plan for installation in environment C:\Users\user\.julia\v0.4\Con
da\deps\usr:
The following packages will be downloaded:
package | build
---------------------------|-----------------
jpeg-8d | vc9_0 175 KB
libpng-1.6.17 | vc9_1 461 KB
openssl-1.0.2d | vc9_0 3.3 MB
tk-8.5.18 | vc9_0 2.2 MB
zlib-1.2.8 | vc9_2 107 KB
libtiff-4.0.6 | vc9_0 464 KB
pyparsing-2.0.3 | py27_0 63 KB
pytz-2015.7 | py27_0 169 KB
qt-4.8.7 | vc9_4 50.8 MB
sip-4.16.9 | py27_1 249 KB
six-1.10.0 | py27_0 16 KB
pyqt-4.11.4 | py27_2 3.9 MB
python-dateutil-2.4.2 | py27_0 219 KB
matplotlib-1.4.3 | np110py27_3 40.8 MB
------------------------------------------------------------
Total: 102.8 MB
The following NEW packages will be INSTALLED:
jpeg: 8d-vc9_0 [vc9]
libpng: 1.6.17-vc9_1 [vc9]
libtiff: 4.0.6-vc9_0 [vc9]
matplotlib: 1.4.3-np110py27_3
openssl: 1.0.2d-vc9_0 [vc9]
pyparsing: 2.0.3-py27_0
pyqt: 4.11.4-py27_2
python-dateutil: 2.4.2-py27_0
pytz: 2015.7-py27_0
qt: 4.8.7-vc9_4 [vc9]
sip: 4.16.9-py27_1
six: 1.10.0-py27_0
tk: 8.5.18-vc9_0 [vc9]
zlib: 1.2.8-vc9_2 [vc9]
Fetching packages ...
jpeg-8d-vc9_0. 100% |###############################| Time: 0:00:00 2.30
MB/s
libpng-1.6.17- 100% |###############################| Time: 0:00:00 3.77
MB/s
openssl-1.0.2d 100% |###############################| Time: 0:00:00 8.45
MB/s
tk-8.5.18-vc9_ 100% |###############################| Time: 0:00:00 7.68
MB/s
zlib-1.2.8-vc9 100% |###############################| Time: 0:00:00 2.33
MB/s
libtiff-4.0.6- 100% |###############################| Time: 0:00:00 4.36
MB/s
pyparsing-2.0. 100% |###############################| Time: 0:00:00 2.09
MB/s
pytz-2015.7-py 100% |###############################| Time: 0:00:00 2.74
MB/s
qt-4.8.7-vc9_4 100% |###############################| Time: 0:00:03 14.66
MB/s
sip-4.16.9-py2 100% |###############################| Time: 0:00:00 3.26
MB/s
six-1.10.0-py2 100% |###############################| Time: 0:00:00 1.12
MB/s
pyqt-4.11.4-py 100% |###############################| Time: 0:00:00 10.40
MB/s
python-dateuti 100% |###############################| Time: 0:00:00 2.87
MB/s
matplotlib-1.4 100% |###############################| Time: 0:00:04 10.47
MB/s
Extracting packages ...
[ COMPLETE ]|##################################################|
100%
Linking packages ...
1 file(s) copied.##################################### |
78%
[ COMPLETE ]|##################################################|
100%
C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplotlib\__in
it__.py:1318: UserWarning: This call to matplotlib.use() has no effect
because the backend has already been chosen;
matplotlib.use() must be called *before* pylab, matplotlib.pyplot,
or matplotlib.backends is imported for the first time.
warnings.warn(_use_error_msg)
WARNING: No working GUI backend found for matplotlib.
ERROR: InitError: PyError (:PyImport_ImportModule) <type
'exceptions.ImportError
'>
ImportError('DLL load failed: The specified module could not be found.',)
File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplot
lib\pyplot.py", line 27, in <module>
import matplotlib.colorbar
File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplot
lib\colorbar.py", line 34, in <module>
import matplotlib.collections as collections
File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplot
lib\collections.py", line 27, in <module>
import matplotlib.backend_bases as backend_bases
File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplot
lib\backend_bases.py", line 56, in <module>
import matplotlib.textpath as textpath
File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplot
lib\textpath.py", line 22, in <module>
from matplotlib.mathtext import MathTextParser
File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplot
lib\mathtext.py", line 63, in <module>
import matplotlib._png as _png
[inlined code] from C:\Users\user\.julia\v0.4\PyCall\src\exception.jl:81
in pyimport at C:\Users\user\.julia\v0.4\PyCall\src\PyCall.jl:79
in __init__ at C:\Users\user\.julia\v0.4\PyPlot\src\PyPlot.jl:250
in _require_from_serialized at loading.jl:84
in require at loading.jl:251
during initialization of module PyPlot
julia> Pkg.status()
2 required packages:
- PyCall 1.1.2+ master
- PyPlot 2.1.1
12 additional packages:
- BinDeps 0.3.19
- ColorTypes 0.2.0
- Colors 0.6.0
- Compat 0.7.7
- Conda 0.1.8
- Dates 0.4.4
- FixedPointNumbers 0.1.1
- JSON 0.5.0
- LaTeXStrings 0.1.6
- Reexport 0.0.3
- SHA 0.1.2
- URIParser 0.1.1