Link site-packages to dist-packages to help Python find these packages
(e.g. creating subcorpus and keywords on it -> calls mkstats with popen which calls manatee internally)
This solves two problems:
Manatee is installed in /usr/local/lib/python3.9/site-packages directly (not e.g. in /usr/local/lib/python3.9/site-packages/manatee)
/usr/local/lib/python3.9/site-packages is not in the path especially in restricted environments (e.g. mkstats called with popen)
Link site-packages to dist-packages to help Python find these packages (e.g. creating subcorpus and keywords on it -> calls
mkstats
with popen which calls manatee internally)This solves two problems:
/usr/local/lib/python3.9/site-packages
directly (not e.g. in/usr/local/lib/python3.9/site-packages/manatee
)/usr/local/lib/python3.9/site-packages
is not in the path especially in restricted environments (e.g.mkstats
called with popen)