Closed pupil-wang closed 1 year ago
Hello @ai-roboter-1,
Thank you for reporting this.
Actually, pip installing from source distributions is out of the scope of python-appimage
. Only binary wheels are supported. The point is that it would be duplicated work. Building a Python package for an AppImage faces the same issues than building a binary wheel. Thus, I am suggesting that application / package developers rather build a binary wheel directly, that they could distribute over PyPI, for example. Then, it should be straightforward to bundle the package into an AppImage.
Thus, no offense, but I am closing this issue :)
This maybe a bug. I found that some directories in the "_sysconfigdata_m_linux_x86_64-linux-gnu.py" file need to be relocated, such as 'INCLUDEDIR', 'INCLDIRSTOMAKE', etc. When I use pip to install a third-party library, if there is no wheel, pip will try to use gcc to compile, but the include path is wrong, which will cause 'xxxx.h' (such as pyconfig.h) not to be found.This caused the installation to fail.![dc66d5c4-fe12-40de-939b-76e117510f56](https://user-images.githubusercontent.com/87824183/212612376-5001bdc2-daa4-450c-bd52-ef76e097e73a.png)