}

Solved_errors Index Page 15

SOLVED: OSX or macOS Sierra, error while installing python with python: zipimport.ZipImportError: can't decompress data; 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.

SOLVED: fixing macOS Sierra fatal error: 'openssl/opensslv.h' or 'openssl/aes.h' file not found

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.

SOLVED: Hash Sum mismatch when doing apt-get update or install

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.

SOLVED: Brew+ python3+ pyqt5: ModuleNotFoundError: No module named 'sip'

Using brew PyQt5 and python3 the error: ModuleNotFoundError: No module named 'sip' is raised. We explain hot to solve this issue.

go

compile: version does not match go tool version

Steps to fix 'openssl/opensslv.h' or 'openssl/aes.h' file not found error on macOS or OSX.

Linux container: lxc\_start\_ui - tools/lxc_start.c:main:319 - Executing '/sbin/init' with no configuration file may crash the host

Learn how to fix lxc-start When starting a container with lxc-start and you get lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 760 Received container state "ABORTING" instead of "RUNNING" you will find on the logs that Executing '/sbin/init' with no configuration file may crash the host.

gcc

SOLVED: gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

When using fedora, centos or redhat and trying to compile with cython the errro /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory is common. Here is a quick solution to this error.

Raspbian: Error while trying to installs the kernel source with rpi-source

Solution of the error "subprocess.CalledProcessError: Command 'sudo modprobe configs 2> /dev/null' returned non-zero exit status 1" when you execute the rpi-source on the raspberry pi