• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

python

  1. Polli

    Issue PHP Warning: Undefined array key "limit";

    Hi I´ve installed Docker and tried to start Python. But the service wont start. In the Plesk log I found following error message. I´ve searched for this error but did not find anything. How can I solve these issue? Thanks to everyone
  2. gulshan212

    Question Python Hangman Game Program Error

    Hello this is Gulshan Negi Well, I am writing a program for making the Hangman game, but it shows some error at the time of execution, I don't know what I am missing here. Source Code: import random def select_word(): words_in_computer_memory =...
  3. M

    Issue Problems with backup and new Python version

    Hi everybody, I have just installed Plesk on a new server and something that never happened to me before has sprung up. I have installed Plesk on AlmaLinux 8.7 and upgraded Python to version 3.9 from 3.6. I then used alternatives to set the new Python version as the default version accessed when...
  4. W

    Issue Plesk request with authtentification PLESKSESSID redirect

    Hello, I just installed plesk Ubuntu 18.04.4 LTS Plesk Obsidian 18.0.33 I try to create a domain name using requests but when I make my requests it returns me quests.exceptions.ConnectionError: HTTPSConnectionPool(host='suspicious-feistel.178-170-9-6.plesk .pagewpb-site.tld', port=443): Max...
  5. I

    Question How to make plesk use Python 3 for fail2ban?

    Dear Staff team/fellow users, is it possible to start fail2ban using python3? Python 2.x has reached EOL a full year ago. I know that fail2ban supports Python 3.2+, but I can't find a setting to use that
  6. E

    Question Retrieving Data from DB2 Using pyodbc

    I am trying to retrieve data from an DB2 using pyodbc and print it in JSON using Python. I have 2 different func. This one's works : import flask from flask import flash, request, Flask, jsonify import pyodbc @app.route('/api/acrdkl/filter', methods=['GET']) def api_filter(): dkkdcb =...
  7. E

    Question python code generates apache handler error

    Hello I execute this python code below #!/usr/bin/python print "Content-Type: text/html\n\n"; print "<html><head>"; print "<title>CGI Test</title>"; print "</head><body>"; print "<p>Test page using Python</p>"; print "</body></html>"; import requests from bs4 import BeautifulSoup import sys...
  8. E

    Question Flask subdomain separation

    I need practical advice if my approach is correct. What is the goal? Having flask app that is separated between 3 subdomains: admin. | api. | user. There will be some shared data like models What I did so far I am new to Python, but this is how I made it and it works. I'm just not really...
  9. M

    Question Python in Plesk

    I want to enable Python for my website, but it always tells me that it's in conflict with the server-wide policies. I heard that it was disabled in Plesk 12.5. Is there a way to activate it anyway or to install it somehow different? My system is running Debian 9.6 and Plesk Onyx v17.8.11
  10. C

    Question How to run Python script on Apache web hosting server using Plesk Onyx

    Hello, I have written a web scraping Python script importing bs4, requests, os and other libraries. This script is scraping several websites, processing the soups and creating new HTML files in another folder with the outputs of the script as the content. The main HTML of my webhosting is then...
  11. D

    Resolved python import on Plesk server

    I'm writing not as a host, but as a customer of a webhost that uses Plesk Parallels. I've written a couple simple python scripts to test python on my host, before embarking on a serious project. They are: foo.py and bar.py If within foo.py I do: import bar I get an error in the error.log...
  12. C

    Resolved Plex Onyx to work with Python

    Hi, I would like to work with python in a server Centos 7 with Plesk Onyx version 17.0.17. I can give certain information about my configuration: 1) In Tools & Settings > Apache Web Server > check python. I no have this options to check it. 2) In my console I have : [root@server1 ~]# python...
  13. I

    Question How to use Python on Plesk 12.5

    All my domains have the hosting option to support Python. I've used PHP, but I'm not sure how I take advantage of Python. 1. Can I embed it into an HTML document like I do with PHP, eg. <?PHP code ?> 2. Or do I access it like a CGI script? 3. Another way?
  14. TomP

    Resolved Migration from Plesk 11 to Plesk Onyx 17 mod_python problem

    I'm moving several Drupal and Wordpress based sites from a Centos 5.9; Plesk 11.0.9 to a new ‪CentOS Linux 7.3.1611; Plesk Onyx 17.0.17 Update #12. The only error I'm getting that worries me is: "The component mod_python is not installed on the destination server. mod_python will be unavailable...
  15. Fabyc

    Question How to add nginx conf for using it with uwsgi for a subdomain or domain?

    Hi everyone, I would like to know how can I set this Nginx conf [1] from Plesk? I tried to add it from Nginx section on a domain or subdomain but I get error when I want to save it. I have running uWSGI server listening in port 8585 for a pyhon app, but I need to serve with Nginx all the...
  16. Noam Harel

    Python installation

    Hi i would like to install python and run .py scripts in httpdocs, also i have read here, that this is possible through plesk onyx. so what would be the best practice to install python on centos 7 and make it competable with plesk onyx. detailed instruction if possible. thank's in advance Noam
  17. D

    Resolved Find out which Modules are used (python, perl) ?

    Hi, i want to find out which Modules are used by current customers. Python / Perl... Is that possible? My Goal: disable it from old Server, in order to move to new Server without activate Modules on destination Server?! Thank you.
  18. R

    Question How to install python on Plesk 12.5.3 for Windows Server 2012 R2 Standard

    Hello How to install and configure Python on a Windows Server 2012 R2 Standard to be available for Plesk and subscriptions? Thank you Roger
  19. A

    Resolved Update is not working anymore - SSLError: sslv3 alert handshake failure

    Good Morning For about 10 days now the update procedure is not working. The log file is this : Execution failed. Command: autoinstaller Arguments: Array ( [0] => --select-product-id [1] => plesk [2] => --select-release-current [3] => --upgrade-installed-components [4] =>...
  20. H

    Plesk 12.5 Python

    Hi, we have Plesk 12.5 installed on a Windows 2012 r2 server. We have installed Python 2.7 & Python 3.4 from the ActiveState, however Plesk 12.5 is still advising that Python is not installed when we are running pre-migration checks. Can anyone advise if there are any additional modules or any...
Back
Top