Questions tagged [python]

Python is a dynamically and strongly typed programming language that encourages readability.

Filter by
Sorted by
Tagged with
0
votes
1answer
16 views

Port 8080 not listening when runninf Gunicorn HTTP server

I am following this tutorial. I installed my app dependencies using pip: pip3 install -r requirements.txt --user Then installed the Gunicorn HTTP server: pip3 install gunicorn --user but when I try to ...
0
votes
0answers
16 views

How to calculate the optimal number of replicas for AKS

I'm a beginner on AKS and there are a lot of notions that I don't really understand. For example, I tried to deploy a node of 3 (agent_count_value) agents of type Standard_B2s and 2 replicas (...
0
votes
0answers
32 views

Use SNI with pip/pypi on Ubuntu 14 Trusty

pip no longer works on old versions of Python 2, because https://pypi.python.org/ now requires Server Name Indication (SNI), which isn't available in Python 2.7.6, the version of Python that comes ...
0
votes
0answers
22 views

python make a script that install packages OS for mac/windows/linux

I need to make a python script (python 3), that does I am newbie using python identify the current OS because dev guys work on iPad/surface/windows workstation, Linux servers, some mac minis and so on ...
1
vote
0answers
684 views

Timeout when reading response headers from daemon process. Python, Flask, Apache

I have a problem with my mod_wsgi configuration. Sometimes, I think when there is a lot of traffic on my website, the page breaks and says "Resource temporarily unavailable..." Apache logs: ...
0
votes
1answer
53 views

Static files with Python, Apache (Proxy) and SSL [duplicate]

It's my first question in the community, i apologize in advance if I write something wrong I developed an application in Python (Django) and in the quality environment I am using gunicorn to provide ...
-2
votes
0answers
29 views

how can I add authentication in my mail server (OFFICE 365) for below kind of python code execution?

0 I was looking for some python script to send an email. The code works fine but what I found concerning is I can send email using anyone's name as there is no authentication. So, can anyone please ...
1
vote
0answers
38 views

Invalid Request Block Size with Nginx and USWGI

I am trying to load balance 2 Python apps using Docker and Nginx. App 1 is run using UWSGI and App 2 is run using default Python Server (I used default server for App 2 just for testing purposes. At ...
0
votes
3answers
126 views

Any ideas how could I've been ransomware hacked?

A couple of days ago our clients reported our Solarwinds website was down. So I connected to check through remote desktop and there it was, a fullscreen html-like interface where you could only use ...
0
votes
1answer
83 views

Simple code running in systemd exits to fast?

I had this old code base running in xinet d. It was basically a simple python script that waited for standard in to come in on a socket, it would do something with it and respond on standard out. ...
0
votes
0answers
19 views

How to upgrade from Python 2 to python 3 on Amazon Linux 2?

I created a new AL2 EC2. I see Python 2 is already installed. How can I upgrade this to Python 3 WITHOUT using virtualenv? I would like to maintain ONLY ONE version of Python.
0
votes
0answers
23 views

Openstack authentication failure from python sdk-in jupyter notebook

I have been trying to make a simple connection to Openstack cloud using python-openstack sdk. With no success. Can someone tell me where I am going wrong? I can see that the header is sending ...
0
votes
1answer
69 views

After power failure restart both DNF and YUM stopped working, do nothing, not even metadata check

My environment, happily functioning for a long time, experienced a power outage - of course, the immortal power supply was offline at the time, needing new batteries. As the administrator, I know ...
1
vote
0answers
36 views

Generate systemd task on the fly

I'm writing a script to backup each mysql databases separately on from a mysql server, but instead of handling this inside the script I would like to rely on systemd to generate a backup job to get ...
1
vote
0answers
24 views

Why is my PowerShell script terminating too quickly?

Hoping you can help me I have a very simple python script which sole purpose is to go through a load of excel workbooks and get the data and produce a single file from it. Script works great. I then ...

15 30 50 per page
1
2 3 4 5
106