Views:
1,248
Votes: 2
✅ Solution
Tags:
16.04
nvidia
python3
cuda
tensorflow
Link:
🔍 See Original Answer on Ask Ubuntu ⧉ 🔗
URL:
https://askubuntu.com/q/1309397
Title:
A problem when Installing the Nvidia, Cuda on Ubuntu 16.04, and with upgrading the Ubuntu
ID:
/2021/01/20/A-problem-when-Installing-the-Nvidia_-Cuda-on-Ubuntu-16.04_-and-with-upgrading-the-Ubuntu
Created:
January 20, 2021
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
The first thing I would do is getting apt
working again as detailed here:
To summarize the answer:
Visit http://packages.ubuntu.com, and download the python-minimal
and python3-minimal
and apt
packages, then install those packages using dpkg. It may take a few iterations, as dpkg complains about other missing dependencies that you must download and install in the correct order.
Generally, most users who have broken or missing Python find it faster and easier to simply backup their data and do a clean-install.