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.

ModuleNotFoundError: No module named 'android'

See original GitHub issue

Specification

  • pywebview version: 3.6.3
  • operating system: Arch Linux
  • web renderer: -

Description

Code

import webview

Output

Traceback (most recent call last):
  File "/home/lix/Documents/NSDEarch/muse/muse/client.py", line 3, in <module>
    import webview
  File "/home/lix/.local/lib/python3.10/site-packages/webview/__init__.py", line 1, in <module>
    from .webview import WebView
  File "/home/lix/.local/lib/python3.10/site-packages/webview/webview.py", line 1, in <module>
    from android.runnable import run_on_ui_thread as run_thread
ModuleNotFoundError: No module named 'android'

OS Info [removed]

Practicalities

  • YES/NO I am willing to work on this issue myself.

  • YES/NO I am prepared to support this issue financially.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
vimevimcommented, Sep 14, 2022

Most probably, I decided to start to use a virtual environment after this issue for good.

1reaction
nsdecommented, Sep 13, 2022

Great to hear it’s now working. I think it was the same issue for me!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kivy ImportError: No module named android.runnable
You cannot run this directly on Ubuntu, the android module works only on android - its purpose is to interact with parts of...
Read more >
ModuleNotFoundError: No module named 'android'
Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'android' How to remove the ModuleNotF.
Read more >
ModuleNotFoundError: No module named 'android' #2697
[ + ] the issue is indeed a bug and not a support request · [ + ] I have a short, runnable...
Read more >
How to install android module? : r/learnpython - Reddit
There is no module named android on pypi, and even if there were it wouldn't be the one you've read instructions about here....
Read more >
python-for-android - PyPI
python-for-android is a packaging tool for Python apps on Android. You can create your own Python distribution including the modules and dependencies you...
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