Public bug reported:

Hi,
  I installed charm using sudo snap install charm --classic on ubuntu 18.04

bu when i try to build my charm using command charm build.I get below
error

c/_cffi_backend.c:2:20: fatal error: Python.h: No such file or directory

in log i could see its trying to take includes from snap directory
instead of /usr/include

-I/snap/charm/254/usr/include/python3.5m
-I/tmp/tmprpjtnvqp/include/python3.5m -c c/_cffi_backend.c -o build/temp
.linux-x86_64-3.5/c/_cffi_backend.o

charm version charm 2.4.4

** Affects: charm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: charm juju

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1803305

Title:
  charm build failing on 18.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/charm/+bug/1803305/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to