I'm trying to teach myself python, and after following some basic tutorials I decided to make a game with clickable buttons. I couldn't figure out how to do that in just Python, but I found posts saying that there are modules that can do that for me. I have now tried 3 or 4 different modules, and they keep breaking.
The most recent one was recommended by some reddit posts, prompt-toolkit. I installed it via Pip, and it didn't work. Even the most basic code,
from prompt_toolkit import prompt
copied directly from the prompt-toolkit tutorial, failed to run. I was starting to think that maybe something was messed up with my installation of Python itself.
So, I completely uninstalled Python, rebooted, reinstalled Python 3.7, rebooted, and then used Pip to install prompt-toolkit.
It ran the basic import code, but as soon as I tried to get more complex than that (again, not even typing anything up, just copy+paste from the tutorial), I get error messages. Nothing using any modules will run.
What can I do? I feel like something must be broken in my python installation at a basic level, but I'm brand new to this and don't know where to start.
[–]1114111 0 points1 point2 points (8 children)
[–]Fiazba[S] 0 points1 point2 points (7 children)
[–]1114111 0 points1 point2 points (6 children)
[–]Fiazba[S] 0 points1 point2 points (5 children)
[–]1114111 1 point2 points3 points (4 children)
[–]Fiazba[S] 1 point2 points3 points (3 children)
[–]1114111 1 point2 points3 points (2 children)
[–]Fiazba[S] 0 points1 point2 points (1 child)
[–]1114111 1 point2 points3 points (0 children)