New answers tagged

0 votes

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

WARNING: it may break yum, because yum uses python2!!! Make sure you don't have it already: ls /usr/bin/python* /usr/bin/python /usr/bin/python2.7 /usr/bin/python2-config /usr/bin/python3.7 ...
  • 2,125
0 votes

Getting an iperf "connect failed: connection refused" error on ubuntu when running multiple threads

Can you post the iperf commands and output? Also, make sure the firewall isn't blocking things (e.g. via iptables)
  • 101
0 votes

Issues with URL length in Apache/mod_wsgi

It is not a problem in WSGI, and there is not much you can do. I have analyzed the problem. Apache uses the libapr library, and invokes the function apr_filepath_merge which at a certain point does if ...
  • 161
0 votes

How to install apt dependencies from setup tools?

we can download apt dependency like maven repository we used for othe rtypes of dependencies we add
  • 101
0 votes

I can make my Docker Python HTTPD listen to the external ip but not from outside docker. Why?

Answer my question as @Gerald Schneider suggests, because this is a new installation of an Oracle cloud compute instance, so it is possible that others will also hit the same error I hit. My problem ...
0 votes

When I get 500 Internal Server Errors for Python scripts, where can I find the log file

Check interpreter is addedd to script, add either #!/usr/bin/python or #!/usr/bin/env python Check logs at /var/log/apache2 for detailed errors, if any. i found missing pip packages in the log. ...
2 votes
Accepted

Ansible: "You need to install 'jmespath' prior to running json_query filter", but it is installed

I was able to figure it out. # pip3.8 install jmespath WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3.8 install --user` instead. Collecting jmespath ...
0 votes

Ansible: "You need to install 'jmespath' prior to running json_query filter", but it is installed

The Ansible tasks are executed on the remote server. You need to make sure the required module is installed there.
  • 121

Top 50 recent answers are included