All Courses

Having trouble installing numpy on Ubuntu 18.04

By Pp5344229@gmail.com, a month ago
  • Bookmark
0

Having trouble installing NumPy on Ubuntu 18.04 how to deal with this issue

installing
Trouble
Numpy
Ubuntu
18.04
1 Answer
0
Goutamp777

To install Numpy on Ubuntu 18.04, you can follow these steps:


  1. Open a terminal window by pressing Ctrl+Alt+T.
  2. Update the package index and upgrade the system with the following commands:
sudo apt update
sudo apt upgrade

3.Install the Python package manager pip by running the following command:

  sudo apt install python3-pip

4. Install Numpy using pip by running the following command:

sudo pip3 install numpy

Note that we are using pip3 instead of pip to ensure that the package is installed for Python 3.

5. Verify the installation by starting a Python interpreter and importing Numpy:

python3
>>> import numpy

If the installation was successful, you should not see any error messages.


If you encounter any errors during the installation process, please let me know the error message and I can help you troubleshoot further.


Your Answer

Webinars

Live Masterclass on : "How Machine Get Trained in Machine Learning?"

Mar 30th (7:00 PM) 516 Registered
More webinars

Related Discussions

Running random forest algorithm with one variable

View More