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

Cannot install pysparkling from PyPi #5010

Closed
exalate-issue-sync bot opened this issue May 22, 2023 · 9 comments
Closed

Cannot install pysparkling from PyPi #5010

exalate-issue-sync bot opened this issue May 22, 2023 · 9 comments
Assignees

Comments

@exalate-issue-sync
Copy link

➜ 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/

@exalate-issue-sync
Copy link
Author

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.

@exalate-issue-sync
Copy link
Author

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.

@exalate-issue-sync
Copy link
Author

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

@exalate-issue-sync
Copy link
Author

Michal Malohlava commented: Yup, it is my fault - when we move everything inside build directory, python sdist stopped working which screwed up release process.

In this context, we need to have test which will verify correct PyPi installation.

@exalate-issue-sync
Copy link
Author

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.

@exalate-issue-sync
Copy link
Author

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

@exalate-issue-sync
Copy link
Author

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

@DinukaH2O
Copy link

JIRA Issue Migration Info

Jira Issue: SW-335
Assignee: Jakub Hava
Reporter: Michal Malohlava
State: Resolved
Fix Version: 2.0.9
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

https://github.com/h2oai/h2o-release-scripts/pull/5

@hasithjp
Copy link
Member

JIRA Issue Migration Info Cont'd

Jira Issue Created Date: 2017-02-20T18:58:38.985-0800

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants