charm build failing on 18.04

Bug #1803305 reported by Raghavendra
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

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

Tags: charm juju
Changed in charm (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.