Closed ddogfoodd closed 1 month ago
Using Google Colab I was able to advance a little into instalation ensuring that this packages were installed into the instance
!apt install --upgrade ninja-build autoconf automake libtool make gcc g++ bison gperf libepoxy-dev libgtk-3-dev ffmpeg libavcodec-dev libavformat-dev libavutil-dev yasm nasm
But I'm getting this error now:
CMake Error at CMakeLists.txt:316 (add_dependencies):
The dependency target "Build_TBB" of target "_pypupil" does not exist.
The project has been updated, and the build process should now work smoothly on Windows, Ubuntu, and macOS. The instructions in the README file were revised accordingly.
Further, there are now prebuilt wheel files, so you no longer need to build the project from source if your primary goal is to use it. Here's a link to the wheel files for different platforms: https://github.com/openPupil/PyPupilEXT/releases/tag/v0.0.1-beta
Following the installation instructions in the README doesn't work for me. There might be some prerequisites worth mentioning.
I am using macOS (13.5.2).
When following the
B)
section, running thesetup.py
to create a wheel I receive the following error at around 87%:This is probably because I installed
libomp
via homebrew. I can get rid of it by replacing#include <omp.h>
with#include "/usr/local/opt/libomp/include/omp.h"
. However this leads to another error at 100%:I thought this was most likely related to the now used version of
libomp
which is 16.0.6 in my case. I replaced all occurrences oflibomp/14.0.6
withlibomp/16.0.6
so that alllibomp/xx.x.x/include
andlibomp/xx.x.x/lib
point to my current version.However I still receive a similar error at 100%, only the
ld: warning: directory not found
line is gone:I couldn't figure out how to continue from there so I tried using the
C)
section of the installation instructions instead.Although I followed the instructions and put my numpy path in the
CMakeLists.txt
and verified the file exists, when runningcmake --build . --config Release
I get an error message saying numpy is not found:I was hoping someone ran into similar problems and wants to share their solution. Other than that it would be great to have a prebuild docker or pip wheel.