Hello, I want to ask if you were able to resolve the issue. I also encountered same and have not gotten any solution yet. If you found out, can you please share your solution? Season's greetings
On Saturday, August 8, 2020 at 11:45:44 AM UTC+2 [email protected] wrote: > 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: > *Traceback (most recent call last): File "main.py", line 9, 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: '' [15176] Failed to > execute script main* > > The line 9 in main.py is "import geopandas as gpd" Geopandas imports fiona > and error occurs, as I understand this error message. > > What is the reason?Are there any possible ways to resolve this problem? > > If something, I can send you my .py file and you can try by yourself > because it is really important for me to make .exe file! > > Thanks for response and help! > -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/993e8b55-cf59-4f53-a11e-08a9918e25fcn%40googlegroups.com.
