Git Product home page Git Product logo

Comments (14)

brentvollebregt avatar brentvollebregt commented on September 12, 2024

That is very odd. If you go into Python 3.6's shell and import tkinter, does it import?

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

Actually, I was installing a version of Python today and noticed that in the optional features, there is a checkbox for "td/tk and IDLE" which is checked by default. Was this checked when you installed Python? (if you did the default installation then there is no worry). This makes sure tkinter is installed when installing Python.

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

@emuhedo any advances on this?

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

This issue is being closed because it has been inactive for more than two months.

from auto-py-to-exe.

ThatsTheSpirit avatar ThatsTheSpirit commented on September 12, 2024

Same problem on Win8.1 Python 3.7

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

@ThatsTheSpirit is tkinter available in your distribution? Typically it is installed by default unless you uncheck a box when installing Python.

from auto-py-to-exe.

ThatsTheSpirit avatar ThatsTheSpirit commented on September 12, 2024

@brentvollebregt Problem solved by reinstalling python

from auto-py-to-exe.

flo-abgrund avatar flo-abgrund commented on September 12, 2024

Hi there everyone.
I still have this problem on Ubuntu and I also reinstalled python and tkinter. Any suggestions on that?

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

@flo-abgrund are you sure tkinter is installed? If you open up a Python 3 shell and import it, does it throw an error?

from auto-py-to-exe.

flo-abgrund avatar flo-abgrund commented on September 12, 2024

@brentvollebregt thanks for your quick reply! yes, it is installed and doesn't throw an error. I am not sure what could cause this.

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

Can you confirm that the installation of Python you just tested with is the same installation of Python that auto-py-to-exe is using?

You can find the location of auto-py-to-exe using whereis auto-py-to-exe I believe. Using a similar technique to find where your Python installation is and then check that auto-py-to-exe is in the correct place relative to it.

from auto-py-to-exe.

flo-abgrund avatar flo-abgrund commented on September 12, 2024

auto-py-to-exe is in /home/USER/.local/bin/ whereas Python lies in /usr/bin/

from auto-py-to-exe.

brentvollebregt avatar brentvollebregt commented on September 12, 2024

Ah yes, I didn't realise it would be placed in a different location compared to Windows.

Are you able to verify that the installation of Python you used to test tkinter was installed is the same installation of Python that is running auto-py-to-exe?

from auto-py-to-exe.

flo-abgrund avatar flo-abgrund commented on September 12, 2024

Ah yeah, it works now. I somehow had to install it via pip3.8 install auto-py-to-exe. don't know why, though, since python3.8 is my default python installation.

anyhoo, thanks very much for your efforts on that!

from auto-py-to-exe.

Related Issues (20)

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.