Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day 12 python3 pip install requests_html failed on mac #149

Open
lilyLovesJeans opened this issue Nov 8, 2023 · 1 comment
Open

Day 12 python3 pip install requests_html failed on mac #149

lilyLovesJeans opened this issue Nov 8, 2023 · 1 comment

Comments

@lilyLovesJeans
Copy link

I have a question , I can't install the module requests_html on MacOS Catalina ,
and have errors as follows , Can you help me ?

  *********************************************************************************
  Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
  Perhaps try: xcode-select --install
  *********************************************************************************
  error: command '/usr/bin/clang' failed with exit code 71
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lxml
Failed to build lxml
ERROR: Could not build wheels for lxml, which is required to install pyproject.toml-based projects

@WaterNewt
Copy link

Install the Xcode Command Line Tools by typing xcode-select --install into your terminal. Also make sure that libxml2 is installed, you can install it by typing brew update, and then brew install libxml2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants