Solved_errors Index Page 2

SOLUTION: ValueError: bad marshal data (unknown type code)

If while doing a python setup.py install you got the error "ValueError: bad marshal data (unknown type code)", delete all the pycs files. Check our solution to bad marshal data here.

error: Not a recognized archive type: Twisted tar.bz2

The error "error: Not a recognized archive type: Twisted tar.bz2" means that your python is missing the bz2 module. Here we explain why this error happens and how to solve it.

Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib (LoadError)

If you got the error libreadline.7.dylib (LoadError), try to create a symbolic link: ln -s /usr/local/opt/readline/lib/libreadline.8.0.dylib /usr/local/opt/readline/lib/libreadline.7.dylib. Check here for more information.

Library not loaded: libgfortran.3.dylib

If you got the error: "Library not loaded: /usr/local/Cellar/gfortran/4.8.2/gfortran/lib/libgfortran.3.dylib" try to do a force-reintall using pip for numpy and scipy: pip install --upgrade --force-reinstall numpy and pip install --upgrade --force-reinstall scipy.

MacOS: fatal error: 'numpy/arrayobject.h' file not found Solution

If you got the error: " fatal error: 'numpy/arrayobject.h' file not found" try to set CFLAGS="-I /usr/local/lib/python2.7/site-packages/numpy/core/include $CFLAGS". See here for for the whole solution

MacOS: Package 'libffi', required by 'gobject-2.0', not found

Check here the solution for "Package 'libffi', required by 'gobject-introspection-1.0', not found", you will need to set the env variables LDFLAGS or PKG_CONFIG_PATH. Solution: export LDFLAGS="-L/usr/local/opt/libffi/lib" or export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"

go build: runtime.main_main·f: function main is undeclared in the main package

When you get the error "runtime.main_main·f: function main is undeclared in the main package" this means that there is a file in your project which is missing the "func main". Check here for more details.

How to open Open Current Folder in Finder from Terminal of Mac OS X?

To open finder from the terminal in OSX use the commnad "open ." Check here for more information

pip: six issue when installing package

If you are using macOS and you get a permission denied while installing with pip install six, then you could try to execute: pip install --ignore-installed six. check our solution for more details.

How to reset bios or clear cmos using just keyboard keys

If you want to clear cmos without opening the computer case, try to: press del key on power on.