Commit 76a5861f authored by Vedant Paranjape's avatar Vedant Paranjape Committed by Paul Elder
Browse files

Add alternative meson install command

While installing meson using pip3 install --user meson, due to python
path issues, can't be located by ninja. meson generates
ninja files fine, but then when you run ninja, it is unable to find
meson's python module due to path issues.
It gives the following error on ninja -C build install:

ninja: Entering directory `build'
ninja: error: loading '': No such file or directory

After uninstalling meson using pip3 and installing it again using pip
without --user argument solved the issue.

Add a troubleshooting section to the readme to describe this issue and
suggest possible solutions.
Signed-off-by: default avatarVedant Paranjape <>
Reviewed-by: default avatarPaul Elder <>
Signed-off-by: default avatarPaul Elder <>
parent c85b6c84
......@@ -104,3 +104,24 @@ onto the default video display element on your system.
gst-launch-1.0 libcamerasrc camera-name="Camera 1" ! videoconvert ! autovideosink
.. section-end-getting-started
Several users have reported issues with meson installation, crux of the issue
is a potential version mismatch between the version that root uses, and the
version that the normal user uses. On calling `ninja -C build`, it can't find
the module. This is a snippet of the error message.
ninja: Entering directory `build'
ninja: error: loading '': No such file or directory
This can be solved in two ways:
1) Don't install meson again if it is already installed system-wide.
2) If a version of meson which is different from the system-wide version is
already installed, uninstall that meson using pip3, and install again without
the --user argument.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment