嘿,从过去几个月以来,我一直面临这个问题,由于这个问题,我必须始终使用 docker 来安装一些东西,而不是使用 brew :
注:
make install PYTHONAPPSDIR=/usr/local/Cellar/[email protected]/3.12.5
Last 15 lines from /Users/admin/Library/Logs/Homebrew/[email protected]/03.make:
/usr/bin/install -c -m 755 Modules/_socket.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_socket.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/syslog.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/syslog.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/termios.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/termios.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_posixshmem.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_posixshmem.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_multiprocessing.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_multiprocessing.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_ctypes.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_ctypes.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_curses.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_curses.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_curses_panel.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_curses_panel.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_sqlite3.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_sqlite3.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_ssl.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_ssl.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_hashlib.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_hashlib.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_uuid.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_uuid.cpython-312-darwin.so
/usr/bin/install -c -m 755 Modules/_tkinter.cpython-312-darwin.so /usr/local/Cellar/[email protected]/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload/_tkinter.cpython-312-darwin.so
install: Modules/_tkinter.cpython-312-darwin.so: No such file or directory
make: *** [sharedinstall] Error 71
我已经做了这些:
> brew reinstall [email protected]
> brew reinstall tcl-tk
我还重新启动了我的机器,运行了brew cleanup和brew doctor。
系统信息:MacOS Catalina 10.15.7
PS:我知道这一点:
Warning: You are using macOS 10.15.
We (and Apple) do not provide support for this old version.
It is expected behaviour that some formulae will fail to build in this old version.
It is expected behaviour that Homebrew will be buggy and slow.
Do not create any issues about this on Homebrew's GitHub repositories.
Do not create any issues even if you think this message is unrelated.
Any opened issues will be immediately closed without response.
Do not ask for help from Homebrew or its maintainers on social media.
You may ask for help in Homebrew's discussions but are unlikely to receive a response.
Try to figure out the problem yourself and submit a fix as a pull request.
We will review it but may or may not accept it.
但我仍然需要修复它,因此我们将不胜感激。谢谢!
同样的问题,有更新吗?