# 安裝 AnsiParser ## Python 版本 建議使用最新的 Python 版本,最低要求 [Python ≥ 3.10](https://www.python.org/)。 ## Dependency AnsiParser 目前依賴於以下套件,在安裝過程中將會自動安裝,細節可參考 [pyproject.toml](https://github.com/bubble-tea-project/ansiparser/blob/main/pyproject.toml)。 - [Beautiful Soup](https://www.crummy.com/software/BeautifulSoup/) is a library that makes it easy to scrape information from web pages. It sits atop an HTML or XML parser, providing Pythonic idioms for iterating, searching, and modifying the parse tree. ## 安裝 你可以使用以下方式安裝 AnsiParser。 > 建議使用 Python 套件管理器,來管理套件及虛擬環境。 ### [Poetry](https://github.com/python-poetry/poetry) (推薦) ```bash poetry add ansiparser ``` ### Pip ```bash pip install ansiparser ```