Getting ready
In order to use Python from Julia, you should install and configure the PyCall.jl package. PyCall can be configured in one of two modes:
-
Using Python Anaconda, which is automatically installed within Julia
-
Using an external Python installation (for example, a separately installed Python Anaconda)
In this recipe, we use the second option (that is, using external Python), but we also provide comments for the built-in Julia Anaconda. Using a version of Anaconda that is separate from Julia makes it possible to use several Anaconda installations (though just one at a time) with a single Julia installation.
We assume that you have installed and configured Python Anaconda in the ~/anaconda3/ directory (for Windows users, for ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access