raspberrypi / libcamera

Other
223 stars 95 forks source link

meson setup build fails #86

Closed JohnGaby closed 10 months ago

JohnGaby commented 10 months ago

I am trying to follow the build instructions but when I run:

meson setup build

it fails with the following error:

meson.build:264:7: ERROR: python3 is missing modules: ply, yaml

I have tried to find a way to install those but the only commands I find use pip which is apparently not allowed since I am using apt.

Any suggestions on how I can fix this?

darkorb commented 10 months ago

Probably apt install python3-yaml python3-ply.

Is actually mentioned in the readme:

for the libcamera core: [required]
    libyaml-dev python3-yaml python3-ply python3-jinja2
JohnGaby commented 10 months ago

Thanks

naushir commented 10 months ago

@darkorb thanks for the solution. Closing this now.