MaxS
MaxS

Reputation: 1028

Installing with pip: please set LZO_DIR to where the lzo source lives

I tried to install bx-python (https://github.com/bxlab/bx-python) with pip

pip install bx-python

from my anaconda path. The exception I got was

Exception: please set LZO_DIR to where the lzo source lives

I am not sure where this lzo source is living and why I have to set it.

Could you explain me why this error is happening and how to fix it? Thanks!

Python 2.7 on Windows

Upvotes: 0

Views: 2279

Answers (1)

phd
phd

Reputation: 94706

You need lzo sources because bx-python depends on python-lzo and python-lzo is only distributed in source form in C hence pip wants to compile it and for compilation python-lzo requires lzo sources. You have to install liblzo2.

Upvotes: 1

Related Questions