• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx

  • We are developing a new feature in Plesk that will help you promote your websites or business on social media. We want to conduct a one-hour online UX test to present the prototype and collect feedback. If you are interested in the feature, please book a meeting via this link.
    Thank you in advance!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question Install Python mods/packages

FlyingParrot

New Pleskian
Server operating system version
Ubuntu 22.04.2 LTS
Plesk version and microupdate number
Plesk Obsidian 18.0.53 Update #2
Hey,I'm trying to call a python script via PHP in my web app, but I need additional python packages. How do I install them?

I found this article (https://support.plesk.com/hc/en-us/articles/12377824001943#) which worked fine, "Python support" has been added to the hosting-parameters list and is now enabled on my subdomain:
subdomain_python.png
After that I searched on the internet about how to install packages, for example cv2 which is required in my Python script. But I couldn't find any tab or other option anywhere that allowes me to install packages. How do I do this?

Thank you.
 
@bonar Did you follow the KB article mentioned above? It mentions that the Python module for Apache is deprecated since Plesk 17.8. You can still use Python on the operating system level, but there is no "toolkit" or any other button for it on the graphical user interface.
 
Like Laravel or CPanel have a toolkit Python, but before i'll try deploy project python to Plesk can't running
 
Back
Top