=> Re: "Python venv and cgi" | In: s/programming
So far I've not been using venvs with CGI, instead installing dependencies system-wide and making sure the right version of the Python interpreter is used for running the CGI script.
If you do use venv, I believe you can launch the CGI script using the Python interpreter in the venv's bin directory even if the venv isn't active.
Jan 16 ¡ 3 days ago
=> đ gritty [OP] ¡ Jan 16 at 17:10:
@skyjake ah okay. maybe i need to try another approach because pip and pipx both yell at me when installing a lib antenna requires. I think there's a flag to override it though, I'll try that.
=> đšī¸ skyjake [...] ¡ Jan 16 at 17:23:
This is what I've been using with pip:
--break-system-packages Allow pip to modify an EXTERNALLY-MANAGED Python installation
Python venv and cgi â How is everyone using python venv as a cgi script? is it unwise to put the env in the cgi dir? I assume you just create a wrapper to activate the env and run the script. I broke DSN with a server upgrade and now I'm forced into venvs. at least I think so
=> đŦ gritty ¡ 3 comments ¡ Jan 15 ¡ 4 days ago This content has been proxied by September (ba2dc).Proxy Information
text/gemini; charset=utf-8