michaelgale / pcbflow

Python based Printed Circuit Board (PCB) layout and design package based on CuFlow.
BSD 3-Clause "New" or "Revised" License
121 stars 15 forks source link

setup.py: error: Could not find module 'geos_c.dll' (or one of its dependencies)... #4

Closed BurtHarris closed 8 months ago

BurtHarris commented 3 years ago

OK, I gave it a try with a completely different python distribution (anaconda) and a virtual environment (best as I understand it.) Running setup now gives me a different error message. Does this one look familiar to you?

setup.py: error: Could not find module 'geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax. 

My commands were:

PS C:\try\pcbflow> python -m venv create .venv
PS C:\try\pcbflow> .\.venv\Scripts\activate
(.venv) PS C:\try\pcbflow> python .\setup.py install

it ended with:

...
Installed c:\try\pcbflow\.venv\lib\site-packages\pytest-6.2.3-py3.8.egg
Searching for shapely
Reading https://pypi.org/simple/shapely/
Downloading https://files.pythonhosted.org/packages/de/30/e0492acfbb8d5ddd077dff5e5a3f9f85be420d17950b9941cdc2519bd7f0/Shapely-1.8a1.tar.gz#sha256=a748ab74c187060264e7ce838aaac30eead2a791bbea8cc3ab1dfc3cc0b4d067
Best match: Shapely 1.8a1
Processing Shapely-1.8a1.tar.gz
Writing C:\Users\burt_\AppData\Local\Temp\easy_install-59dgfngt\Shapely-1.8a1\setup.cfg
Running Shapely-1.8a1\setup.py -q bdist_egg --dist-dir C:\Users\burt_\AppData\Local\Temp\easy_install-59dgfngt\Shapely-1.8a1\egg-dist-tmp-uc_n5izi
error: Could not find module 'geos_c.dll' (or one of its dependencies). Try using the full path with constructor syntax.
(.venv) PS C:\try\pcbflow>
michaelgale commented 3 years ago

Not sure I can help with that one either. Looks like the shapely install issue. See if you can get some insight from here: https://shapely.readthedocs.io/en/stable/

michaelgale commented 8 months ago

Closing due to no activity and because shapely is now v.2.0.0+