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

时间:2016-01-05 19:53:46

标签: python terminal warnings homebrew

如果出现问题,删除这些文件并检索它们的最佳方法是什么?我试图将Homebrew平方移开,并在终端中显示以下警告。 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

1 个答案:

答案 0 :(得分:1)

你是像我一样的新手,你正在尝试做奥登项目。你仔细阅读教程并下载Home Brew并运行brew doctor,但你发现了我上面发现的类似警告。这就是我做的......

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

中文件的帮助,请参阅此处

在我移动文件并在我的word文档中注明我将它们移动到桌面上名为“back_up”的文件后,我按照指示修剪了所有符号链接。我跑啤酒医生,我现在“准备酿造”。我想如果它全部击中了风扇,我将拥有原始文件并能够将它们移回没问题。

在删除python框架工作或者你下载的任何语言方面;看到这个 - How to uninstall Python 2.7 on a Mac OS X 10.6.4?