GithubHelp home page GithubHelp logo

Comments (7)

GUVWAF avatar GUVWAF commented on August 24, 2024 1

Now they will be faced with "Tkinter is needed. Install python3-tk with your package manager." when it failed to import, no other error message, as I catch it. Would that suffice?
I think it is installed by default from Python 3.7 on, so I would rather not make the install instructions longer, if possible.

from meshtasticator.

GUVWAF avatar GUVWAF commented on August 24, 2024 1

Okay, thanks!

from meshtasticator.

GUVWAF avatar GUVWAF commented on August 24, 2024

Coincidentally, somebody else reported this as well and I just added an ImportError catch in this commit. Problem is indeed that it cannot be installed using pip, so I recommend people to install tk using their package manager. On Debian systems, it's apt-get install python3-tk, for example.

Thanks for reporting though.

from meshtasticator.

ajmcquilkin avatar ajmcquilkin commented on August 24, 2024

Yeah for sure! I had seen that commit, I'm wondering if there's a way to make it very clear to users that have that issue that the issue is a missing package instead of another build issue. I had a bit of experience with tk before which was why I knew to install it

from meshtasticator.

GUVWAF avatar GUVWAF commented on August 24, 2024

Ah, I see. What would you propose to make it more clear, maybe by giving some example commands?

from meshtasticator.

ajmcquilkin avatar ajmcquilkin commented on August 24, 2024

I was thinking even something as simple as a note in the installing section, maybe in the Usage subheaders in the discrete and interactive sim docs. I was imagining that the docs could say something to the effect of "If you run into a build issue that looks like [describe the issue], make sure you have tkinter installed on your computer."

from meshtasticator.

ajmcquilkin avatar ajmcquilkin commented on August 24, 2024

Oh yeah that sounds great! Honestly just anything that will let newer users know what's going wrong when tkinter isn't on the system, totally get not wanting to extend the docs

from meshtasticator.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.