• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

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