miguelm Posted Tuesday at 09:49 PM Posted Tuesday at 09:49 PM Hello, I would like to activate pyhton enviroment in Tommy server, Folder name venv Username miguelm Url is m.helioho.st Thanks in advance! Quote
Unknown025 Posted Tuesday at 10:29 PM Posted Tuesday at 10:29 PM I've escalated your thread so an administrator can do this for you. Quote
miguelm Posted Thursday at 10:30 PM Author Posted Thursday at 10:30 PM It looks like it's solved but I can't find any python package in my account. Quote
Krydos Posted Thursday at 11:38 PM Posted Thursday at 11:38 PM What are you planning on using the virtual environment for? Not sure how it got marked as solved. Maybe the solved button got clicked instead of the escalate. Quote
miguelm Posted yesterday at 01:59 AM Author Posted yesterday at 01:59 AM (edited) I have some ideas, a website that works with an external llm api, maybe a chat bot, I want to try a few things and let it running for a while, some quiet🙂 Edited yesterday at 02:00 AM by miguelm Quote
wolstech Posted yesterday at 02:08 AM Posted yesterday at 02:08 AM You do realize that python has no user interface in plesk, right? It just works. See https://wiki.helionet.org/Python and https://wiki.helionet.org/Python_Tutorial There's nothing to activate unless you need a virtual environment for stuff like custom module versions (which is what Krydos is talking about). Quote
Krydos Posted yesterday at 03:55 AM Posted yesterday at 03:55 AM Does your website use Flask or Django? Quote
miguelm Posted 15 hours ago Author Posted 15 hours ago Krydos: I'm going to use Flask wolstech: Thank you for clarification. Quote
Krydos Posted 13 hours ago Posted 13 hours ago Virtual environments for Flask don't work on Morty, Tommy, or Johnny. So you have a few options: Use Python CGI instead of Flask. CGI can use a virtual environment on Morty, Tommy, and Johnny. Use Flask and request the modules you need installed globally. Switch to a VPS plan where you have root SSH access to create as many virtual environments as you want. https://heliohost.org/vps/ Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.