Comment 3 for bug 1802345

Revision history for this message
ๆž—ๅšไป(Buo-ren Lin) (brlin) wrote :

Here's the part recipe that fixes the problem:

```
parts:
  uwsgi:
    plugin: python
    source: .
    python-packages:
      - uWSGI
    build-packages:
      - python3-dev
    build-environment:
      - C_INCLUDE_PATH: /usr/include/python3.6
    stage-packages:
      - libpython3.6
```

I noticed that "/usr/include/*/Python.h" isn't in any of the default GCC preprocessor search paths though, is the regular non-snap build really can't reproduce this issue?