Hi all. I was unable to install julia by running the following command
curl -fsSL https://install.julialang.org | sh
I tried it through JuliaUp, it didn’t help. I was advised to build the image myself using the following commands
git clone https://github.com/JuliaLang/julia.git
cd Julia
git checkout v1.9.4
make
But I received the following error
curl: (28) Connection timeout after 15004 ms
make[1]: *** [/Users/egryumova/julia/stdlib/srccache/NetworkOptions-791fa05928f03b7f18ff5ba0d6c7fbf6c6c25e78.tar.gz] Error 28
make: *** [julia-stdlib] Error 2
Please help me figure out what to do about this
What was the error message?
after installing Julia via juliaup, I opened it and a message appeared saying that It couldn’t open the terminal
Which terminal are you using? Do you have bash installed? How did you install or launch juliaup?
See also:
What is the output of:
echo $SHELL
in the terminal?
1 Like
I’m using a terminal application on a Mac. I installed the dmg file from the official website and performed the standard installation by dragging and dropping into applications.
I received the following output
/bin/zsh
Well, I cannot help with this type of installation. I find it easier to help people remotely if they just use a terminal, because than you can copy and past commands and share the output without having to make screenshots…
Can you try to switch to bash as explained in the link above?
yes, I’m trying to do that
1 Like
Note that bash
isn’t the default shell on MacOS:
❯ bash
The default interactive shell is now zsh.
To update your account to use zsh, please run `chsh -s /bin/zsh`.
For more details, please visit https://support.apple.com/kb/HT208050.
although it still works.
A ‘traditional’ (pre-Juliaup) install on MacOS (unpacking the DMG and dragging into ‘/Applications’) should work OK, and you can then run Julia (1.10 version) by typing:
/Applications/Julia-1.10.app/Contents/Resources/julia/bin/julia
in a Terminal window.
Double-clicking the icon should launch an AppleScript that opens a new Terminal window.
1 Like
This solution helped install it.
Thanks a lot!