Skip to content
Advertisement

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 after a few days? I can

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 my mistake. Here, “sety” was

ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build c90ad64e-2c2f-4ad0-a250-160de6f315df status: FAILURE

I am trying to deploy my Django application to gcloud and I keep getting this error, any ideas what this means? File upload done. Updating service [default]…failed. ERROR: (gcloud.app.deploy) Error Response: [9] Cloud build c90ad64e-2c2f-4ad0-a250-160de6f315df status: FAILURE Error ID: c84b3231 Error type: UNKNOWN Answer never mind, I found out the error was due to a build error, I had an

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 environment, it

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, this code too shows

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 outdated but I can’t update it myself… The

Advertisement