holzschu / a-shell

A terminal for iOS, with multiple windows
BSD 3-Clause "New" or "Revised" License
2.69k stars 117 forks source link

Python.h file not found #492

Open just3bowls opened 2 years ago

just3bowls commented 2 years ago

when i pip install poetry, that happen

holzschu commented 2 years ago

The Python.h file is present (in $APPDIR/include/python3.9), but apparently not where the install process for poetry is looking for it.

But looking at the actual installation process, the problem is different: poetry depends on dulwich, and dulwich has components written in C, so it cannot be installed by the user.

Based on their documentation, you can install dulwich with pip install dulwich --global-option="--pure", and then you can install poetry with pip install poetry. I'm not sure it will work out of the box, though: you might need to tweak things with both dulwich and poetry.