How to configure Ijulia to run correctly with python 3.9-64?
Jupyter notebook works fine with python installation
C:\Users\user>py -0
Installed Pythons found by py Launcher for Windows
-3.9-64 *
C:\Users\user>jupyter console
Jupyter console 6.2.0
Python 3.9.1rc1 (tags/v3.9.1rc1:88db374, Nov 24 2020, 19:40:11) [MSC v.1927 64 bit (AMD64)]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.19.0 -- An enhanced Interactive Python. Type '?' for help.
In [1]:
##
:\Users\user>jupyter notebook
WebIO config in ~/.jupyter/jupyter_notebook_config.py but WebIO plugin not found
[W 19:51:41.632 NotebookApp] Terminals not available (error was No module named 'winpty.cywinpty')
[I 19:51:41.773 NotebookApp] Serving notebooks from local directory: C:\Users\user
[I 19:51:41.773 NotebookApp] Jupyter Notebook 6.1.5 is running at:
[I 19:51:41.773 NotebookApp] http://localhost:8888/?token=9bac9a01521fd01d49b840d11d030a23fc25caed040707d1
[I 19:51:41.773 NotebookApp] or http://127.0.0.1:8888/?token=9bac9a01521fd01d49b840d11d030a23fc25caed040707d1
[I 19:51:41.773 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation).
[C 19:51:41.835 NotebookApp]
To access the notebook, open this file in a browser:
file:///C:/Users/user/AppData/Roaming/jupyter/runtime/nbserver-17756-open.html
Or copy and paste one of these URLs:
http://localhost:8888/?token=9bac9a01521fd01d49b840d11d030a23fc25caed040707d1
or http://127.0.0.1:8888/?token=9bac9a01521fd01d49b840d11d030a23fc25caed040707d1
Julia>ENV["JUPYTER"] = raw"C:\Users\user\AppData\Roaming\Python\Python39\Scripts\jupyter.exe"
19:40:02->>"C:\\Users\\user\\AppData\\Roaming\\Python\\Python39\\Scripts\\jupyter.exe"
(@v1.5) pkg> build IJulia
Building Conda ─→ `C:\Users\user\.julia\packages\Conda\x5ml4\deps\build.log`
Building IJulia → `C:\Users\user\.julia\packages\IJulia\IDNmS\deps\build.log`
Julia>ENV["JUPYTER"]
19:40:38->>"C:\\Users\\user\\AppData\\Roaming\\Python\\Python39\\Scripts\\jupyter.exe"
Julia>using IJulia
[ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a]
ERROR: LoadError: InitError: could not load library "C:\Users\user\.julia\artifacts\a3a4de5d2acbbf032a1928f044d4dc6d68c8b44b\bin\libzmq.dll"
The specified module could not be found.
Stacktrace:
[1] dlopen(::String, ::UInt32; throw_error::Bool) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Libdl\src\Libdl.jl:109
[2] dlopen(::String, ::UInt32) at C:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Libdl\src\Libdl.jl:109
[3] macro expansion at C:\Users\user\.julia\packages\JLLWrappers\KuIwt\src\products\library_generators.jl:61 [inlined]
[4] __init__() at C:\Users\user\.julia\packages\ZeroMQ_jll\EGrXV\src\wrappers\x86_64-w64-mingw32-cxx11.jl:8
[5] _include_from_serialized(::String, ::Array{Any,1}) at .\loading.jl:697
[6] _require_search_from_serialized(::Base.PkgId, ::String) at .\loading.jl:782
[7] _require(::Base.PkgId) at .\loading.jl:1007
[8] require(::Base.PkgId) at .\loading.jl:928
[9] require(::Module, ::Symbol) at .\loading.jl:923
[10] include(::Function, ::Module, ::String) at .\Base.jl:380
[11] include(::Module, ::String) at .\Base.jl:368
[12] top-level scope at none:2
[13] eval at .\boot.jl:331 [inlined]
[14] eval(::Expr) at .\client.jl:467
[15] top-level scope at .\none:3
during initialization of module ZeroMQ_jll
in expression starting at C:\Users\user\.julia\packages\ZMQ\R3wSD\src\ZMQ.jl:4
ERROR: LoadError: Failed to precompile ZMQ [c2297ded-f4af-51ae-bb23-16f91089e4e1] to C:\Users\user\.julia\compiled\v1.5\ZMQ\CaaO6_hLdoG.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
[6] include(::Function, ::Module, ::String) at .\Base.jl:380
[7] include(::Module, ::String) at .\Base.jl:368
[8] top-level scope at none:2
[9] eval at .\boot.jl:331 [inlined]
[10] eval(::Expr) at .\client.jl:467
[11] top-level scope at .\none:3
in expression starting at C:\Users\user\.julia\packages\IJulia\IDNmS\src\IJulia.jl:36
ERROR: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to C:\Users\user\.julia\compiled\v1.5\IJulia\nfu7T_hLdoG.ji.
Stacktrace:
[1] error(::String) at .\error.jl:33
[2] compilecache(::Base.PkgId, ::String) at .\loading.jl:1305
[3] _require(::Base.PkgId) at .\loading.jl:1030
[4] require(::Base.PkgId) at .\loading.jl:928
[5] require(::Module, ::Symbol) at .\loading.jl:923
Julia>