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

Missing dependencies error message #1

Open
parsa opened this issue Jul 3, 2017 · 0 comments
Open

Missing dependencies error message #1

parsa opened this issue Jul 3, 2017 · 0 comments

Comments

@parsa
Copy link
Collaborator

parsa commented Jul 3, 2017

Problem

User has to read the traceback to figure what's missing

$ ./scimitar.py
Traceback (most recent call last):
  File "./scimitar.py", line 21, in <module>
    from sessions import modes, offline_session, debug_session
  File "C:\Users\Parsa\Documents\scimitar\scimitar\sessions\__init__.py", line 12, in <module>
    import modes, offline_session, debug_session
  File "C:\Users\Parsa\Documents\scimitar\scimitar\sessions\offline_session.py", line 14, in <module>
    import pexpect
ImportError: No module named pexpect

Proposed Solution

  1. Warn the user if dependencies (pexpect, prompt_toolkit, etc) are not installed.
  2. Create wheel/egg
@parsa parsa self-assigned this Jul 3, 2017
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

1 participant