macOS M1 Pro install h5py

Failed to install h5py

installation TensorFlow Time,encounter a dependency h5py,This package could not be successfully installed anyway,Error no information available:

it's hard to do,Check the log and find that there is no binary package for m1,compiled automatically。But the compiler reported that the header file could not be found:
[pencil-6[……]

Click link to continue reading...

Remove unsupported System Extension macOS M1

Directly use the system information tool to view the plug-ins in the current system

There have been pop-up windows when installing the driver recently,Said that the XX system plug-in is not supported,Unable to load。But I have been suffering from not finding the specific plugin path and unable to delete it,Actually, I don’t use these plugins anymore.,Even the app that installed the plug-in has already been deleted。I can't stand it anymore today,More than ten warning pop-ups come out at once,Decided to deal with it。

Apple has updated the plug-in development structure in several recent systems,new ap now[……]

Click link to continue reading...

Make a new installation startup disk for macOS

prior to Mac startup key combination recovery mode recovery mode The problem of network recovery is mentioned in,In fact, in the end, I couldn't successfully use the network recovery,The reason is that my hard drive is NVMe,But I don’t have an original hard drive to use,So I cannot update the motherboard firmware by downgrading and then upgrading,This makes the latest recovery mode unusable,The old recovery mode does not recognize the hard drive。[……]

Click link to continue reading...

Mac startup key combination recovery mode recovery mode

Recently upgraded the new MacBook Pro,Already using m1 pro chip。 but,Old style 2015 I don’t plan to sell my old notebook,After all, when I bought it, it was second-hand,Now the battery has also been replaced by two,The hard disk has also been changed to NVMe by adding a conversion head. 。It’s also very good to install it as Windows and play a dozen games.。

But when I enter the recovery mode, I encounter[……]

Click link to continue reading...

Three operating modes of macOS application

Normal,You won't encounter this problem,Until you need to write a background program...

We all know that macOS has a global Dock,All running programs will be displayed on this thing,But if your program is a menu bar applet,Or a...input method,Then you definitely don’t want the icon of this app to be displayed on the Dock,Because this kind of app needs to run continuously in the background。[……]

Click link to continue reading...

After upgrading macOS Monterey, the device wakes up frequently in the middle of the night after sleeping

Recently updated to macOS Monterey, Waking up by the screen in the middle of the nightclub,It feels weird,Have been before,But the screen will only light up when there is a notification,Now I light it up without any reason,The hardware is still that hardware,Then it should be the software's pot。

Checked it online,First I found Apple's official tutorial:https://support.apple.com/zh[……]

Click link to continue reading...

Published
Categorized as Mac OS Tagged

Gem install can't find binary after updating Ruby

I always use rbenv,Until this time after updating cocoapods,Execution error,of course,Visual inspection should be caused by my ruby ​​environment being too old,So I tried rbenv install 3.0.2 ,But unfortunately,Reported an error,Go to the official warehouse of rbenv to take a look,The last version is still 2019...Okay,[……]

Click link to continue reading...

Avoid website hijacking by malicious domain names

The server of R0uter's blog rejected the embedding of the site

I accidentally found a batch of websites today,Such as http://b6x.net/ Now when you click on this website, it will display "www.logcg.com refused to connect.”,When I clicked on it for the first time, I was stunned...he actually copied my entire website? !

This is a series of three-digit domain name websites,Are similar operations。

and many more,I found out that[……]

Click link to continue reading...

zsh enable bash * Asterisk wildcard function

Recently I found that the server is very slow every time apt upgrade,The reason,There are still a lot of unused kernels that have to be regenerated every time,Encountered a problem while cleaning up,*Number matching does not take effect,You must manually enter the full kernel name each time to uninstall it。

Found after stepping on the pit,It turned out to be because I used zsh,and zsh The default is not supported * No. wildcard! It’s easy to turn on this feature[……]

Click link to continue reading...