Issues With README Code #130
gfleetwood
started this conversation in
General
Replies: 2 comments
-
It’s likely you are running an old version of Textual. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Huh. A |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello. I was going to open an issue but I saw this message:
I'm using Ubuntu 20.04 and Python 3.7.10 in a conda environment. The first example (and others) in the README doesn't work:
It gives this error:
I happened to run across some other code in the repo that included an
event
parameter so including that fixes the script:However, when I fix that and try to use the script I get this error after pressing a button:
That I'm assuming is coming from within the package itself. I found this SO answer that might be relevant:
https://stackoverflow.com/a/62792452/12492315
On an unrelated note, are these scripts supposed to be run as
python script.py
orpython -m script.py
. I'm seeing the latter thrown around in discussion in this repo.Beta Was this translation helpful? Give feedback.
All reactions