Solved errors
Direct solutions to common programming errors and system issues.
Page 16 of 17
SOLVED: Error: pg_config executable not found.
Usually when installing psycopg2 the error of pg_config command not found is returned when using a clean Linux installation.
How to exit or quit vim editor
TLDR -> Press ESC key and write ":q!" without quotes. Here we explain more details about vim
chsh error PAM: Authentication failure
Here we explain some solutions to solve the problem of PAM: Authentication failure when using chsh. This is usually raised when installing Oh! my zsh. We require to change /etc/pam.d/chsh or /etc/shells files.
Virtualbox on Ubuntu as host does not show any USB device
This brief guide will help you to fix the problem when virtualbox is not showing any USB device when you try to add a new USB filter.
MacOS LDAP Error: sasl.h File Not Found
When install python-ldap on macOS the error "'sasl.h' file not found" happens when install it with pip.
macOS Python: ZipImportError zlib Not Available
Read how to solve the zipimport.ZipImportError: can't decompress data; zlib not available error while using pyenv to install a new python version. For OSX our solution was to use export CFLAGS="-I$(brew --prefix openssl)/include -I$(xcrun --show-sdk-path)/usr/include" and export LDFLAGS="-L$(brew --prefix openssl)/lib" environment variables while installing python with pyenv.
macOS: openssl/opensslv.h File Not Found Fix
Steps to fix 'openssl/opensslv.h' or 'openssl/aes.h' file not found error on macOS or OSX.
SOLVED: ImportError: bad magic number in : b'\x03\xf3\r\n'
Learn how to solve the above error when importing python modules. But the solution usually is cleaning pyc files.
Fix apt-get Hash Sum Mismatch Error
Sometimes when installing a package, upgrade or installing with apt or apt-get on linux ubuntu or debian the error: W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_main_source_Sources Hash Sum mismatch is raised. we explain how to solve this error.