question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

error when running examples

See original GitHub issue

i installed textual with pip and i tried to run the first example in the readme with python3 filename.py but i get the error TypeError: on_key() takes 1 positional argument but 2 were given when i press a key. got a similiar error with another example. sorry if im being dumb : p

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16

github_iconTop GitHub Comments

2reactions
willmcgugancommented, Aug 25, 2021

If you have textual installed via pip, you will need to first uninstall it and then install it via Poetry.

Uninstall it with this:

pip uninstall textual

Now cd in to the textual directory and run the following:

poetry install

The bleeding edge version of Textual will now be installed and you can run the examples with the following:

python animation.py
1reaction
prolomixcommented, Sep 1, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

error when running examples · Issue #71 · Textualize ... - GitHub
i installed textual with pip and i tried to run the first example in the readme with python3 filename.py but i get the...
Read more >
error when running examples - Google Groups
When I tried to run '. ... waf --run non-existent-program-name. " ... not found; available programs are: ['aodv', 'src/aodv/examples/aodv', 'csma-bridge', ...
Read more >
Error running example Reapp project - Stack Overflow
The answer is essentially that the GitHub project is broken, so it's not just my environment... I was doing everything correctly.
Read more >
RStan error when running example(stan_model, package ...
I have successfully installed RStan on Windows 10 by following the steps here: RStan Getting Started · stan-dev/rstan Wiki · GitHub.
Read more >
Error running example B1 - Getting Started - Geant4 Forum
I am brand new to Geant4. Attempting to run example B1 run1.mac results in a fatal exception and core dump with the following...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found