I searched for, and would like to expand/continue on the OP's question on how to resolve a Python error
- New installation of Ubuntu 20.04 on local bare-metal.
- Installed Docker using official installation guide, with Docker Compose.
- Executed instructions to install SearXNG docker image and run
docker-compose up
.
Program terminated with:
/snap/docker/2285/lib/python3.6/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
ERROR:
Can't find a suitable configuration file in this directory or any
parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml, compose.yml, compose.yaml
Currently installed Python version is 3.10.6. The directory listing clearly shows:
%%%%@%%%%server1:/usr/local/searxng-docker# ls
Caddyfile LICENSE README.md docker-compose.yaml searxng searxng-docker.service.template
A helpful answer to the original question by Luv_Python suggested that a downgrade of Paramiko
may be warranted. And, looking at source code (and I am using an IP address for hostname in SearXNG), I am using SSH, or at least Docker Compose is, when scripted.
I shouldn't expect a breakdown on how to fix this. Just some direction on what library, software, Github author etc. to report it to. I politely refuse to accept that a downgrade in software, and therefore security, is the only way to correct the issue.
Perhaps, I should just spool a Linode instance, with Docker and a domain name. Maybe this is the expected installation by the development team?!