mac – Python set up damaged after Homebrew auto up to date

[ad_1]

My python set up was tousled after I ran the command brew set up curl inflicting Homebrew to auto replace.

Since then, I found that matplotlib was not put in (it was earlier than the replace), which I needed to set up with brew and never pip, and each time I import the newly put in matlplotlib.pyplot, there’s an error relating to not discovering PIL. Putting in Pillow doesn’t have any impact on this error.

Is there a strategy to reverse that to when all the things labored effectively on my Mac? I’m operating macOS Sonoma 14.5.

Any assistance is welcome. Thanks!

============= ERROR on importing matplotlib =============================

himilcon [Documents]  % python3   
Python 3.12.4 (fundamental, Jun  6 2024, 18:26:44) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Kind "assist", "copyright", "credit" or "license" for extra info.

>>> import matplotlib.pyplot as plt
Traceback (most up-to-date name final):
  File "<stdin>", line 1, in <module>
  File "/choose/homebrew/Cellar/python-matplotlib/3.9.1/libexec/lib/python3.12/site-packages/matplotlib/__init__.py", line 159, in <module>
    from . import _api, _version, cbook, _docstring, rcsetup
  File "/choose/homebrew/Cellar/python-matplotlib/3.9.1/libexec/lib/python3.12/site-packages/matplotlib/rcsetup.py", line 28, in <module>
    from matplotlib.colours import Colormap, is_color_like
  File "/choose/homebrew/Cellar/python-matplotlib/3.9.1/libexec/lib/python3.12/site-packages/matplotlib/colours.py", line 52, in <module>
    from PIL import Picture
ModuleNotFoundError: No module named 'PIL'
>>> give up()
> 
> 


=========== auto replace preliminary strains ===================================

himilcon [depends]  % brew set up curl                                                 
==> Auto-updating Homebrew...
Alter how usually that is run with HOMEBREW_AUTO_UPDATE_SECS or disable with
HOMEBREW_NO_AUTO_UPDATE. Cover these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
==> Auto-updated Homebrew!
Up to date 2 faucets (homebrew/core and homebrew/cask).
==> New Formulae
[email protected]                                                               tdb
==> New Casks
avbeam                                           duplicateaudiofinder                             twingate
Error: Surprising technique 'appcast' referred to as on Cask adoptopenjdk8.
Observe the directions right here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs

You have got 125 outdated formulae and 1 outdated cask put in.
Error: Surprising technique 'appcast' referred to as on Cask adoptopenjdk8.
Observe the directions right here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
Error: Surprising technique 'appcast' referred to as on Cask adoptopenjdk8.
Observe the directions right here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
==> Migrating system atk to at-spi2-core
==> Unlinking atk
==> Transferring atk variations to /choose/homebrew/Cellar/at-spi2-core
==> Relinking at-spi2-core
Warning: at-spi2-core is outdated!
To keep away from damaged installations, as quickly as doable please run:
  brew improve
Or, in the event you're OK with a much less dependable repair:
  brew improve at-spi2-core

==> Downloading https://ghcr.io/v2/homebrew/core/curl/manifests/8.8.0
########################################################################################################################################### 100.0%
==> Fetching dependencies for curl: brotli, libunistring, gettext, libidn2, libnghttp2, ca-certificates, openssl@3, libssh2, openldap, rtmpdump, xz and zstd

[ad_2]

Leave a Reply

Your email address will not be published. Required fields are marked *