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

The shell script bin/pysparkling should print missing dependencies #4717

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

Comments

@exalate-issue-sync
Copy link

The shell script bin/pysparkling can check python session and exit directly if some packages are missing and print message proposing to install missing packages.

For detection of environment, the script can use:

  1. pip list, or
  2. a tiny python command which will do:
    {noformat}
    for p in ['requests', 'future', 'colorama']:
    try:
    import p
    except:
    print("pip install {}".format(p))
    {noformat}
@exalate-issue-sync
Copy link
Author

Jakub Hava commented: Good point, will do!

Thank you

@DinukaH2O
Copy link

JIRA Issue Migration Info

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

Linked PRs from JIRA

#942

@hasithjp
Copy link
Member

JIRA Issue Migration Info Cont'd

Jira Issue Created Date: 2018-09-22T08:26:55.246-0700

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