'clang: error: no such file or directory: 'X/lib/python3.9/site-packages/tensorflow/include'

Environment: -MacOS -Python 3.9.8 -Tensorflow 2.8.0

I am trying to run this github repo: https://github.com/renmengye/rec-attend-public When I try to install, with ./hungarian_build.sh, I have this error: clang: error: no such file or directory: 'COUNTING/rec-attend-public/valerio/lib/python3.9/site-packages/tensorflow/include' where valerio is the name of my virtualenv. Note that If I navigate through Finder, I have this folder include inside the virtualenv.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source