Instalação

Instalação

Aspose.TeX FOSS for Python is distributed as a pure Python package on PyPI. It has no native extensions, no LaTeX installation requirement, and no Perl runtime dependency. Install it using the pip package manager on Windows, macOS, or Linux. The package works with Python 3.10 and later and is compatible with virtual environments and container-based deployments.


Precondições

RequisitosDetalhes
Python3.10 or later
OSWindows, macOS e Linux.
DependênciasNenhum (Puro Python)

Instalar a partir do PyPI

Execute o seguinte comando para instalar a versão mais recente:

asposefoss/tex is not yet published — build from source until it ships. See the project README for build instructions.

Para fixar uma versão específica:

asposefoss/tex is not yet published — build from source until it ships. See the project README for build instructions.

Verificar a instalação

Confirmar que o pacote está corretamente instalado:

import aspose_tex
print(aspose_tex.__version__)

Teste de fumo rápido

from aspose_tex import TeXJob, TeXOptions, PdfDevice, StringInputSource

pdf = TeXJob(StringInputSource("Hello!"), PdfDevice(), options=TeXOptions()).run()
print("OK, PDF bytes:", len(pdf))

Pasos seguintes

Ver também:

 Português