# \[ANN\] pyjuliacall and pyjuliapkg packaged on conda-forge

**URL:** <https://discourse.julialang.org/t/ann-pyjuliacall-and-pyjuliapkg-packaged-on-conda-forge/109849>\
**Category:** Package Announcements\
**Tags:** package, conda, conda-forge\
**Created:** [February 7, 2024, 1:51am UTC](https://discourse.julialang.org/t/ann-pyjuliacall-and-pyjuliapkg-packaged-on-conda-forge/109849 "2024-02-07T01:51:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Post date:** [February 7, 2024, 1:51am UTC](https://discourse.julialang.org/t/ann-pyjuliacall-and-pyjuliapkg-packaged-on-conda-forge/109849/1 "2024-02-07T01:51:04Z")

</div>

# juliacall and juliapkg on conda-forge

I am happy to announce that the Python packages `juliacall` and `juliapkg` by @cjdoris have been packaged for conda-forge as [`pyjuliacall`](https://anaconda.org/conda-forge/pyjuliacall) and [`pyjuliapkg`](https://anaconda.org/conda-forge/pyjuliapkg).

## Why add the “py” prefix?

In principle, conda-forge is a language agnostic package ecosystem. Since there is also a [`juliacall` package for R on CRAN](https://cran.r-project.org/web/packages/JuliaCall/index.html), the `py` prefix was added to disambiguate the Python package from the similarly named R package.

## Using conda to install juliacall and juliapkg

`pyjuliapkg` is a dependency of `pyjuliacall`. Thus installing `pyjuliacall` will also install `pyjuliapkg`. You can install `pyjuliacall` via the following `conda` command.

```julia-auto
conda install conda-forge::pyjuliacall

```

## Will installing these packages install Julia again?

On initialization, JuliaCall looks for an existing `julia` installation via `juliaup`. If it does not find one, then it will download and install `julia`.

Here is an example Python REPL session showing `juliacall` being imported.

```julia-auto
>>> import juliacall
[juliapkg] Locating Julia ^1.6.1
[juliapkg] Using Julia 1.10.0 at ~/.julia/juliaup/julia-1.10.0+0.aarch64.apple.darwin14/bin/julia
[juliapkg] Using Julia project at ~/miniforge3-arm64/envs/foofoo/julia_env
[juliapkg] Installing packages:
           julia> import Pkg
           julia> Pkg.add([Pkg.PackageSpec(name="PythonCall", uuid="6099a3de-0909-46bc-b1f4-468b9a2dfc0d")])
           julia> Pkg.resolve()
           julia> Pkg.precompile()

```

## How about the Julia package on conda-forge?

There is also a [Julia package on conda-forge](https://anaconda.org/conda-forge/julia) which I help to maintain. Julia 1.10 was recently packaged. This package is only available for Linux and macOS on Intel x86-64 processors.

The conda-forge packages `pyjuliacall` and `pyjuliapkg` do not explicitly depend the conda-forge package `julia`. If you do not install the conda-forge `julia` package, then `pyjuliacall` will proceed to look for existing Julia install and proceed to download the official Julia binaries from [julialang.org](http://julialang.org). If you do install the conda-forge `julia` package, then JuliaCall will use that version of Julia when using that conda environment.

## Additional Information about JuliaCall

To learn more about JuliaCall, please see @cjdoris’s original package announcement on the topic.

> [@\[ANN\] PythonCall and JuliaCall](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778):
>
> [PythonCall & JuliaCall](https://github.com/cjdoris/PythonCall.jl) I’m very pleased to finally announce these packages on here. They have existed for quite some time, but I’m now happy to encourage more users to try them out. PythonCall is a Julia package to interoperate with Python, so for example you can do: using PythonCall plt = pyimport("matplotlib.pyplot") plt.plot(randn(100)) It can be installed with pkg\> add PythonCall. JuliaCall is a corresponding Python package to interoperate with Julia, so for example: from juliacall im…

You can also find the documentation for JuliaCall below.

> **[Guide · PythonCall & JuliaCall](https://juliapy.github.io/PythonCall.jl/stable/juliacall/)**
>
> Documentation for PythonCall & JuliaCall.

### Links to the conda-forge packages

> **[Anaconda.org](https://anaconda.org/conda-forge/pyjuliacall)**

> **[Anaconda.org](https://anaconda.org/conda-forge/pyjuliapkg)**

---

<div class="post-metadata">

**Author:** ![svilupp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/svilupp/32/34933_2.png) [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Post date:** [February 7, 2024, 9:22am UTC](https://discourse.julialang.org/t/ann-pyjuliacall-and-pyjuliapkg-packaged-on-conda-forge/109849/2 "2024-02-07T09:22:19Z")

</div>

Amazing! Thank you, @mkitti !
