{"action":"closed","issue":{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1677","labels_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1677/labels{/name}","comments_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1677/comments","events_url":"https://api.github.com/repos/pyinstaller/pyinstaller/issues/1677/events","html_url":"https://github.com/pyinstaller/pyinstaller/issues/1677","id":117232440,"number":1677,"title":"Tcl import error when importing pandas and Tkinter","user":{"login":"cricketgriff","id":7172629,"avatar_url":"https://avatars.githubusercontent.com/u/7172629?v=3","gravatar_id":"","url":"https://api.github.com/users/cricketgriff","html_url":"https://github.com/cricketgriff","followers_url":"https://api.github.com/users/cricketgriff/followers","following_url":"https://api.github.com/users/cricketgriff/following{/other_user}","gists_url":"https://api.github.com/users/cricketgriff/gists{/gist_id}","starred_url":"https://api.github.com/users/cricketgriff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cricketgriff/subscriptions","organizations_url":"https://api.github.com/users/cricketgriff/orgs","repos_url":"https://api.github.com/users/cricketgriff/repos","events_url":"https://api.github.com/users/cricketgriff/events{/privacy}","received_events_url":"https://api.github.com/users/cricketgriff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/hooks","name":"hooks","color":"fef2c0"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/need%20info","name":"need info","color":"c7def8"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/PY2","name":"PY2","color":"fef2c0"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/support","name":"support","color":"009800"},{"url":"https://api.github.com/repos/pyinstaller/pyinstaller/labels/Windows","name":"Windows","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-16T22:23:16Z","updated_at":"2016-01-25T18:37:38Z","closed_at":"2016-01-25T18:37:38Z","body":"I received the following error message when trying to run the resulting .exe file created using pyinstaller (option: -w) on the code below.  When I switch the import statements so that I import pandas before Tkinter, pyinstaller works.  This is an issue because I had multiple script files that I wanted to package with pyinstaller and it kept failing due to the order of import statements.  Specifically, I had a gui script (that imported Tkinter) that called a separate computational script (that imported pandas).  I could not make it run correctly by putting the pandas import before the Tkinter import in the first and/or second script.\r\n\r\nError message:\r\nVersion conflict for package \"Tcl\": have 8.5.7, need exactly 8.5.2 \r\n![tclerror](https://cloud.githubusercontent.com/assets/7172629/11196512/b024a9da-8c74-11e5-8d76-f84ab3258aeb.png)\r\n\r\n\r\nMinimal code:\r\n\r\n    import Tkinter as tk\r\n    import pandas as pd\r\n    root = tk.Tk()\r\n    root.mainloop()\r\n\r\nSystem:\r\nPython 2.7.9, Enthought Canopy 1.5.5\r\npandas 16.2\r\nTkinter 8.5\r\npyinstaller 3.1.dev0\r\nWindows 7-6.1 SP1"}}