Skip to content

v1.0.1: Fix libmagic dependency issue

Compare
Choose a tag to compare
@aksg87 aksg87 released this 02 Aug 06:40
· 111 commits to main since this release
9c47b34

What's Changed

  • Fixed libmagic ImportError by adding pylibmagic dependency (#6)
  • Added [full] install option for easier setup
  • Added Docker support with pre-installed libmagic
  • Updated troubleshooting documentation

Bug Fixes

  • Resolve "failed to find libmagic" error when importing langextract (#6)

Installation

# Standard install (now includes pylibmagic)
pip install langextract

# Full install (explicit all dependencies)
pip install langextract[full]

# Docker (libmagic pre-installed)
docker run --rm -e LANGEXTRACT_API_KEY="your-key" langextract python script.py

Full Changelog: v1.0.0...v1.0.1