How to install NumPy package in Julia?
is a very new and fast high-level programming language and has the power to compete with python. Like python, Julia is also compatible to do machine learning and data analysis part. In this tutorial, we will learn about how to install NumPy and use it in our Julia environment.
Checking for a pre-installed Julia Version:
Before we begin with the installation of Julia, it is good to check if it might be already installed on your system. To check if your device is preinstalled with Julia or not, just go to the Command line
(search for cmd
in the Run dialog( + R
Now run the following command:
If Julia is not installed, please follow the steps on How to Install Julia on Windows?
Installing NumPy package
Follow these steps to make use of libraries like NumPy in Julia:
command to install the external packages in Julia.
package to install the required python modules in julia and to do so use the command given below:
In this step, we have to use the
package and for that use the following command:
And Here we go, this is the final statement which we use to complete the setup for numpy
np = pyimport("numpy")
Share your thoughts in the comments
Please Login to comment...