rkyleg / asdf-julia Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
The fact that #12 popped up without the CI failing indicates that there is something wrong with the tests. I think the issue is that the docker image already has Julia installed. Thus, you can successfully run julia --version
without even installing it via asdf
. A potential fix would be to use another docker image. Another solution would be to run the very binary that was installed (/home/user/.asdf/shims/julia
) or remove the pre-installed Julia binary before running the test.
Happened to notice this on the asdf readme.
Hi,
I'm suddenly having a problem when trying to install Julia versions using Asdf. Here are the steps I follow to install for instance Julia 1.7.1:
$ asdf install julia 1.7.1
Then I do:
$ asdf global julia 1.7.1
But when I try to run the Julia REPL, I get the following:
$ julia
No preset version installed for command julia
Please install a version by running one of the following:
asdf install julia 1.7.1
or add one of the following versions in your config file at /home/christophe/.tool-versions
julia 1.4.2
julia 1.5.0
julia 1.5.1
julia 1.5.2
julia 1.5.3
julia 1.5.4
julia 1.6.0
julia 1.6.1
julia 1.6.2
julia 1.6.3
julia 1.6.4
julia 1.7.0
Yet asdf list julia
correctly lists 1.7.1:
$ asdf list julia
1.4.2
1.5.0
1.5.1
1.5.2
1.5.3
1.5.4
1.6.0
1.6.1
1.6.2
1.6.3
1.6.4
1.7.0
1.7.1
So I don't understand what's going on. Can you see if you can reproduce the issue? I'm on Ubuntu 18.04.
The new julia-1.7.0-beta3 has a native binary for arm64 that works on mac m1, but I don't think this can be downloaded using asdf
at the moment...
macOS 10.15.7
$ asdf install julia 1.5.3
Downloading from:
https://julialang-s3.julialang.org/bin/mac/x64/1.5/julia-1.5.3-mac64.dmg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 96.2M 100 96.2M 0 0 34.5M 0 0:00:02 0:00:02 --:--:-- 34.5M
"/Volumes/Julia-1.5.3 1" unmounted successfully.
$ julia
zsh: command not found: julia
Nothing in shims
related to julia. Running asdf reshim julia
has no effect.
~/.asdf/installs/julia
looks like:
1.5.3
└── julia
├── LICENSE.md
├── bin
│ └── julia
├── etc
├── include
├── lib
├── libexec
└── share
I guess this is due to the fact that GitHub disabled scheduled actions if the repo has been inactive for a while. In that case, we could only trigger the workflow on push
events so that it at least runs on all code changes.
Installing on Alpine Linux downloads a glibc binary which won't run. This plugin should check what libc is available and change the download URL accordingly.
The first issue may not be anything at all. When I run asdf list-all julia
I only get 0.6.1 as an output. Is that the only version of julia available?
The second issue is that asdf install julia 0.6.1
does not install and results in the following:
$ asdf install julia 0.6.1
hdiutil: mount failed - image not recognized
cp: /Volumes/Julia-0.6.1//Julia-0.6.app/Contents/Resources/julia: No such file or directory
hdiutil: unmount: "/Volumes/Julia-0.6.1" failed to unmount due to error 2.
hdiutil: unmount failed - No such file or directory
I am currently running macOS Sierra version 10.12.6.
The list-all
command requires that tempfile
is installed.
It's not installed by default and I'm also not sure how to install it: on Fedora 35 and macOS Homebrew it's not available.
Is there a specific reason to why tempfile
is used over something more common, such as mktemp
?
I'd be willing to make a PR to make the change.
When trying to install Julia on a docker image using asdf, the prompt to install on desktop is shown but there is no way to bypass the prompt. It requires interaction to finish the install. I tried using -q
flag to be more quiet but this didn't work.
How can I install this without getting a prompt?
macos catalina 10.15.5 (19F101) - any other information I can provide?
$ asdf install julia 1.5.0
Downloading from:
https://julialang-s3.julialang.org/bin/mac/x64/1.5/julia-1.5.0-mac64.dmg
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 96.0M 100 96.0M 0 0 5484k 0 0:00:17 0:00:17 --:--:-- 5935k
hdiutil: unmount: Only a single file can be specified.
Usage: hdiutil unmount [options] <mountpoint>
hdiutil unmount -help
There is this very handy version json on julialang.org and there is even a json schema for that. We should probably just use that to figure which versions exist and where to download them, instead of grabbing that information from the git release API and piecing together the URLs by hand.
I just updated the plugin and while trying to install julia version 1.2.0 I got the follogwing error:
mkdir: the directory »/home/username/.asdf/installs/julia/1.2.0/julia“ cannot be created: file already exists
(translated from German language).
Can I somehow fix this issue?
EDIT: trying to install other versions (e. g. 1.1.1) causes the same error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.