Questions tagged [pydroid]

Pydroid is a Python environment for Android. There are versions for Python 2 and Python 3.

Pydroid is a Python environment for Android.

There are versions for Python 2 and Python 3.

Code samples are included, as well as samples for the use of different libraries (numpy, matplotlib, kivy, tkinter, ...).

97 questions
0
votes
1 answer

Problem importing a module in django v4.1.7, pydroid3 python v3.9.7

My urls.py and views.py files are in the same directory (my_app), after importing the views.py file from my urls.py file, whenever I try to start the development server I get a module import error: no module named views but when I compile and run…
0
votes
0 answers

issue writing a csv record in pydroid 3

Beginner python. Error writing csv record in pydroid 3 on Samsung s9+ hi .. new to SO & pydroid. Copied code from book but runtime errors in pydroid 3. code >> import csv file=open…
Becketg
  • 1
  • 1
0
votes
0 answers

install software using pydroid 3 terminal

I was working on django project on PC but i want to use my phone to continue progress on any time and any place so i have pydroid 3 ide and build in terminal, when i use apt in terminal to download git and clone repo this massage show…
Ahmed Atef
  • 21
  • 2
0
votes
0 answers

How to install imagemagick on android?

I am writing python code on android using Pydroid app. Able to install pip packages, but imagemagick, which is requirement for image generation, as I understand, is a binary. I have access to terminal emulator, but don't know command that would work…
Lex Podgorny
  • 2,598
  • 1
  • 23
  • 40
0
votes
1 answer

Pydroid PIL does not display image on android

I am writing code on my Android. I know, it's weird. But my notebook is being repaired :) I am trying to display an image generated by pillow library. I'm doing this within Pydroid app. Matplotlib charts are displaying okay. But not the image of…
Lex Podgorny
  • 2,598
  • 1
  • 23
  • 40
0
votes
0 answers

Run Selenium directly on Pydroid3 on Android

my goal is to run a python script that uses Selenium to manipulate the chrome browser, directly with Pydroid 3 app on my android smartphone (without a pc connection). I followed the instructions at the link…
0
votes
0 answers

Error opening stream: HTTP 404: Not Found (Kernel does not exist) - Jupyter Notebook in Pydroid 3

I have been using Pydroid 3 on my Samsung Galaxy tab S8 to learn Python programming via Jupyter Notebook. However, recently, the kernel failed to load and I am getting the error message (Error opening stream: HTTP 404: Not Found (Kernel does not…
Adwin
  • 1
  • 2
0
votes
0 answers

pydroid3 python program converted to android app with buildozer will not start on android How can I debug?

I created a kivy app in python using pydroid3 It is quite simple, a single button. It works on the android device when run from pydroid3. I successfully converted the python app to an android app using bulldozer. Primary Question I cannot get any…
0
votes
1 answer

code running fine on computer and on pydroid 3 it doesnt

so i have made a script that when my phone connects to my wifi network it automatically turn on my computer and i downloaded pydroid on another phone to run it non stop and it outputs : ping [-aAbBdDfhLnOqrRUvV] [-c count] [-i interval] [-I…
590ms
  • 9
  • 3
0
votes
0 answers

Jupyter Notebook - android (kernel error)

I am trying to use jupyter notebook on my android phone using pydroid app. Everything worked fine, but suddenly I am getting an kernel error while connecting. I have tried: reinstalled pydroid reinstalled tornado reinstalled ipythknkernel delete…
adamekcerv
  • 11
  • 1
  • 4
0
votes
1 answer

Pydroid3 opencv -215 assertion failed (permission issue)

I have 2 xiaomi smartphones: Xiaomi Redmi 3 (lineageOS, Android 11) and Xiaomi Mi9 lite (MIUI, Android 10). (The goal is to use Redmi 3 on my pet project). I tried to run the same piece of code on both devices, but its work only with Mi9…
Unicorn
  • 23
  • 5
0
votes
1 answer

Problems with "match" function in PyDroid3

Creating a todo list that uses the "match" function: while True: user_action = input("Type add, show, edit, or exit: ") user_action = user_action.strip() match user_action: case "add": todo = input("Enter a todo: ") …
ricoNomad
  • 1
  • 2
0
votes
1 answer

Sharing information between Tasker and Pydroid

I've been trying to put together an app for identifiing images on my phone using pydroid and Tasker. I use Tasker to take a screenshot every 5 seconds, save it and then display the most recent results. In Pydroid, i open the screenshot, analize it…
0
votes
0 answers

Pydroid TTS without kivy

I searched a lot but couldn't find anything working. The only option is gTTS, but I need a module that does not convert text into an audio file but plays it. I also tried the Android module and AndroidHelper but they don't work either. I'm using…
Man
  • 1
  • 3
0
votes
0 answers

pydroid 3 crashes when using MDDialog

On pc the dialog works perfectly but on android (pydroid 3) is crashing. some help? from kivy.lang import Builder from kivymd.app import MDApp from kivymd.uix.button import MDFlatButton from kivymd.uix.dialog import MDDialog KV =…