Skip to content

Incorrect log message when configuring manually in *nix environments. #582 #582

Closed
@nhomar

Description

The way it is bieng debugged wire the name of the package that is failing instead being explicitly from the python logger.

The improvement is manage the message properly to be more explicit instead wire the:

Now:

╰─$ python3 configure.py
[ERROR] Tkinter dependency not installed. Please follow troubleshooting page: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#all-os-tkinter-dependency-not-installed

Expected:

All the names of packages failing avoiding to repeat yourself foloowing a nicer pythonistic apporach.

This messaging is better to avoid depend (for example) from brew installation and be able to work with pyenv (or any virtualenv manager).

For example (MESSAGE CAN BE IMPROVED):

╰─$ python3 configure.py
[ERROR] Tkinter dependency not installed. Please follow troubleshooting page: https://github.com/mathoudebine/turing-smart-screen-python/wiki/Troubleshooting#all-os-tkinter-dependency-not-installed
No module named '_tkinter'[ERROR] Python dependencies not installed. Please follow start guide: https://github.com/mathoudebine/turing-smart-screen-python/wiki/System-monitor-:-how-to-start
No module named 'psutil'

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions