Troubles with Geopandas

255 views
Skip to first unread message

Felix Enyimah Toffah

unread,
Dec 18, 2021, 8:07:03 AM12/18/21
to PyInstaller

2.png1.png

Hello everyone!
I am using auto-py-to-exe (pyinstaller) to create an executable program for my script. I however get errors when I try to run the .exe file after compiling. The problem seems to be with geopandas and I am not able to resolve it. Can someone help me out? Thank you in advance.

Best regards,
Felix.

Felix Enyimah Toffah

unread,
Dec 29, 2021, 2:56:21 PM12/29/21
to PyInstaller
Hello everyone!
Can someone please help me resolve this issue? Thanks

bwoodsend

unread,
Dec 30, 2021, 8:41:13 AM12/30/21
to PyInstaller

For plain PyInstaller, you just need to add --collect-data=geopandas to your build command. I’ve no idea if auto-py-to-exe has an equivalent setting.

Felix Enyimah Toffah

unread,
Jan 1, 2022, 7:23:59 AM1/1/22
to PyInstaller
Hello, 
I tried the proposed solution with PyInstaller and it worked. Thank you so much.

Reply all
Reply to author
Forward
0 new messages