ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/ilyas/myenv/lib/python3.13/site-packages/numpy'
Check the permissions.
I am on Kali Linux and I tried to install numpy with this command:
pip install numpy
But I have gotten the output:
Collecting numpy
Downloading numpy-2.2.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (62 kB)
Downloading numpy-2.2.5-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.1 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.1/16.1 MB 7.2 MB/s eta 0:00:00
Installing collected packages: numpy
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/ilyas/myenv/lib/python3.13/site-packages/numpy'
Check the permissions.
Tried with sudo pip install numpy, straight up told it that pip didnt exist (in the root directory, of course.)
Can anyone fix this?