Python Forum
WinError 87 while running .exe file
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
WinError 87 while running .exe file
#1
Hello everyone! Maybe it is an offtop but I am a bit puzzled.. Just generated exe file for my GUI python program for working with some geospatial data and use folium,geopandas,shapely etc. However, while running an error occured:

Error:
Traceback (most recent call last): File "main.py", line 11, in <module> File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "c:\users\timna\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.__dict__) File "site-packages\geopandas\__init__.py", line 7, in <module> File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "c:\users\timna\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.__dict__) File "site-packages\geopandas\io\file.py", line 7, in <module> File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "c:\users\timna\anaconda3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module exec(bytecode, module.__dict__) File "site-packages\fiona\__init__.py", line 88, in <module> File "contextlib.py", line 113, in __enter__ File "site-packages\fiona\_loading.py", line 54, in add_gdal_dll_directories File "os.py", line 1109, in add_dll_directory OSError: [WinError 87] The parameter is incorrect: '' [17880] Failed to execute script main
The line number 11 in main.py is “import geopandas as gpd”

It looks like libraries conflict...

What is the reason?Are there any possible ways to resolve this problem?

Thanks for response and help!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  error "cannot identify image file" part way through running hatflyer 0 617 Nov-02-2023, 11:45 PM
Last Post: hatflyer
  FileNotFoundError: [WinError 2] The system cannot find the file specified NewBiee 2 1,496 Jul-31-2023, 11:42 AM
Last Post: deanhystad
  Web project and running a .py file emont 0 620 Dec-11-2022, 11:15 PM
Last Post: emont
  batch file for running python scipt in Windows shell MaartenRo 2 1,825 Jan-21-2022, 02:36 PM
Last Post: MaartenRo
  WinError 2, since fresh new Windows 10 install alok 1 1,612 Jan-06-2022, 11:20 PM
Last Post: lucasbazan
  Running A Parser In VSCode - And Write The Results Into A Csv-File apollo 5 4,543 Jan-14-2021, 08:58 PM
Last Post: snippsat
  pyarrow throws oserror winerror 193 1 is not a valid win32 application aupres 2 3,734 Oct-21-2020, 01:04 AM
Last Post: aupres
  Sublime Text 3 WinError 2 File Specified HelloWorld17 0 2,782 Apr-02-2020, 09:03 AM
Last Post: HelloWorld17
  cx_freeze frozen executive introduces WinError 10049 KipCarter 3 3,090 Jan-14-2020, 02:34 PM
Last Post: KipCarter
  problem running python file using cmd panzers 2 2,264 Dec-19-2019, 04:04 PM
Last Post: panzers

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020