julia> Pkg.status() 7 required packages: - AmplNLWriter 0.2.2 - CoinOptServices 0.1.2 - IJulia 1.2.0 - Ipopt 0.2.4 - JuMP 0.14.0 - PyCall 1.7.1 - RobotOS 0.4.1 19 additional packages: - BinDeps 0.4.3 - Calculus 0.1.15 - Cbc 0.2.3 - Clp 0.2.2 - Compat 0.8.8 - Conda 0.2.3 - DataStructures 0.4.5 - ForwardDiff 0.2.4 - JSON 0.7.0 - Lazy 0.11.0 - LightXML 0.3.0 - MacroTools 0.3.2 - MathProgBase 0.5.4 - NaNMath 0.2.1 - Nettle 0.2.4 - ReverseDiffSparse 0.5.8 - SHA 0.2.1 - URIParser 0.1.6 - ZMQ 0.3.4
On Tuesday, August 30, 2016 at 10:58:39 PM UTC-4, Angshuman Goswami wrote: > > I am running julia on a 32 bit system and I made sure the version i > downloaded is 32 bit > > On Tuesday, August 30, 2016 at 10:34:25 PM UTC-4, Angshuman Goswami wrote: >> >> I did that and now I am getting this error when I type julia to run in >> the command line >> bash: /usr/local/bin/julia: cannot execute binary file: Exec format error >> >> >> On Tuesday, August 30, 2016 at 4:55:54 AM UTC-4, Kaj Wiik wrote: >>> >>> I have been using the third route very successfully: >>> >>> Download the binary from e.g. >>> >>> https://julialang.s3.amazonaws.com/bin/linux/x64/0.4/julia-0.4.6-linux-x86_64.tar.gz >>> or >>> >>> https://s3.amazonaws.com/julialang/bin/linux/x64/0.5/julia-0.5.0-rc3-linux-x86_64.tar.gz >>> >>> (http://julialang.org/downloads/) >>> >>> cd /opt >>> >>> sudo tar xzvf tarball.tgz >>> A directory like julia-2e358ce975 will be created. >>> >>> Then make a symlink >>> sudo ln -s /opt/julia-2e358ce975/bin/julia /usr/local/bin >>> >>> That's it, very easy. >>> >>> Note that now you can support multiple versions by making symlinks e.g. >>> julia-v0.5, that's not possible (or very difficult) with the deb packages. >>> >>> Cheers, >>> Kaj >>> >>> >>> On Tuesday, August 30, 2016 at 8:26:29 AM UTC+3, Angshuman Goswami wrote: >>>> >>>> I was running Julia to run my MPC code. I needed to upgrade and hence i >>>> deleted the folder i cloned from git hub. Now I have two problems: >>>> >>>> 1) Installing julia by sudo get-apt install julia, I get the following >>>> message: >>>> >>>> Reading package lists... Done >>>> Building dependency tree >>>> Reading state information... Done >>>> Package julia is not available, but is referred to by another package. >>>> This may mean that the package is missing, has been obsoleted, or >>>> is only available from another source >>>> >>>> E: Package 'julia' has no installation candidate >>>> >>>> 2) When I cloned the github link by git clone >>>> https://github.com/JuliaLang/julia.git >>>> >>>> I tried make -j N >>>> >>>> it didn't work >>>> >>>> 3) I then used >>>> >>>> git pull && make >>>> >>>> Now Julia was updated to 0.4.7 >>>> And now I thought it will finally work. >>>> But now when I do i) using PyCall or ii) using RobotOS >>>> I get the following error: >>>> julia: codegen.cpp:3155: llvm::Value* emit_expr(jl_value_t*, >>>> jl_codectx_t*, bool, bool): Assertion `ctx->gensym_assigned.at(idx)' >>>> failed. >>>> >>>> signal (6): Aborted >>>> ERROR: LoadError: Failed to precompile PyCall to >>>> /home/odroid/.julia/lib/v0.4/PyCall.ji >>>> while loading /home/odroid/.julia/v0.4/RobotOS/src/RobotOS.jl, in >>>> expression starting on line 3 >>>> >>>> M stuck >>>> >>>>