Docker container cannot resolve hosts

By default creating a new docker container also creates a virtual network that separates the docker network environment from the host network environment (somewhat). This allows one to easily spin up multiple containers which might all listen on the same port (e.g. 80), but in a way that can be mapped to unique ports on … Read more

Failed building wheel for uwsgi

Your exception explicitly says what’s wrong: gcc_version_components = gcc_version.split(‘.’) AttributeError: ‘NoneType’ object has no attribute ‘split’ and raise Exception(“you need a C compiler to build uWSGI”) Exception: you need a C compiler to build uWSGI So in general your system does not have c compiler installed (e.g. gcc). Try installing it. In Ubuntu it would … Read more

pyenv install: 3.x BUILD FAILED (Ubuntu 20.04 using python-build 20180424)

These are the relevant parts of your log: In file included from /tmp/python-build.20210602162502.2268/Python-3.9.4/Modules/_cursesmodule.c:113: ./Include/py_curses.h:36:10: fatal error: curses.h: No such file or directory 36 | #include <curses.h> | ^~~~~~~~~~ compilation terminated. /tmp/python-build.20210602162502.2268/Python-3.9.4/Modules/_ctypes/_ctypes.c:107:10: fatal error: ffi.h: No such file or directory 107 | #include <ffi.h> | ^~~~~~~ compilation terminated. Python build finished successfully! The necessary bits to … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)