Skip to content

Tag: ubuntu

Re-run a python script after a few days if it fails [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 1 year ago. Improve this question Assuming a script fails and it is captured in a try catch how to run a python script again af…

Turtle onkeypress function not taking input

I was watching a video where the Turtle module was being used for making a Pong game. But the onkeypress function isn’t taking inputs, even after clicking on the window of Pong. OS: Ubuntu 20.04 LTS I pressed the up arrow and even tried other keys, but it didn’t work. Answer Sorry, I just realized…

Can’t install PyArrow on Ubuntu

I have an EC2 Ubuntu 18.04.3 LTS instance with python 3.6.9 I tried to install pyarrow with this command: But I get an error: Reading the first messages after trying to install yarrow I see this: Please, do you know how I can solve this issue? Thank you in advance. Answer If you are working in a virtual envir…

How to start an mp4 file in python speech recognizer?

I am creating a python voice assistant referring from a youtube tutorial. Unfortunately, the video creator has a windows os. So he uses startfile from OS module. But this is not working in ubuntu. Here is the code that the video maker used: But this didn’t work out for me, so I used this one: Still, thi…

Getting invalid syntax running python on ubuntu

I’ve tested the script with spyder on Windows 10 and it worked perfectly. Now I’m trying to run it on an ubuntu virtual host and it’s giving me an invalid syntax error. The python version is Python 3.5.2 (latest version I get after updating it). The Ubuntu version is I know it’s outdat…