flyingcircusio / appenv

Self-contained bootstrapping/updating of Python applications deployed through shared repositories
BSD 3-Clause "New" or "Revised" License
5 stars 1 forks source link

Could not find the minimal preferred Python version. #44

Open EdwardBock opened 8 months ago

EdwardBock commented 8 months ago

https://github.com/flyingcircusio/appenv/blob/5ff385fa605e77885dc9c4349d3bad6da9bf26ec/src/appenv.py#L223

I get this error but also have python, als well as python3 installed. With which python I get the path /usr/local/bin/python in the appenv script current_python variable has the value /Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/bin/python3.9 which is also a working python.

Even though I cannot run the script and get the error Could not find the minimal preferred Python version.

ctheune commented 8 months ago

The problem here is that we expect a specific version binary to be on the path (e.g. python3.9) but do not try to figure out what the "python" and "python3" executables really are. I guess we could do that.

EdwardBock commented 2 months ago

Any news here? We ran in this problem again on a new mac OS installation.

ctheune commented 1 month ago

Ah, I'll poke @elikoga and @zagy about this.