Linux Mint won't load after uninstall of Python 3
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Linux Mint won't load after uninstall of Python 3
Hi all,
I'm pretty new to Linux. I was working on a school project. I had Python 3.8 but I need Python 3.7 (NLU library wouldn't load with Python 3.8 apparently). So I decided to uninstall Python 3.8 and was going to install Python 3.7. After the uninstall, everything crashed. I restarted my computer and my dualboot with pop up, but the Linux won't load.
Any help would be greatly appreciated! I've used the BIOS a little but my understanding of it is very basic. Any idea of how I can get my Linux partition to load?
Thank you!
I'm pretty new to Linux. I was working on a school project. I had Python 3.8 but I need Python 3.7 (NLU library wouldn't load with Python 3.8 apparently). So I decided to uninstall Python 3.8 and was going to install Python 3.7. After the uninstall, everything crashed. I restarted my computer and my dualboot with pop up, but the Linux won't load.
Any help would be greatly appreciated! I've used the BIOS a little but my understanding of it is very basic. Any idea of how I can get my Linux partition to load?
Thank you!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Linux Mint won't load after uninstall of Python 3
You made one of the worst "Boo Boos" you could have possibly made in linux...Python is a coding/programming language that is part and parcel of the entire linux operating system.I'm pretty new to Linux. I was working on a school project. I had Python 3.8 but I need Python 3.7 (NLU library wouldn't load with Python 3.8 apparently). So I decided to uninstall Python 3.8 and was going to install Python 3.7. After the uninstall, everything crashed. I restarted my computer and my dualboot with pop up, but the Linux won't load.
Any help would be greatly appreciated! I've used the BIOS a little but my understanding of it is very basic. Any idea of how I can get my Linux partition to load?
Thank you!
I usually just recommend a complete new fresh install once you have done something like this.
There are ways to "Possibly" fix it, but im going to leave that one to others that have more experience than i on this subject.
There is a way of installing other python versions to use for your particular application that you need to use on your school project, but that also is a topic im going to leave to the real experts on python and its specialised usages.
The lesson here is to never uninstall python...your system cannot work without it...DAMIEN
EDIT...As Rene pointed out, it IS Linux Mint OS i was referring to, Not all Linux OSs...Accidently omitted that fact...lol.
Last edited by DAMIEN1307 on Sat Apr 17, 2021 1:24 pm, edited 1 time in total.
Re: Linux Mint won't load after uninstall of Python 3
Well... the Linux Mint operating system. But otherwise what he said...DAMIEN1307 wrote: ⤴Fri Apr 16, 2021 3:39 pm Python is a coding/programming language that is part and parcel of the entire linux operating system.
Re: Linux Mint won't load after uninstall of Python 3
After you do a clean reinstall of Mint, don't use system-wide Python for your development. Get used to using virtual environments. Modern IDEs like PyCharm make it easy to set up virtual environments with different Python versions without affecting your system. PyEnv is a great tool also: https://github.com/pyenv/pyenv/
Re: Linux Mint won't load after uninstall of Python 3
And, not on Mint 20 to check but on 19 Python 3.7 can be installed alongside the system python3 version 3.6 directly from the repositories even. Check with e.g.
apt search python3.7
if also for Mint 20.Re: Linux Mint won't load after uninstall of Python 3
Oh no!!! I was afraid of that. Okay, I will do a fresh install right now and see what I can figure out. It was a learning experience.
Re: Linux Mint won't load after uninstall of Python 3
Just login to command prompt from Grub Advanced Recovery menu and reinstall python from command line.
-=t42=-
Re: Linux Mint won't load after uninstall of Python 3
Re: Linux Mint won't load after uninstall of Python 3
If grub boot menu is hidden press the SHIFT key while booting.
Select Advanced line.
Select the "recovery mode" line.
In the Recovery Menu select 'root - Drop to root shell prompt'
Press Enter
To reinstall the original python version, execute these commands:
apt update
apt install [a lot of packages, see /var/log/apt/history.log]
python ––version
reboot
But, as rene said: Re: Linux Mint won't load after uninstall of Python 3
Last edited by t42 on Sat Apr 17, 2021 3:47 am, edited 1 time in total.
-=t42=-
Re: Linux Mint won't load after uninstall of Python 3
Uninstalling the system Python version will have uninstalled quite a bit more than Python itself due to dependencies. Just reinstall the system.
Re: Linux Mint won't load after uninstall of Python 3
Yes, ideed, something like that:
Code: Select all
apparmor apt-clone aptdaemon apturl apturl-common arandr bleachbit blueberry byobu caribou catfish celluloid cinnamon-desktop-data compiz compiz-gnome compizconfig-settings-manager dkms drawing firefox
foomatic-db-compressed-ppds gconf-editor gconf2 gdebi gdebi-core gedit gedit-common gedit-plugin-bookmarks gedit-plugin-bracket-completion gedit-plugin-character-map gedit-plugin-code-comment
gedit-plugin-color-picker gedit-plugin-color-schemer gedit-plugin-commander gedit-plugin-draw-spaces gedit-plugin-find-in-files gedit-plugin-git gedit-plugin-join-lines gedit-plugin-multi-edit
gedit-plugin-session-saver gedit-plugin-smart-spaces gedit-plugin-synctex gedit-plugin-terminal gedit-plugin-translate gedit-plugin-word-completion gedit-plugins gir1.2-xapp-1.0 gnome-menus gnome-terminal
gufw gvfs-backends hplip hplip-data libcinnamon-desktop4 libmpv1 libsmbclient libxapp1 light-locker-settings lightdm-settings lsb-release meld menulibre mint-common mint-meta-core mint-meta-xfce
mintbackup mintdesktop mintdrivers mintinstall mintlocale mintreport mintsources mintstick mintsystem mintupdate mintwelcome mpv mugshot nemo nemo-compare nemo-data nemo-fileroller netplan.io
network-manager-gnome networkd-dispatcher nvidia-dkms-440 nvidia-dkms-450 nvidia-driver-440 nvidia-driver-450 nvidia-prime nvidia-prime-applet nvidia-settings onboard onboard-common openprinting-ppds orca
pix pix-dbg plymouth-theme-ubuntu-text printer-driver-foo2zjs printer-driver-foo2zjs-common printer-driver-m2300w printer-driver-postscript-hp printer-driver-ptouch printer-driver-pxljr
printer-driver-sag-gdi python3 python3-apport python3-apt python3-aptdaemon python3-aptdaemon.gtk3widgets python3-blinker python3-brlapi python3-bs4 python3-cairo python3-certifi python3-cffi-backend
python3-chardet python3-click python3-colorama python3-commandnotfound python3-compizconfig python3-configobj python3-crypto python3-cryptography python3-cups python3-cupshelpers python3-dbus
python3-debconf python3-debian python3-defer python3-distro python3-distro-info python3-distupgrade python3-entrypoints python3-gdbm python3-gi python3-gi-cairo python3-grpcio python3-httplib2 python3-icu
python3-idna python3-ifaddr python3-jwt python3-keyring python3-launchpadlib python3-lazr.restfulclient python3-lazr.uri python3-ldb python3-louis python3-mako python3-markupsafe python3-nacl
python3-netifaces python3-newt python3-nose python3-oauthlib python3-packaging python3-parted python3-pexpect python3-pil python3-pkg-resources python3-problem-report python3-protobuf python3-psutil
python3-ptyprocess python3-pyatspi python3-pycurl python3-pymacaroons python3-pyparsing python3-reportlab python3-reportlab-accel python3-requests python3-requests-unixsocket python3-samba
python3-secretstorage python3-setproctitle python3-simplejson python3-six python3-soupsieve python3-speechd python3-systemd python3-talloc python3-tdb python3-uno python3-update-manager python3-urllib3
python3-wadllib python3-xapp python3-xdg python3-xkit python3-yaml python3-zeroconf python3.8 redshift-gtk rhythmbox-plugin-tray-icon rhythmbox-plugins samba-common-bin samba-libs screen-resolution-extra
slick-greeter smbclient smplayer synaptic system-config-printer system-config-printer-common system-config-printer-gnome system-config-printer-udev terminator ttf-mscorefonts-installer
ubuntu-advantage-tools ubuntu-drivers-common ubuntu-minimal ubuntu-release-upgrader-core ubuntu-system-adjustments ufw update-manager-core update-notifier-common vlc-plugin-samba warpinator xapps-common
xed xed-dbg xfce4-xapp-status-plugin xfsprogs xorg xreader xreader-dbg xserver-xorg xviewer xviewer-dbg xviewer-plugins yelp youtube-dl
-=t42=-
Re: Linux Mint won't load after uninstall of Python 3
Yah. Recovering from this manually will be a nightmare
Re: Linux Mint won't load after uninstall of Python 3
Okay, so I assumed (I probably should do that less) that I needed to do a complete factory reset. So I deleted the Linux partition and I reset the windows one but now the GRUB/BOOT loader is messed up. This is what it says:
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
grub>
So I restart the computer cause I have no idea what any of that means and press esc while it's loading. I press F9 Boot Device Options and boot manually into Windows (which is a relief cause my semester isn't over yet) and then my Windows works fine. I'm just trying to get the Boot Manager stuff all fixed. Any help?
Thank you,
KC
Minimal BASH-like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible device or file completions.
grub>
So I restart the computer cause I have no idea what any of that means and press esc while it's loading. I press F9 Boot Device Options and boot manually into Windows (which is a relief cause my semester isn't over yet) and then my Windows works fine. I'm just trying to get the Boot Manager stuff all fixed. Any help?
Thank you,
KC
Re: Linux Mint won't load after uninstall of Python 3
bootsect /nt60 c: /mbr
from an admin-level CMD-prompt in Windows supposedly works.Re: Linux Mint won't load after uninstall of Python 3
I did a fresh install and everything is working actually better than when I first installed it (wifi problems). Thank you all!