Skip to content

Shapely load dll error #1908

@PoriruaU3A

Description

@PoriruaU3A

Bug Report Frozen executable: OSError: Could not find lib geos_c.dll or load any of its variants

System Info Windows 10 Home, 64-bit OS

Run this and paste the output here: python -m arcade

Arcade 2.6.17

vendor: ATI Technologies Inc.
renderer: AMD Radeon(TM) R3 Graphics
version: (4, 5)
python: 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)]
platform: win32

Actual behavior:

Start-up fails

Expected behavior:

No errors

Steps to reproduce/example code:

On Windows 10, I have a test python file containing only one line saying "import arcade". It compiles under python 3.8

I have run:
pyinstaller --noconfirm --onedir --console "C:/Playpen/Software/soxviewer/test.py"

Running the created executable I get a library load issue.
(Latest issues of arcade and PyInstaller)

C:\Playpen\Software\soxviewer\dist\test>test.exe
Traceback (most recent call last):
File "test.py", line 2, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "arcade_init
.py", line 241, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "arcade\geometry.py", line 11, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "arcade\geometry_shapely.py", line 5, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "shapely\speedups_init
.py", line 4, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "shapely\geometry_init
.py", line 4, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "shapely\geometry\base.py", line 18, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "shapely\coords.py", line 8, in
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "PyInstaller\loader\pyimod02_importers.py", line 385, in exec_module
File "shapely\geos.py", line 160, in
File "shapely\geos.py", line 60, in load_dll
OSError: Could not find lib geos_c.dll or load any of its variants [].
[23524] Failed to execute script 'test' due to unhandled exception!

Enhancement request: N/A

What should be added/changed? N/A

What would it help with? N/A

Documentation request: N/A

What documentation needs to change? N/A

Where is it located? N/A

What is wrong with it? How can it be improved? Suggestion for PyInstaller configuration?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions