如何在Mac OS上安装libxml2-dev libxslt-dev [英] How to install libxml2-dev libxslt-dev on Mac os

查看:533
本文介绍了如何在Mac OS上安装libxml2-dev libxslt-dev的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经用自制软件安装了libxml2和libxslt,但是它不想安装libxml2-dev或libxslt-dev: Error: No available formula for libxml2-dev

I have installed both libxml2 and libxslt with homebrew, but it doesn't want to install libxml2-dev or libxslt-dev: Error: No available formula for libxml2-dev

我有点子,端口和所有我能找到的.我什至安装了Xcode命令行工具, 但没有运气.安装libxml2-dev&的方法是什么?在Mac 10.10上是libxslt-dev?

I have pip, port, and all I could found. I even installed the Xcode command line tools, but with no luck. What is the way to install libxml2-dev & libxslt-dev on Mac 10.10?

推荐答案

尝试添加STATIC_DEPS,就像这样

STATIC_DEPS=true sudo pip install lxml

这篇关于如何在Mac OS上安装libxml2-dev libxslt-dev的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆