Quantcast
Channel: Active questions tagged ubuntu - Stack Overflow
Viewing all articles
Browse latest Browse all 7072

How to upgrade NumPy in Ubuntu?

$
0
0

My OS is Ubuntu 22.04.4 LTS. The "pip list" command tells that I have the NumPy 1.21.5. But I need a newer version of the NumPy.

I am trying to install the NumPy package whith next command:

pip install --upgrade numpy==2.1.2

But here is an error:

<...>Run-time dependency python found: NO (tried pkgconfig, pkgconfig and sysconfig)../meson.bould:41:12: ERROR: python dependency not found

I find that I must install -dev package. So I do that:

sudo apt install python3-dev

...but the NumPy installation error is still there.

What shall I do to upgrade the NumPy?


Viewing all articles
Browse latest Browse all 7072

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>