Skip to content

notebooks as is not running with julia 1.8.2 #45

Open
@doolingdavidrs21

Description

@doolingdavidrs21

I have Julia 1.8.2 running on a the Ubuntu WSL on a windows MSI machine.
When I pull this repo, I can go through the process as in Logan's video showing how to efficiently add all the needed packages, but when i then attempt to run the first notebook, and run the first cell with all the using ... statements, the kernel disappears and the cell number just goes blank and nothing happens. Suggestions on how to make this repo compatible with julia 1.8.2 are sought!

thank you!
David Dooling

Activity

cr00k

cr00k commented on Apr 29, 2023

@cr00k

I have similar problem in macos with julia version 1.8.5. Kernel just disconnects... in the terminal I get following messages.

[I 2023-04-29 22:20:46.551 ServerApp] AsyncIOLoopKernelRestarter: restarting kernel (3/5), new random ports [ Info: Precompiling IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] ERROR: LoadError: InitError: UndefVarError: libzmq not defined Stacktrace: [1] __init__() @ ZMQ ~/.julia/packages/ZMQ/R3wSD/src/ZMQ.jl:36 [2] _include_from_serialized(pkg::Base.PkgId, path::String, depmods::Vector{Any}) @ Base ./loading.jl:831 [3] _require_search_from_serialized(pkg::Base.PkgId, sourcepath::String, build_id::UInt64) @ Base ./loading.jl:1039 [4] _require(pkg::Base.PkgId) @ Base ./loading.jl:1315 [5] _require_prelocked(uuidkey::Base.PkgId) @ Base ./loading.jl:1200 [6] macro expansion @ ./loading.jl:1180 [inlined] [7] macro expansion @ ./lock.jl:223 [inlined] [8] require(into::Module, mod::Symbol) @ Base ./loading.jl:1144 [9] include @ ./Base.jl:419 [inlined] [10] include_package_for_output(pkg::Base.PkgId, input::String, depot_path::Vector{String}, dl_load_path::Vector{String}, load_path::Vector{String}, concrete_deps::Vector{Pair{Base.PkgId, UInt64}}, source::String) @ Base ./loading.jl:1554 [11] top-level scope @ stdin:1 during initialization of module ZMQ in expression starting at /Users/rok/.julia/packages/IJulia/e8kqU/src/IJulia.jl:1 in expression starting at stdin:1 ERROR: LoadError: Failed to precompile IJulia [7073ff75-c697-5162-941a-fcdaad2a7d2a] to /Users/rok/.julia/compiled/v1.8/IJulia/jl_hDICKu. Stacktrace: [1] error(s::String) @ Base ./error.jl:35 [2] compilecache(pkg::Base.PkgId, path::String, internal_stderr::IO, internal_stdout::IO, keep_loaded_modules::Bool) @ Base ./loading.jl:1707 [3] compilecache @ ./loading.jl:1651 [inlined] [4] _require(pkg::Base.PkgId) @ Base ./loading.jl:1337 [5] _require_prelocked(uuidkey::Base.PkgId) @ Base ./loading.jl:1200 [6] macro expansion @ ./loading.jl:1180 [inlined] [7] macro expansion @ ./lock.jl:223 [inlined] [8] require(into::Module, mod::Symbol) @ Base ./loading.jl:1144 in expression starting at /Users/rok/.julia/packages/IJulia/e8kqU/src/kernel.jl:1

cr00k

cr00k commented on Apr 30, 2023

@cr00k

I just deleted .toml files and made new environment where I loaded the needed packages.

hgoumner

hgoumner commented on Jul 23, 2023

@hgoumner

They do not work with 1.9.2 either. Please update the respective sections. Other than that, the material is good, although if the notebooks show the current state of the data science capabilities in Julia, Python is ahead by a large margin and it's probably best to only use Julia for the computationally expensive tasks within a model.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      notebooks as is not running with julia 1.8.2 · Issue #45 · JuliaAcademy/DataScience