-
Notifications
You must be signed in to change notification settings - Fork 47
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
pyBigWig does not install through install_requires for python package #80
Comments
Is there a reason you're not using |
Mainly just to limit the amount of setup commands needed to install the full package with all dependencies. I also eventually want to push my package as a pypi package, and as far as I understand, setup.py will define the dependencies (please correct me if I am wrong?) and I am not sure if "pip install" will then correctly handle installation of pybigwig during setup. It is essentially a minor problem since I can also catch it with an exception and write a nice error message if trying to build the package without pybigwig or trying to import pybigwig without being installed - but if possible, I would of course rather like it to be handled automatically. |
All I can say is that this works fine with deepTools using both |
BTW, |
For me, "python setup.py install" for deepTools also does not install dependencies (runs through without error but dependencies numpy/pybigwig etc. are not available), but I agree that conda is probably the way to go. I will find another solution to my setup. Thanks for the quick answers! |
This is the closest issue I found to my problem. I'm unable to install deeptools via pip: or pip3 The issue seems to be with instlaling pyBigWig. Installing via git works (as in there seem to be no errors), but the packages (numpy, pyBigWig, etc) do not get installed and so deeptools does not work. I really don't like installing via conda, as it's difficult to use via R/ Rstudio... I've never got that working... |
My problem was solved after installing python2-devel. pip works perfectly after that. Might help others. |
That's a very good hint, the headers in particular are required for C extensions to compile properly with python. |
Yeah you are right cause even this was there in the error message:
This must've been a common problem that you've dealt with before. Apologies for adding noise here. |
Hi,
I want to set pyBigWig as an installation dependency for my own python package using install_requires in setup.py, but I am having trouble during the installation procedure.
My minimal setup.py looks like this:
Upon
python setup.py install
I get the following messages/errors:Strangely
pip install pybigwig
works, but I would love for it to recognize the package automatically so that I don't have to handle the exception when importing pybigwig later on.Hope you can help out with a solution!
The text was updated successfully, but these errors were encountered: