2022年5月25日 星期三

Ubuntu 18.04 python2 python-scipy installation

Problem

E: Package 'python-scipy' has no installation candidate 


Solution

Python 2 is EOL, but... 

you can still install this package by downloading it from 18.04 LTS repository with 


$cd ~/Downloads 
$wget http://archive.ubuntu.com/ubuntu/pool/universe/p/python-scipy/python-scipy_0.19.1-2ubuntu1_amd64.deb 
$sudo apt-get install ./python-scipy_0.19.1-2ubuntu1_amd64.deb 
  

and then use it was planned. 

 
 

Note: what is interesting - the 20.04 LTS repository has NumPy, but does not have SciPy. Very strange decision as from user point-of-view. 

沒有留言:

張貼留言

ADGuard