Uninstalling Python 3.10 and Installing Python 3.9 on Mac OS Big Sur - macos-big-sur

I really need help with the following problem. I am trying to figure out how to go about uninstalling Python 3.10.1 on my computer which is a Mac OS Big Sur laptop (Version 11.6.2). I would like to install Python 3.9 instead.
I go to the terminal on my computer and try to type the following command to uninstall Python 3.10:
sudo rm -rf /Library/Frameworks/Python.framework
I hit enter after this command and the following shows up on my terminal screen:
Password: Key icon
It is at this point that I am totally unsure of what to do.

Related

Problems installing and opening Anaconda3 on macOS Sierra

I am using a MacBook Pro (early-2011) with macOS Sierra v10.12.6. I can not install and run Anaconda3. I have downloaded the pkg file from the Anaconda webpage. First day, it took overnight to finish installing. After which it said installation failed. I tried to delete all files and reinstall all over again serval times, but this hasn't worked. I made sure the /opt folder was empty before I reinstall again, but even like that didn't work.
Any ideas how to make it work?
Had a similiar problem with a geriatric iMac mid 2010 running OSX 10.13.16. The GUI installer for Anaconda 3 takes an age, then reports there was a problem.
I downloaded the install script and ran, "bash Anaconda3-2022.05-MacOSX-x86_64.sh" in a terminal.
Answered questions, and after some time, have Anaconda installed in my personal space. Now to figure out how to use the latest LTS Julia.
No Anaconda support. Current Anaconda (and likely Miniconda) distribution declares a minimum system requirement of macOS v10.13+. One could try scraping back through the archive to find an older distribution that will install, but I wouldn't recommend that.
Conda Forge supports macOS 10.9+. Conda Forge still builds all osx-64 packages with a macOS 10.9 target. Hence, you should be fine using instead a Miniforge variant for the base Conda installation. I strongly recommend Mambaforge, and using mamba instead of conda.

Torch Lua cannot find default terminal on mac

I updated my OS to mac OS, and then updated lua and other packages with a brew upgrade. Now I can't use gnuplot in lua, I receive this error:
Can not find any of the default terminals for mac. You can manually set terminal by gnuplot.setterm("terminal-name")
Note: I am using iTerm2 as terminal, if that's any help.
The issue was actually with gnuplot itself, not lua or torch.
I just reinstalled it with x11 and it worked:
brew uninstall gnuplot; brew install gnuplot --with-x11

OS X Terminal hangs installing vNext KVM after running "source kvm.sh"

I'm trying to install vNext on my Macbook but when I run source kvm.sh the terminal just hangs.
My setup:
OSX 10.9.5 (Mavericks)
Mono 3.10.0
My problem:
I followed the instructions for installing vNext on OS X from the GitHub repo:
https://github.com/aspnet/Home
Essentially:
brew tap aspnet/k
brew install kvm
source kvm.sh
Everything seems to go fine until the step where I run source kvm.sh, which hangs the terminal with a message "[Process completed]".
Adding source kvm.sh to ~/.zshrc file starts the terminal and immediately hangs it once that runs.
What I've tried:
I uninstalled kvm (brew uninstall kvm) and aspnet/k (brew untap aspnet/k) and deleted the directory ~/.kre, then tried reinstalling it all again.
No luck.
Any ideas? Here's a screenshot:
The kvm currently not working in ZSH, Running it under /bin/bash should work quite well.
Also, make sure you remove anything to do with kvm from your .zshrc file and you should be good to go again.
according to https://github.com/aspnet/kvm/issues/83 , you can replace the kvm.sh file with the version from dev branch, which can be found under https://github.com/aspnet/kvm/blob/dev/src/kvm.sh , and zsh should be happy with it afterwards.
Worked for me.

How to install MATLAB 2012b Mac OSX 10.9.2?

I'm trying to install MATLAB 2012b on my mac OSX 10.9.2 but when I run the installer I get the message:
"You can’t open the application “InstallForMacOSX” because PowerPC
applications are no longer supported".
Is there anyway I could install the software?
Try to install XQuartz. Upgrading to Matlab R2014a will not do the trick, because you will have to go through the same process (however, Matlab 2013a does not need XQuartz installed strangely enough).

Install wxpython on mac

I am new to Mac, have always used windows and I am confused on how to install wxPython. I downloaded the .dmg file from the website, and it contained three files:
a pkg file, a readme, and an uninstall.py
I opened the pkg file, went through the steps, and Im not sure where it installed after it said "Installation Complete"
Also, I did the import wx in idle, which caused a stacktrace error.
Thanks.
From personal experience on installing wxPython on both Windows 7 and Mac OSX, I found restarting the computer helps out after installation and stacktrace errors appearing in the Shell upon 'import wx'. Sounds simple enough, but it worked for me. If no errors appear after 'import wx', that means wxPython installed correctly. To add to bouke's answer above, the current way to install Python 2.7 via homebrew in Terminal:
brew install python
To install wxPython:
brew install wxpython
At least for development, I would suggest to install (python and) wx using homebrew. It will install version 2.9 and you're ensured that Apple-provided system libraries remain untouched.

Resources