Python Forum
problem with libspatialindex using tkinter
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
problem with libspatialindex using tkinter
#1
I am trying to generate .exe with the help of pyinstaller. However, when I try to run my executable file it generates an error :

in exec_module
      exec(bytecode,module.__dict__)
File "rtree\core.py",line 126, in <module>
OSError: could not find or load spatialindex_c-64.dll
[16436] Failed to execute script main
I have seen few questions related to this problem but nothing helps. I tried to uninstall rtree and download a .whl file but after installation error was similiar but spatialindex_c-64.dll was substituted with spatialindex_c.dll


Thank for response!
Reply
#2
First of all - your problem has nothing to do with tkinter. You don't mention pyinstaller in your thread title.
We don't see your code, but it's most likely that's a problem with the import or path
Check https://pyinstaller.readthedocs.io/en/st...wrong.html
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  tkinter layout problem agentperry 4 1,662 Jan-26-2022, 08:18 PM
Last Post: BashBedlam
  Problem using a button with tkinter SmukasPlays 6 3,280 Jul-02-2020, 08:06 PM
Last Post: SmukasPlays

Forum Jump:

User Panel Messages

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