Skip to content

Is there a hack/workaround to get Flet Build to play nice with older package dependencies? #4584

Closed Answered by FeodorFitsner
amcraig asked this question in Q&A
Discussion options

You must be logged in to vote

Alright, the solution is 🥁🥁🥁🥁🥁 installing both pip (add pip = "^24.3.1" to your project.toml) and setuptools.

In the program first import setuptools - it "enables" distutils and then importing distutils will work:

import setuptools
import distutils.core # won't fail

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@amcraig
Comment options

@FeodorFitsner
Comment options

Answer selected by amcraig
@amcraig
Comment options

@FeodorFitsner
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
help wanted Extra attention is needed
2 participants