如果出现问题,删除这些文件并检索它们的最佳方法是什么?

2024-05-16 16:25:24 发布

您现在位置:Python中文网/ 问答频道 /正文

删除这些文件并在出现问题时检索它们的最佳方法是什么?我正在尝试解决自制程序的问题,终端上出现了以下警告。这个python.framework我不太在意,因为我知道我把它放在那里了。至于其他文件,我不知道它们是怎么到那里的。他们看起来并不眼熟。如果你站在我的立场上,你会怎么让这些警告消失?

Warning: Python is installed at /Library/Frameworks/Python.framework
Homebrew only supports building against the System-provided Python or a
brewed Python. In particular, Pythons installed to /Library can interfere
with other software installs.

Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected dylibs:
/usr/local/lib/libtcl8.6.dylib
/usr/local/lib/libtk8.6.dylib

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/fakemysql.h
/usr/local/include/fakepq.h
/usr/local/include/fakesql.h
/usr/local/include/itcl.h
/usr/local/include/itcl2TclOO.h
/usr/local/include/itclDecls.h
/usr/local/include/itclInt.h
/usr/local/include/itclIntDecls.h
/usr/local/include/itclMigrate2TclCore.h
/usr/local/include/itclTclIntStubsFcn.h
/usr/local/include/mysqlStubs.h
/usr/local/include/odbcStubs.h
/usr/local/include/pqStubs.h
/usr/local/include/tcl.h
/usr/local/include/tclDecls.h
/usr/local/include/tclOO.h
/usr/local/include/tclOODecls.h
/usr/local/include/tclPlatDecls.h
/usr/local/include/tclThread.h
/usr/local/include/tclTomMath.h
/usr/local/include/tclTomMathDecls.h
/usr/local/include/tdbc.h
/usr/local/include/tdbcDecls.h
/usr/local/include/tdbcInt.h
/usr/local/include/tk.h
/usr/local/include/tkDecls.h
/usr/local/include/tkPlatDecls.h

Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected .pc files:
/usr/local/lib/pkgconfig/tcl.pc
/usr/local/lib/pkgconfig/tk.pc

Warning: Unbrewed static libraries were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected static libraries:
/usr/local/lib/libtclstub8.6.a
/usr/local/lib/libtkstub8.6.a

Tags: toinyouifincludelibusrlocal
1条回答
网友
1楼 · 发布于 2024-05-16 16:25:24

你和我一样是个新手,你想做奥登项目。您浏览了教程,下载了自制Brew并运行了Brew doctor,但您遇到了我在上面发现的类似警告。这就是我所做的。。。

我创建了一个word文档,复制并粘贴了所有警告,以便知道文件的来源。然后我在桌面上创建了一个名为“备份”的文件夹,并继续将文件移动到桌面上的那个文件夹中。有关在终端http://www.macworld.com/article/2080814/master-the-command-line-copying-and-moving-files.html中移动文件的帮助,请参阅此处

在我移动了这些文件并在word文档中注意到我将它们移到了桌面上一个名为“back-up”的文件中之后,我按照指示修剪了所有的符号链接。我经营了brew doctor,现在“准备好冲泡了”。我想如果这一切都击中风扇,我将有原始文件,并能够移动回来没有问题。

{a2或者你下载的任何一个python框架的术语

相关问题 更多 >