Julia language is not ready (2018)

Update: I have picked up Julia again in 2020 and I am enjoying it.



Beyond the core math and functions, which work fine, trying to run any of the 2200 packages in Julia 1.0.1 is a night full of frustrations.

I have tried countless code examples and most of them fail.

The most important to me "using PyCall" was the final signal for me that Julia and I need a little time apart. Maybe when some percentage of packages make it from 0.1 and 0.3 to something like 0.9 and 1.0 then Julia will be more usable.




import Pkg;






Pkg.add("PyCall")




Updating registry at `~/.julia/registries/General` Updating git-repo `https://github.com/JuliaRegistries/General.git` [1mFetching: [========================================>] 100.0 %.0 %
Resolving package versions... 
Updating `~/.julia/environments/v1.0/Project.toml` [5c1ef01f] 
- Cookbook v0.3.0 [5befdd30] - Hilbert v0.1.0 [5c077215] 
- LatticeSites v0.2.0 Updating `~/.julia/environments/v1.0/Manifest.toml` [5c1ef01f] 
- Cookbook v0.3.0 [5befdd30] 
- Hilbert v0.1.0 [5c077215] 
- LatticeSites v0.2.0





Pkg.update()


Updating registry at `~/.julia/registries/General` 
Updating git-repo `https://github.com/JuliaRegistries/General.git` 
Resolving package versions... 
Installed KernelDensity ── v0.5.1 
Installed Interpolations ─ v0.9.2 
Updating `~/.julia/environments/v1.0/Project.toml` [5cadff95] 
- JuliennedArrays v0.1.0 [5ab0869b] ↑ KernelDensity v0.5.0 ⇒ v0.5.1 [5c958174] 
- SuperEnum v0.1.3 Updating `~/.julia/environments/v1.0/Manifest.toml` [a98d9a8b] ↓ Interpolations v0.10.5 ⇒ v0.9.2 [5cadff95] 
- JuliennedArrays v0.1.0 [5ab0869b] ↑ 
KernelDensity v0.5.0 ⇒ v0.5.1 [5c958174] 
- SuperEnum v0.1.3




using PyCall


SYSTEM: show(lasterr) caused an error Stacktrace: [1] _include_from_serialized(::String, ::Array{Any,1}) at ./loading.jl:630 [2] macro expansion at ./logging.jl:312 [inlined] [3] _require_search_from_serialized(::Base.PkgId, ::String) at ./loading.jl:701 [4] _require(::Base.PkgId) at ./loading.jl:934 [5] require(::Base.PkgId) at ./loading.jl:855 [6] macro expansion at ./logging.jl:311 [inlined] [7] require(::Module, ::Symbol) at ./loading.jl:837 [8] top-level scope at In[1]:1
KERNEL EXCEPTION
SYSTEM: show(lasterr) caused an errorStacktrace:
[1] #invokelatest#1 at ./essentials.jl:697 [inlined]
[2] invokelatest at ./essentials.jl:696 [inlined]
[3] eventloop(::ZMQ.Socket) at /Users/uki/.julia/packages/IJulia/0cLgR/src/eventloop.jl:8
[4] (::getfield(IJulia, Symbol("##12#15")))() at ./task.jl:259
The error above prevents the execution of the below:

@pyimport math 
#math.sin(math.pi / 4) - sin(pi / 4) # returns 0.0




@pyimport time




@pyimport numpy.random as nr nr.rand(3,4)


As an Amazon Associate I earn from qualifying purchases.

My favorite quotations..


“A man should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects.”  by Robert A. Heinlein

"We are but habits and memories we chose to carry along." ~ Uki D. Lucas


Popular Recent Articles