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

Installing on an Anaconda virtualenv fails because LIBEVENT_ROOT is not set #2

Open
parautenbach opened this issue Jan 22, 2014 · 0 comments

Comments

@parautenbach
Copy link

We have an Anaconda install and we need to install python-libevent. The setup.py checks for the existence of the LIBEVENT_ROOT environment variable. In the case of Anaconda this is e.g. <ANACONDA_ROOT>/pkgs/libevent-/. The actual libraries are in lib, but setup.py searches .libs.

One option would be to tweak the Anaconda install and create a symbolic link from lib to .libs, but this is not desirable, as we are automating an installation process that would requires unnecessary intervention with already bundled software.

Alternatively, setup.py could search both .libs and lib...

I would argue that setup.py could take a best effort approach in getting a workable python-libevent installed by searching for available libevent.a options. It could e.g. raise an error if there's an ambiguity, but if there's only one option, found e.g. by checking the LD path, it should continue.

Are there any other suggestions? It does not seem to be related to virtualenvs specifically, as I get the same error installing to the system Python.

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

1 participant