Modify ↓
Ticket #562 (closed support: fixed)
Multiprocessing still not working with Pyinstaller --onefile mode
| Reported by: | panyin | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | PyInstaller 2.1 |
| Component: | Platform Windows | Version: | 1.5.1 |
| Severity: | major | Keywords: | multiprocessing |
| Cc: |
Description
Hi, I've written a python application that uses multiprocessing.Process to place an icon(and menu)in the windows system tray. This works well in my IDE but when packaged into onefile with pyinstaller it spits the error "AttributeError?: 'module' object has no attribute '_MEIPASS'". I tried the solution http://www.pyinstaller.org/wiki/Recipe/Multiprocessing, ticket:182 but its still not working. I also tried running the system tray code under the run() function in the solution provided. I need urgent help. How do I integrate the solution for this to work? I'm using pyinstaller 1.5.1 and Python 2.7.2(32 bit) on Windows 7. Thanks
Attachments
Change History
comment:1 Changed 12 months ago by matysek
- Priority changed from high to normal
- Type changed from defect to support
- Milestone PyInstaller 2.0 deleted
Note: See
TracTickets for help on using
tickets.

The multiprocessing recipe requires pyinstaller 1.6 (was renamed to 2.0) or newer. Please use development version as suggested at the main page.