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

How to install geomeppy for windows?

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

Piyush's avatar

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

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 setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "C:\Users\PIYUSH\AppData\Local\Temp\pip-build-mr0av1l1\shapely\setup.py", 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\_buildcfg.py", line 200, in <module>
        lgeos = CDLL("geos_c.dll")
      File "c:\users\piyush\appdata\local\programs\python\python36-32\lib\ctypes\__init__.py", 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
3

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

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

Comments

1

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's avatar Piyush  ( 2018-04-23 08:29:02 -0600 )edit

@Jamie Bull it looks like @Nimafo is having a similar issue trying to use geomeppy on Windows, they have started a new post here.

Aaron Boranian's avatar Aaron Boranian  ( 2021-01-19 10:28:39 -0600 )edit

Your Answer

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

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

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

Seen: 1,349 times

Last updated: Mar 14 '18