This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author upendra-k14
Recipients dstufft, lorenzogotuned, ncoghlan, ned.deily, rhettinger, terry.reedy, upendra-k14
Date 2016-06-26.13:44:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466948665.42.0.88600526473.issue27051@psf.upfronthosting.co.za>
In-reply-to
Content
Refer to : msg269285

This is the code :

...............

from pip_tkinter.utils import pip_install_from_PyPI

        curr_item = self.multi_items_list.scroll_tree.focus()
        item_dict = self.multi_items_list.scroll_tree.item(curr_item)
        selected_module = item_dict['values'][0]
        self.controller.debug_bar.config(
            text='Installing package {}...Please wait'.format(selected_module))

        self.install_queue = queue.Queue()
        self.install_thread = threading.Thread(
            target=pip_install_from_PyPI,
            kwargs={
                'package_args':selected_module,
                'thread_queue':self.install_queue})
        self.install_thread.start()
        self.after(100, self.check_install_queue)
History
Date User Action Args
2016-06-26 13:44:25upendra-k14setrecipients: + upendra-k14, rhettinger, terry.reedy, ncoghlan, ned.deily, dstufft, lorenzogotuned
2016-06-26 13:44:25upendra-k14setmessageid: <1466948665.42.0.88600526473.issue27051@psf.upfronthosting.co.za>
2016-06-26 13:44:25upendra-k14linkissue27051 messages
2016-06-26 13:44:25upendra-k14create