Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

How to install geomeppy for windows?

asked 2018-02-18 05:47:37 -0500

Piyush gravatar image

updated 2018-03-14 14:18:10 -0500

Hi! I have been trying to install Geomeppy (0.4.8) for Windows. As I understand, this requires Numpy (1.14.0), Shapely (1.6.4), and Matplotlib (2.1.2). Except for Shapely, I have the rest installed. Since Shapely needs GEOS, I have that installed as well. However, Shapely installation throws an error still. I cannot make much of the error, any help will be much appreciated. Thanks!

Error Message! Collecting shapely   Using cached Shapely-1.6.4.post1.tar.gz
    Complete output from command python egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\PIYUSH\AppData\Local\Temp\pip-build-mr0av1l1\shapely\", line 80, in <module>
        from shapely._buildcfg import geos_version_string, geos_version, \
      File "C:\Users\PIYUSH\AppData\Local\Temp\pip-build-mr0av1l1\shapely\shapely\", line 200, in <module>
        lgeos = CDLL("geos_c.dll")
      File "c:\users\piyush\appdata\local\programs\python\python36-32\lib\ctypes\", line 348, in __init__
        self._handle = _dlopen(self._name, mode)
    OSError: [WinError 126] The specified module could not be found
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-03-14 14:25:41 -0500

The problem is you're missing the "geos_c.dll". I don't know how you're installing shapely, but this error can occur if you do pip install shapely on Windows since Windows doesn't build the Geos dll.

Try using either the Windows installer from Shapely here, or from Christophe Gohlke here.

edit flag offensive delete link more



Thanks Jamie! Geomeppy is working now! I guess you are right about the installation command! This link is helpful for python newbies for selecting appropriate whl files installing using whl files.

Piyush gravatar imagePiyush ( 2018-04-23 08:29:02 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer


Question Tools

1 follower


Asked: 2018-02-18 05:47:37 -0500

Seen: 375 times

Last updated: Mar 14 '18