# \[ANN\] PythonCall and JuliaCall

**URL:** https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778
**Category:** Package Announcements
**Tags:** interoperability, python, pythoncall
**Created:** [February 19, 2022, 10:49pm UTC](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778 "2022-02-19T22:49:15Z")
**Posts on this page:** 5
**Page:** 5

<div class="post-metadata">

### Author: ![cjdoris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cjdoris/32/213133_2.png) [@cjdoris](https://discourse.julialang.org/u/cjdoris)
#### Post date: [June 15, 2022, 4:50pm UTC](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778/86 "2022-06-15T16:50:06Z")

</div>

```julia
from juliacall import Main as jl
import numpy as np
jl.seval("using Plots")
jl.display(jl.plot(np.random.randn(100)))

```

---

<div class="post-metadata">

### Author: ![HerAdri](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/heradri/32/5816_2.png) [@HerAdri](https://discourse.julialang.org/u/HerAdri)
#### Post date: [June 15, 2022, 5:05pm UTC](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778/87 "2022-06-15T17:05:57Z")

</div>

```julia
rjl=jl.plot(np.random.randn(100))
jl.display(rjl)

```

![juliacall_from_Python_plot](https://global.discourse-cdn.com/julialang/original/3X/6/0/601c0d7bec2854cd6119f65c4434242e2b49246d.jpeg)

---

<div class="post-metadata">

### Author: ![dmbates](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmbates/32/44_2.png) [@dmbates](https://discourse.julialang.org/u/dmbates)
#### Post date: [June 27, 2022, 1:25pm UTC](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778/88 "2022-06-27T13:25:59Z")

</div>

Is it possible to have `IJulia` and `CondaPkg` both available without creating more than one Conda instance?

I may be misunderstanding how these packages interact so let me describe my situation. I use [quarto](https://quarto.org/) for creating documents, presentations, etc. (see, e.g., section2 of [Julia Workshop - Julia Workshop for Data Science](https://crsl4.github.io/julia-workshop)). The evaluation engine for Julia code blocks in quarto is jupyter. Thus I need to have a Julia kernel specification in my Jupyter environment, which, in practice, means having [IJulia.jl](https://github.com/JuliaLang/IJulia.jl) installed, and that package depends on [Conda.jl](https://github.com/JuliaPy/Conda.jl). If I add [PythonCall.jl](https://github.com/cjdoris/PythonCall.jl) and [CondaPkg.jl](https://github.com/cjdoris/CondaPkg.jl) to my project, will I end up with two separate instances of Conda?

---

<div class="post-metadata">

### Author: ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)
#### Post date: [June 27, 2022, 1:58pm UTC](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778/89 "2022-06-27T13:58:35Z")

</div>

> [@dmbates](#):
>
> Is it possible to have `IJulia` and `CondaPkg` both available without creating more than one Conda instance?

IJulia doesn’t need you to have a Conda distro installed at all. Just launch `jupyter` yourself using whatever method you want.

> [@dmbates](#):
>
> means having [IJulia.jl](https://github.com/JuliaLang/IJulia.jl) installed, and that package depends on [Conda.jl](https://github.com/JuliaPy/Conda.jl).

The Conda.jl package is extremely lightweight — it doesn’t install any Python distro unless you explicitly ask it to. (Or if some other package that you install asks it to.)

For example, running `IJulia.jupyter()` asks you if you want to install a Conda distro to get `jupyter`. But you don’t need this if you launch `jupyter` in some other way.

---

<div class="post-metadata">

### Author: ![lazzarello](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lazzarello/32/37769_2.png) [@lazzarello](https://discourse.julialang.org/u/lazzarello)
#### Post date: [May 8, 2023, 11:35pm UTC](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778/90 "2023-05-08T23:35:55Z")

</div>

This looks great! A significant improvement in JuliaCall compared to py-julia is it does not require a custom Python be compiled on the host!

[Previous page](https://discourse.julialang.org/t/ann-pythoncall-and-juliacall/76778.md?page=4)
