Hi guys! I need to use python library named "NLTK" on XAMPP. But as i found, NLTK "has platform-specific path handling"(https://stackoverflow.com/questions/16609242/import-nltk-not-working-on-xampp) and Apache does not provide the proper environment(https://stackoverflow.com/questions/11219319/appdata-is-not-returned-in-python-executed-via-cgi).
I hardly looked at the documentation and links above:
1) https://httpd.apache.org/docs/current/env.html
2) https://httpd.apache.org/docs/current/mod/mod_env.html#setenv
3) https://httpd.apache.org/docs/current/howto/cgi.html
"If your CGI program depends on non-standard environment variables, you will need to assure that those variables are passed by Apache." Thanks, very 'helpful'. I cant understand HOW and WHERE exactly I need to do env. fixes.
My configuration: Apache/2.4.53 (Win64) OpenSSL/1.1.1n PHP/7.4.28 Server at localhost Port 80
I would be very grateful, if you give step-by-step instruction.
P.S. Sorry for bad english.