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
Cannot install pysparkling from PyPi #5010
Comments
Jakub Hava commented: Does it happen every time when installing h2o_pysparkling_2.0 via pip ? Will have a look on it as soon as possible. |
Todd Cass commented: Apparently missing version.txt (and looking for it under build/). But also, what happened to sparkling_water package (and h2o?) that was there in 1.6? Got "ImportError: No module named sparkling_water" on my H2OContext.getOrCreate call. |
Jakub Hava commented: I can see that this happen in Anaconda environment. Would be interesting to find out if it's only in Anaconda env or also in simple python env. It's interesting, sparkling_water package should be available. Maybe the whole egg is somewhat corrupted |
Michal Malohlava commented: Yup, it is my fault - when we move everything inside In this context, we need to have test which will verify correct PyPi installation. |
Avkash Chauhan commented: We have an user from IBM also reporting this exact problem with 1.6.9 too.. any idea when we will have a fix on this regard. |
Jakub Hava commented: [~accountid:557058:cd3ae5de-7944-4b26-9598-0b98df0ff7e0] we heve a fix for this #195, it won't go to this release but the following one. In the meanwhile please tell the customer that they can't use pysparkling from pypi but they need to use binary distribution - ie. download sparkling water from our page and use ./bin/pysparkling or ./bin/run-python-script.sh |
Jakub Hava commented: Actually this isn't fixed by the #195, this fix is simple - we need to run python setup.py sdist upload -r pypi
``` in build/pkg directory to have all correct dependencies. Release scripts needs to be updated |
JIRA Issue Migration Info Jira Issue: SW-335 Linked PRs from JIRA |
JIRA Issue Migration Info Cont'd Jira Issue Created Date: 2017-02-20T18:58:38.985-0800 |
➜ Downloads pip install h2o_pysparkling_2.0
Collecting h2o_pysparkling_2.0
Downloading h2o_pysparkling_2.0-2.0.5.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/pip-build-P3hwv7/h2o-pysparkling-2.0/setup.py", line 13, in
with open(path.join(here, 'build', 'version.txt'), encoding='utf-8') as f:
File "/Users/michal/bin/anaconda2/lib/python2.7/codecs.py", line 896, in open
file = builtin.open(filename, mode, buffering)
IOError: [Errno 2] No such file or directory: '/private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/pip-build-P3hwv7/h2o-pysparkling-2.0/build/version.txt'
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/1f/gcjrygts5w9fq0l149_6dzgw0000gn/T/pip-build-P3hwv7/h2o-pysparkling-2.0/
The text was updated successfully, but these errors were encountered: