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
  Running A Parser In VSCode - And Write The Results Into A Csv-File apollo 5 512 Jan-14-2021, 08:58 PM
Last Post: snippsat
  pyarrow throws oserror winerror 193 1 is not a valid win32 application aupres 2 794 Oct-21-2020, 01:04 AM
Last Post: aupres
  Sublime Text 3 WinError 2 File Specified HelloWorld17 0 879 Apr-02-2020, 09:03 AM
Last Post: HelloWorld17
  cx_freeze frozen executive introduces WinError 10049 KipCarter 3 792 Jan-14-2020, 02:34 PM
Last Post: KipCarter
  problem running python file using cmd panzers 2 778 Dec-19-2019, 04:04 PM
Last Post: panzers
  .py to exe error "oserror winerror 193" michael1789 3 1,889 Dec-03-2019, 05:49 AM
Last Post: michael1789
  Has anyone experience a winError[5] Access Denied in Windows 10? fstkmaro 2 6,061 Nov-11-2019, 02:38 PM
Last Post: fstkmaro
  Interpreter and running a .py file give different outputs PythonNPC 5 924 Jul-21-2019, 01:07 PM
Last Post: PythonNPC
  Batch file not running python script in task scheduler davork 3 2,142 May-09-2019, 12:53 PM
Last Post: Gribouillis
  Python unittest - running multiple tests from CSV file asheru93 0 1,635 Jan-21-2019, 08:26 AM
Last Post: asheru93

Forum Jump:

User Panel Messages

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