Skip to content

bug: ERROR: No matching distribution found for msgpack>=1.1.0 #6179

@VoHeCode

Description

@VoHeCode

Duplicate Check

Describe the bug

flet doctor Flet 0.80.5 on Linux 6.17.0-14-generic (x86_64) Python 3.12.3 (/home/user/flet/littletest/venv/bin/python)

The simple possible program - see below is unable to create.

and got that error.
Does this also happen today with programs that were previously easy to create?

Code sample

Code
import flet as ft

def main(page: ft.Page):
    page.add(ft.Text(value="Hello, world!"))

ft.run(main)

To reproduce

create a folder
make a venv
activate the venv then:
pip install 'flet[all]'
run
flet doctor

flet create
place the code inside the main.py
testing with
flet run
works on the desktop then

try to build it with:
flet build apk
got the error

Expected behavior

No response

Screenshots / Videos

Captures

[Upload media here]

Operating System

Linux

Operating system details

Linux thinkpad 6.17.0-14-generic #14~24.04.1-Ubuntu

Flet version

Flet 0.80.5

Regression

Yes, it used to work in a previous Flet version (please specify the version in additional details)

Suggestions

No response

Logs

Logs
flet build apk --verbose
[21:19:40] Run subprocess: ['/home/user/flutter/3.38.7/bin/flutter', '--version', '--no-version-check', '--suppress-analytics']                                                     
           Flutter executable: /home/user/flutter/3.38.7/bin/flutter                                                                                                                
           Dart executable: /home/user/flutter/3.38.7/bin/dart                                                                                                                      
           JDK installed at /home/user/java/17.0.13+11                                                                                                                              
           Configuring Flutter's path to JDK                                                                                                                                          
           Run subprocess: ['/home/user/flutter/3.38.7/bin/flutter', 'config', '--no-version-check', '--suppress-analytics', '--jdk-dir=/home/user/java/17.0.13+11']              
           Setting "jdk-dir" value to "/home/user/java/17.0.13+11".                                                                                                                 
                                                                                                                                                                                      
           You may need to restart any open editors for them to read new settings.                                                                                                    
           JDK installed ✅                                                                                                                                                           
           Android SDK installation found at /home/volker/Android/sdk                                                                                                                 
           Android SDK package "cmdline-tools;latest" is already installed                                                                                                            
           Android SDK package "platform-tools" is already installed                                                                                                                  
           Android SDK package "platforms;android-35" is already installed                                                                                                            
           Android SDK package "build-tools;34.0.0" is already installed                                                                                                              
           Android SDK installed ✅                                                                                                                                                   
           Run subprocess: ['/home/user/flutter/3.38.7/bin/dart', 'run', '--suppress-analytics', 'serious_python:main', 'package',                                                  
           '/home/user/flet/littletest/src', '--platform', 'Android', '-r', 'flet>=0.80.5', '--exclude', 'build', '--cleanup-packages']                    
           Running build hooks...Running build hooks...Running package command                                                                                                        
           Extra PyPi indexes: [https://pypi.flet.dev]                                                                                                                                
           Created temp directory: /tmp/serious_python_tempFZWCOI                                                                                                                     
           Copying Python app from /home/user/flet/littletest/src to a temp directory                                                                      
           Configured Android/arm64-v8a platform with sitecustomize.py                                                                                                                
           Installing [flet>=0.80.5] with pip command to /home/user/flet/littletest/build/site-packages/arm64-v8a                                          
[21:19:42] ERROR: Could not find a version that satisfies the requirement msgpack>=1.1.0 (from flet) (from versions: none)                                                            
           ERROR: No matching distribution found for msgpack>=1.1.0                                                                                                                   
           <_io.TextIOWrapper name=5 encoding='utf-8'>                                                                                                                                
           Run subprocess: ['/home/user/flutter/3.38.7/bin/flutter', 'doctor', '--no-version-check', '--suppress-analytics']                                                        
[21:19:45] Doctor summary (to see all details, run flutter doctor -v):                                                                                                                
           [✓] Flutter (Channel stable, 3.38.7, on Ubuntu 24.04.4 LTS 6.17.0-14-generic, locale de_DE.UTF-8)                                                                          
           [✓] Android toolchain - develop for Android devices (Android SDK version 35.0.0)                                                                                           
           [✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)                                                                                          
               ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.                                                                                            
           [✓] Linux toolchain - develop for Linux desktop                                                                                                                            
           [✓] Connected device (2 available)                                                                                                                                         
           [✓] Network resources                                                                                                                                                      
                                                                                                                                                                                      
           ! Doctor found issues in 1 category.                                                                                                                                       
                                                        

Additional details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions