-
Notifications
You must be signed in to change notification settings - Fork 857
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to compile: mpip not found #957
Comments
Please provide more details about your system setup and how you installed dependencies. The formatting of the issue description is a bit off, I tried to fix this. It looks like something went wrong with the Python detection. The Pangolin/cmake/MakePythonWheel.cmake Line 97 in 74be188
where the pip module is supposed to be executed by Python (COMMAND ${Python_EXECUTABLE} -mpip ). But it looks like that ${Python_EXECUTABLE} is actually empty and [100%] Installing for selected Python '' also suggest that something with the Python detection went wrong. Something that does not make sense here is that the built reports success ([100%] Built target pypangolin_pip_install ) while the previous command failed. I'll have a look at this.
How did you install Python? Then I don't understand why you are trying to execute the command |
Thanks for the quick reply. I'm running this on a raspberry pi4 under bookworm 64-bit. I installed the dependencies as below, from here (Before finding your page) sudo apt-get install libglew-dev This libdc1394-22-dev was not found, so I installed this libdc1394-dev instead. Otherwise no issues. The compilation step from the page mentioned above gave me several compile errors, I then found your page and followed that exactly. Unfortunately, I cannot remember how I installed python, I've had it on my computer for many months now, I'm running python Version 3.11.2 During this stage... ......
-> My mistake, I was just trying to understand what was going on. but this
made me think it may have built, I wasn't sure. |
But that points to a different and very old Pangolin fork.
This repo has a README with installation instructions. Those point to a script that installs all required dependencies. Can you check if #958 solves your problem? The |
Hi
However, (and this may be out of your project remit), The following fails [100%] Installing for selected Python '/usr/bin/python3' Did not install. This was expected though and is caused by the latest OS's requirement to either install into a venv or create a Debian-packaged package. The output of the above command is
I thus installed the pangolin wheel using --break-system-packages, i.e.
This fix has then corrected my bug as reported: Thank you. FYI The pangollin "PythonExamples" also work fine,
|
The |
Thanks. Yes, I have successfully used some of those solutions over the last 15 months or so. From your reference, (thanks!), I may be able to do something with search paths, but I do not have the skills to do that. Again, many thanks for the fix and tips. Much appreciated |
Hi
I'm unable to get this to compile, first error relates to no mpip, as copied below. Thereafter, I tried to run pypangolin_pip_install just in case the error was not important, but to no avail.
.......
First/only compile error was near to the end below "gmake[3] mpip...."
robot@robot: $ pypangolin_pip_install
-bash: pypangolin_pip_install: command not found
The text was updated successfully, but these errors were encountered: