-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Holoviews does not install reliably with pip #1734
Comments
Sample failure:
|
If we manually do
Then |
The proximal cause is that setup.py imports holoviews, which tries to import holoview's dependencies before setuptools has had a chance to inspect or install the dependencies. https://github.com/ioam/holoviews/blob/master/setup.py#L117 |
I think that is correct. Thanks for diagnosing this! Recently setup.py was refactored which is why we are now encountering these problems with pip. One solution might be to simply copy the code from |
This should be fixed in the PR reference above (#1782). Closing. |
It appears that holoviews does not properly install with pip in a clean environment, and that
the last release that installed properly is 1.7.0 . See further down on clean reproduction.
I've tested this on Centos 7 / Python 3.6.0. Installing 1.8.0 or 1.8.1 with or without
[all]
results in an error message about params which is similar to the one supplied in a comment to
#1659 . Sometimes the error is about numpy instead of params.
These commands fail:
pip install holoviews
pip install holoviews[all]
pip install holoviews==1.8.0
pip install holoviews[all]==1.8.0
These commands succeed:
pip install holoviews==1.7.0
pip install holoviews[all]==1.7.0
Clean reproduction
Because issue is difficult to test and reproduce reliably, I have reproduced it using
Docker. I get the same behavior whether I'm using conda or pyenv.
Steps to reproduce cleanly:
conda
orpyenv
directory andcd
to it.docker build -t repro .
docker run -t repro pip install holoviews
or another similar command from above.The text was updated successfully, but these errors were encountered: