我正在尝试安装"libxml2“和"libxslt”,以便在mac上使用scrapy (用python进行web抓取)。
我有自制软件,我运行$ brew install libxml2 libxslt
我收到这条消息OS X already provides this software and installing another version in parallel can cause all kinds of trouble.
当我尝试安装刮伤时,使用$ pip install scrapy
我知道这个错误:
Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
Perhaps try: xcode-select --install当我尝试$ xcode-select libxml2 install时,我会得到一个无效的参数错误。
有什么建议吗?
发布于 2015-11-18 02:05:39
您应该运行$ xcode-select --install。这将安装XCode命令行工具,其中包括libxml2。
https://stackoverflow.com/questions/33770087
复制相似问题