Skip to content

ModuleNotFoundError #3

@IperGiove

Description

@IperGiove

The module works fine on linux, but when i create the build for Android and i try to open the app i have the error:
Traceback (most recent call last):
File "", line 95, in
File "", line 229, in run_module
File "", line 88, in _run_code
File "/data/user/0/com.mycompany.huntlog/files/flet/app/main.py", line 6, in
from views import home_view, detail_view, add_view, stats_view, info_view, world_view
File "/data/user/0/com.mycompany.huntlog/files/flet/app/views/init.py", line 6, in
from .world_view import world_view
File "/data/user/0/com.mycompany.huntlog/files/flet/app/views/world_view.py", line 5, in
import flet_map as fm
ModuleNotFoundError: No module named 'flet_map'

I added on my dependencies

dependencies = [
  "flet==0.27.6",
  "flet-map==0.1.0",
]

And i have it on the requirements.txt

pip show flet
Name: flet
Version: 0.27.6
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page: https://flet.dev
Author: Appveyor Systems Inc.
Author-email: hello@flet.dev
License: Apache-2.0
Location: /home/ipergiove/miniconda3/envs/hunt/lib/python3.13/site-packages
Requires: httpx, oauthlib, repath
Required-by: flet-cli, flet-desktop, flet-desktop-light, flet-map, flet-web

pip show flet_map
Name: flet-map
Version: 0.1.0
Summary: Map control for Flet
Home-page: https://flet.dev
Author: 
Author-email: Flet contributors <hello@flet.dev>
License: 
Location: /home/ipergiove/miniconda3/envs/hunt/lib/python3.13/site-packages
Requires: flet
Required-by: 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions