[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using julia in guix
Re: Using julia in guix
Wed, 3 Nov 2021 15:06:36 +0200
Apologies for top-posting. If you test the patch and find that it works
then I'll be happy to apply it.
On Wed, Nov 03, 2021 at 11:06:25AM +0100, zimoun wrote:
> On Wed, 3 Nov 2021 at 00:30, Théo Maxime Tyburn <email@example.com> wrote:
> > I started using julia in one of my university projects and I am not sure
> > how this should be done the guix way. Has someone experience with this ?
> > For know I just used the julia package manager and the packages are in
> > ~/.julia. I was not able to use the guix packages for julia
> > however. Should something be done manually to tell julia where to find
> > its packages ?
> For now, it is either packages from Pkg.jl or either packages julia-*
> from Guix. A patch  is still pending for being able to mix both.
> Aside that packages from Pkg.jl do not always work out-of-the-box,
> 1: <http://issues.guix.gnu.org/51319>
> > I encountered two problems. The first with the package "GR" the
> > second with the package "GLFW". I encountered these bugs while trying
> > the packages "Plots" and the "GLMakie" backend of "Makie"
> IIUC, you installed all the packages using Pkg.jl, right?
> Because then, I get:
> --8<---------------cut here---------------start------------->8---
> ERROR: could not download
> --8<---------------cut here---------------end--------------->8---
> and I do not know if Pkg.jl works correctly with the current julia
> from Guix. For instance, "guix shell julia -CN -- julia" then 'using
> Pkg; Pkg.add("Plots")' reports failures. One is reference to build
> directory "/tmp/guix-build-julia-1.6.2.drv-0", see .
> 2: <http://issues.guix.gnu.org/issue/48238>
> > The GR bug:
> > > julia> using GR
> > > julia> histogram(randn(10000))
> > > env:
> > > ‘/home/teddd/.julia/artifacts/b5fea2b0d5c84336f26b139587a84ee7e8ca2e12/bin/gksqt’:
> > > No such file or directory
> > > connect: Connection refused
> > > GKS: can't connect to GKS socket application[
> > it then exits because of a segmentation fault.
> Well, I do not know where does the issue come from. I suspect
> something related to  above.
> For now, I do not have a solution and I do not have time to work on
> it. Sorry. I would be happy if someone fixes the issue; probably
> patch#51319 helps here. :-)
Efraim Flashner <firstname.lastname@example.org> רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
Description: PGP signature
- Using julia in guix, Théo Maxime Tyburn, 2021/11/02
- Re: Using julia in guix, zimoun, 2021/11/03
- Re: Using julia in guix,
Efraim Flashner <=
- Re: Using julia in guix, Théo Maxime Tyburn, 2021/11/03
- Re: Using julia in guix, Efraim Flashner, 2021/11/04
- Re: Using julia in guix, Théo Maxime Tyburn, 2021/11/05
- Re: Using julia in guix, Efraim Flashner, 2021/11/07
- Re: Using julia in guix, Théo Maxime Tyburn, 2021/11/08
- Re: Using julia in guix, Efraim Flashner, 2021/11/08
- Re: Using julia in guix, zimoun, 2021/11/08