[PYTHON] Homebrew error

Error when resetting venv during Python update

$ brew cleanup

There was the following Warning. Warning: Skipping python: most recent version 3.7.6_1 not installed


I will update.

$ brew upgrade

And the following error ...

python


	4: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>'
	3: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative'
	2: from /usr/local/Homebrew/Library/Homebrew/global.rb:13:in `<top (required)>'
	1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- active_support/core_ext/object/blank (LoadError)```

---

$ brew update-reset

 At [Branch Reset and Update](https://stackoverflow.com/a/54913258/8762296)

#### **`==> Fetching /usr/local/Homebrew...`**

==> Resetting /usr/local/Homebrew... Branch 'master' set up to track remote branch 'master' from 'origin'. Reset branch 'master'


brew upgrade

 I updated it without any problem, but there was also Warning.

#### **`Warning: Building python from source:`**

The bottle needs the Apple Command Line Tools to be installed. You can install them, if desired, with: xcode-select --install```


$ xcode-select --install

And still the following error ... xcode-select: note: install requested for command line developer tools

-Install command line developer tools

All solved with the above.

Recommended Posts

Homebrew error
Error recording
Mainframe error handling
Jupyter installation error
centOS 7 installation error
Error in random.shuffle
Tkinter installation (homebrew)
scikit-learn import error
Python Error Handling
Error in Pyinstaller
SikuliX error handling
Error installing pandas_datareader
Error in TensorBoard
Homebrew Vim doesn't start with Python 3.8 error Note
django.db.migrations.exceptions.InconsistentMigrationHistory error handling