Python distutils, how to get a compiler that is going to be used?

This is an expanded version of Luper Rouch’s answer that worked for me to get an openmp extension to compile using both mingw and msvc on windows. After subclassing build_ext you need to pass it to setup.py in the cmdclass arg. By subclassing build_extensions instead of finalize_options you’ll have the actual compiler object to look … Read more

how to successfully install pyproj and geopandas?

Thanks to the conda-forge community, geopandas is actually pretty easy to install on all platforms using the conda package manager (or: its dependencies, as this is the difficulty). If you have conda, it is just: conda install -c conda-forge geopandas To install conda, you can install the Anaconda python distribution or miniconda: http://conda.pydata.org/docs/download.html See the … Read more

How to prevent “This program might not have installed correctly” messages on Vista

Include this section in the program’s manifest file: <compatibility xmlns=”urn:schemas-microsoft-com:compatibility.v1″> <application> <!–The ID below indicates application support for Windows Vista –> <supportedOS Id=”{e2011457-1546-43c5-a5fe-008deee3d3f0}”/> <!–The ID below indicates application support for Windows 7 –> <supportedOS Id=”{35138b9a-5d96-4fbd-8e2d-a2440225f93a}”/> <!–The ID below indicates application support for Windows 8 –> <supportedOS Id=”{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}”/> <!–The ID below indicates application support for Windows … Read more

npm doesn’t work, get always this error -> Error: Cannot find module ‘are-we-there-yet’

You have broken npm by removing some of its dependencies. are-we-there-yet is a dependency of npmlog which is a dependency of npm itself, and you somehow deleted it. The usual simple solution for such cases is reinstalling a package, but that doesn’t work if npm cannot operate. Fortunately, npm tarball comes prebundled with dependencies and … Read more