_ _ _ _(_)_ | A fresh approach to technical computing (_) | (_) (_) | Documentation: http://docs.julialang.org _ _ _| |_ __ _ | Type "help()" for help. | | | | | | |/ _` | | | | |_| | | | (_| | | Version 0.4.0-dev+5416 (2015-06-17 00:39 UTC) _/ |\__'_|_|_|\__'_| | Commit 0bb31a0 (1 day old master)|__/ | x86_64-w64-mingw32
julia> using PyPlotWarning: New definition call(Type{PyCall.PyDict}, Base.Associative{#K<:Any, Any}) at C:\Users\Linus\.julia\v0.4\PyCallrc\conversions.jl:464is ambiguous with: call(Type{PyCall.PyDict}, Base.Associative{Any, #V<:Any}) at C:\Users\Linus\.julia\v0.4\PyCallrc\conversions.jl:463.To fix, define call(Type{PyCall.PyDict}, Base.Associative{Any, Any})before the new definition.WARNING: No working GUI backend found for matplotlib.C:\Anaconda\lib\site-packages\matplotlib\__init__.py:1318: UserWarning: This call to matplotlib.u() has no effectbecause 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: ntuple(n::Integer,f::Function) is deprecated, use ntuple(f,n) instead. in depwarn at deprecated.jl:62 in ntuple at deprecated.jl:49 in convert at C:\Users\Linus\.julia\v0.4\PyCall\src\conversions.jl:222 in py2array at C:\Users\Linus\.julia\v0.4\PyCall\src\conversions.jl:73 in convert at C:\Users\Linus\.julia\v0.4\PyCall\src\conversions.jl:429 in pywrap at C:\Users\Linus\.julia\v0.4\PyCall\src\PyCall.jl:305 in pywrap at C:\Users\Linus\.julia\v0.4\PyCall\src\PyCall.jl:304 in __init__ at C:\Users\Linus\.julia\v0.4\PyPlot\src\PyPlot.jl:149 in include at boot.jl:254 in include_from_node1 at loading.jl:133 in reload_path at loading.jl:157 in _require at loading.jl:69 in require at loading.jl:52while loading C:\Users\Linus\.julia\v0.4\PyPlot\src\PyPlot.jl, in expression starting on line 560
julia> plot([sin(a) for a=linspace(0,2*pi)])WARNING: ntuple(n::Integer,f::Function) is deprecated, use ntuple(f,n) instead. in depwarn at deprecated.jl:62 in ntuple at deprecated.jl:49 in convert at C:\Users\Linus\.julia\v0.4\PyCall\src\conversions.jl:222 in convert at C:\Users\Linus\.julia\v0.4\PyCall\src\conversions.jl:846 in jl_Function_call at C:\Users\Linus\.julia\v0.4\PyCall\src\callback.jl:36 in pycall at C:\Users\Linus\.julia\v0.4\PyCall\src\PyCall.jl:73 in plot at C:\Users\Linus\.julia\v0.4\PyPlot\src\PyPlot.jl:371 in anonymous at no filewhile loading no file, in expression starting on line 01-element Array{Any,1}: PyObject <matplotlib.lines.Line2D object at 0x000000001555D080>
julia> plot([sin(a) for a=linspace(0,2*pi)])1-element Array{Any,1}: PyObject <matplotlib.lines.Line2D object at 0x000000001555D2B0>
C:\Users\user\.julia\v0.4\PyCall [master]> git fetch origin pull/155/head:fix-timer-api
From git://github.com/stevengj/PyCall.jl
* [new ref] refs/pull/155/head -> fix-timer-api
C:\Users\user\.julia\v0.4\PyCall [master]> git checkout fix-timer-api
Switched to branch 'fix-timer-api'
C:\Users\user\.julia\v0.4\PyCall [fix-timer-api +1 ~0 -0 !]>
julia> using Plots
ERROR: ArgumentError: Docile not found in path
in require at loading.jl:233
in stale_cachefile at loading.jl:439
in recompile_stale at loading.jl:457
in _require_from_serialized at loading.jl:83
in _require_from_serialized at loading.jl:109
in require at loading.jl:219
_
_ _ _(_)_ | 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.status()
4 required packages:
- MAT 0.2.14
- Plots 0.4.2
- PyCall 0.8.2- fix-timer-api
- PyPlot 2.1.1
20 additional packages:
- BinDeps 0.3.19
- Blosc 0.1.4
- ColorTypes 0.2.0
- Colors 0.6.0
- Compat 0.7.7
- Conda 0.1.7
- Dates 0.4.4
- FixedPointNumbers 0.1.0
- HDF5 0.5.6
- HTTPClient 0.2.0
- JSON 0.5.0
- LaTeXStrings 0.1.6
- LibCURL 0.2.0
- LibExpat 0.1.0
- Plotly 0.0.3+ master
- Reexport 0.0.3
- SHA 0.1.2
- URIParser 0.1.1
- WinRPM 0.1.13
- Zlib 0.1.12
My reply disappeared - I may have sent it directly to jda instead of the group. Anyway, tryjulia> Pkg.checkout("PyCall")julia> Pkg.update()since the instructions above are outdated and will give you an old version of PyCall. Then let us know what error you're getting.
_ _ _ _(_)_ | 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.0Commit 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.gitINFO: Cloning cache of Compat from git://github.com/JuliaLang/Compat.jl.gitINFO: Cloning cache of Conda from git://github.com/Luthaf/Conda.jl.gitINFO: Cloning cache of Dates from git://github.com/quinnj/Dates.jl.gitINFO: Cloning cache of JSON from git://github.com/JuliaLang/JSON.jl.gitINFO: Cloning cache of PyCall from git://github.com/stevengj/PyCall.jl.gitINFO: Cloning cache of SHA from git://github.com/staticfloat/SHA.jl.gitINFO: Cloning cache of URIParser from git://github.com/JuliaWeb/URIParser.jl.git
INFO: Installing BinDeps v0.3.19INFO: Installing Compat v0.7.7INFO: Installing Conda v0.1.8INFO: Installing Dates v0.4.4INFO: Installing JSON v0.5.0INFO: Installing PyCall v1.1.2INFO: Installing SHA v0.1.2INFO: Installing URIParser v0.1.1INFO: Building PyCallINFO: 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.sysconfig.get_config_var('VERSION'))"`: no such file or directory (ENOENT)using the Python distribution in the Conda packageINFO: Downloading miniconda installer ...INFO: Installing miniconda ...Fetching package metadata: ....Solving package specifications: .Package plan for installation in environment C:\Users\user\.julia\v0.4\Conda\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/sconda-env-2.4. 100% |###############################| Time: 0:00:00 2.03 MB/snumpy-1.10.1-p 100% |###############################| Time: 0:00:03 7.28 MB/spyyaml-3.11-py 100% |###############################| Time: 0:00:00 2.76 MB/srequests-2.8.1 100% |###############################| Time: 0:00:00 4.99 MB/ssetuptools-18. 100% |###############################| Time: 0:00:00 4.70 MB/swheel-0.26.0-p 100% |###############################| Time: 0:00:00 2.54 MB/sconda-3.18.3-p 100% |###############################| Time: 0:00:00 2.41 MB/spip-7.1.2-py27 100% |###############################| Time: 0:00:00 5.61 MB/sExtracting 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, libpython = C:\Users\user\.julia\v0.4\Conda\deps\usr\python27.dllINFO: 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 PyCallFetching package metadata: ....Solving package specifications: .................Package plan for installation in environment C:\Users\user\.julia\v0.4\Conda\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/sExtracting 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, libpython = 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.gitINFO: Cloning cache of Colors from git://github.com/JuliaGraphics/Colors.jl.gitINFO: Cloning cache of FixedPointNumbers from git://github.com/JeffBezanson/FixedPointNumbers.jl.gitINFO: Cloning cache of LaTeXStrings from git://github.com/stevengj/LaTeXStrings.jl.gitINFO: Cloning cache of PyPlot from git://github.com/stevengj/PyPlot.jl.gitINFO: Cloning cache of Reexport from git://github.com/simonster/Reexport.jl.gitINFO: Installing ColorTypes v0.2.0INFO: Installing Colors v0.6.0INFO: Installing FixedPointNumbers v0.1.1INFO: Installing LaTeXStrings v0.1.6INFO: Installing PyPlot v2.1.1INFO: Installing Reexport v0.0.3INFO: Building PyCallFetching 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_0INFO: 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, libpython = C:\Users\user\.julia\v0.4\Conda\deps\usr\python27.dllINFO: Package database updated
julia> using PyPlotINFO: 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\Conda\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/slibpng-1.6.17- 100% |###############################| Time: 0:00:00 3.77 MB/sopenssl-1.0.2d 100% |###############################| Time: 0:00:00 8.45 MB/stk-8.5.18-vc9_ 100% |###############################| Time: 0:00:00 7.68 MB/szlib-1.2.8-vc9 100% |###############################| Time: 0:00:00 2.33 MB/slibtiff-4.0.6- 100% |###############################| Time: 0:00:00 4.36 MB/spyparsing-2.0. 100% |###############################| Time: 0:00:00 2.09 MB/spytz-2015.7-py 100% |###############################| Time: 0:00:00 2.74 MB/sqt-4.8.7-vc9_4 100% |###############################| Time: 0:00:03 14.66 MB/ssip-4.16.9-py2 100% |###############################| Time: 0:00:00 3.26 MB/ssix-1.10.0-py2 100% |###############################| Time: 0:00:00 1.12 MB/spyqt-4.11.4-py 100% |###############################| Time: 0:00:00 10.40 MB/spython-dateuti 100% |###############################| Time: 0:00:00 2.87 MB/smatplotlib-1.4 100% |###############################| Time: 0:00:04 10.47 MB/sExtracting 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\__init__.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\matplotlib\pyplot.py", line 27, in <module> import matplotlib.colorbar File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplotlib\colorbar.py", line 34, in <module> import matplotlib.collections as collections File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplotlib\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\matplotlib\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\matplotlib\textpath.py", line 22, in <module> from matplotlib.mathtext import MathTextParser File "C:\Users\user\.julia\v0.4\Conda\deps\usr\lib\site-packages\matplotlib\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:251during initialization of module PyPlot
julia> Pkg.status()2 required packages: - PyCall 1.1.2+ master - PyPlot 2.1.112 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
using Conda
Conda.add("matplotlib=1.4.0")
Conda.add("pyqt=4.10")