[Mne_analysis] pyinstaller not compatible with joblib based functions {Disarmed}

Dan McCloy dan at mccloy.info
Wed Nov 11 11:59:12 EST 2020
Search archives:

        External Email - Use Caution        

Did you already follow the steps here?
https://secure-web.cisco.com/1Xfp1C7ZEXa58Ey7SGggEtpoABO6ZKUQz4UOG8oVDNE6W_sBJ3joZMwHi7jaxz9FSpUzTCulUx39-nW4negTcR9msvaToSr-wOAVZBBMmhB9SXiuna-j-6iDm7Ux_5Ebx4BlZm53BnuM7nNEG2CXWQAL9MC_I-OO5jGUeiE0scKydK9506AMshvsmSL1VRiHDHA0DwYlLrYw29F7Eka5sJ0a1FgR6YTnJp8Ogyye5nKw8q51wIxHJ6-scGrrN6t6sSGlEPsUQnC5WjD-lis5cFA/https%3A%2F%2Fpyinstaller.readthedocs.io%2Fen%2Fstable%2Fwhen-things-go-wrong.html

I think you're much more likely to get useful help from the pyinstaller devs. In particular, I notice that joblib is not on their list of supported packages, so I'd start by asking them about that. But do please report back and let us know what solution you find, or if you end up opening a GitHub issue the pyinstaller repository, let us know the URL so we can follow the discussion there and chime in when appropriate.
-- dan
Daniel McCloy
https://secure-web.cisco.com/17SNFiYWWZtzRcrdSDMv1PYO7k2ekF3pvLSja_GDAi8Nx6VVpM9WzkSphixIdKSpO_O1IKOESWD2Opngy4H7vBwHRz5VU7bRC_Tyfu8FgNEjl5GfPSm2bHu82uwfisvAJfdOFc7WUwliYOEWMORZaucDbNDQY1n-4nMoxfgrmmkLSWV935fX-P77xbWQDOUPomCspEeGmNbKfAzWg532VIUsAjIconqC6F0udg-u1hVU-iOQgP3L5GFnArtohDoWmQtlxkriecE0T9O-1ivAD3g/https%3A%2F%2Fdan.mccloy.info
Research Scientist
Institute for Learning and Brain Sciences
University of Washington

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, November 11, 2020 7:52 AM, Tijmen Wartenberg <tijmen_wartenberg at hotmail.com> wrote:

> External Email - Use Caution
>
> Hi Alex,
>
> Thanks for your answer. I am using anaconda at the moment. The problem lies not with the software I am using but with the compability between mne and pyinstaller.
>
> So I tested my scripts in anaconda and they run fine, but I get the problem I described when I transform my scripts to an exectuable via pyinstaller. After I run the .exe, the parallel computing functions using the module joblib don´t work.
>
> Thanks.
>
> Tijmen
> ---------------------------------------------------------------
>
> Van: mne_analysis-bounces at nmr.mgh.harvard.edu <mne_analysis-bounces at nmr.mgh.harvard.edu> namens Alexandre Gramfort <alexandre.gramfort at inria.fr>
> Verzonden: woensdag 11 november 2020 14:32
> Aan: Discussion and support forum for the users of MNE Software <mne_analysis at nmr.mgh.harvard.edu>
> Onderwerp: Re: [Mne_analysis] pyinstaller not compatible with joblib based functions {Disarmed}
>
> External Email - Use Caution
>
> hi Tijmen,
>
> we recommend you use anaconda to install Python and MNE on windows
>
> see instructions: [MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://secure-web.cisco.com/1-iYuNJtOVfF0tJegs7DuLe2CIkzZu3P6pC6daJp9l_LaAOqGZBtFx1_36YeF4h2e6Ef7cfOY8PkudjFr416AF63OCAVV8YnVa7LVX0xnrvU5zyxq6Gy2YYfcBnNqEN3bSlLgAZAalNnGm614hr79uGzAcZmAVgyk-xisRexq7rGPUKlU1Y9GxJzJhlFN0uakVG-jwDVwX08CaBLpV5_3AFnyMX1c8k7suSLDYbr5A0xk_f3GX4JtZPyeVuynGueOMZjctf-fVfqKbFY7hu8IGA/https%3A%2F%2Fmne.tools%2Fstable%2Finstall%2Fmne_python.html](https://secure-web.cisco.com/1ic513LlZLjTQW_lP4-3Yi8DbHlFsWheziOLDoL7VtLHT9kWNdRGUmRhF81qTGFDVdoyUotrFCzq5WYROm3PmF46w2yNKWppfARVcKn5QT2Lrqq0DMpJpoGfUHNzf2vs-bSHWgecDC9Dwh9lJtSO1oWjlfB5QKweI7ULhLsZM7Bg2Uvdv_L4aVV_YQi2a_AogoRrsKx64yjJwgR8VUToBxuZste4LxAw59hbshpTHMDp8riSSSg7UPmIQTlZM2mCJ7mXKweUTqCwkO06YxAyj0w/https%3A%2F%2Fmne.tools%2Fstable%2Finstall%2Fmne_python.html)
>
> Alex
>
> On Wed, Nov 11, 2020 at 2:26 PM Tijmen Wartenberg <Tijmen_Wartenberg at hotmail.com> wrote:
>
>> External Email - Use Caution
>>
>> Dear users of mne software,
>>
>> I encountered a very specific issue regarding the use of pyinstaller in combination with the parallel computing performed in the variety of mne functions, based on joblib.
>>
>> When I run the .exe file, created via pyinstaller my code runs until a piece of line where the parallel computing is first called upon (make_forward_solution). However, this spikes my GUI to open mulitple times (three times more), as defined by the number of cores for parallel computing. At this point, the .exe stops performing as well unfortunately.
>>
>> Is anyone familiair with this problem and is there a workaround?
>>
>> Thanks in advance.
>>
>> Kind regards
>> Tijmen Wartenberg
>> _______________________________________________
>> Mne_analysis mailing list
>> Mne_analysis at nmr.mgh.harvard.edu
>> [MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be https://secure-web.cisco.com/1n1DYRiwwvdVbQFXwo_fnHwaxwyb2FVOEcnLL36WMBqxgOBvgIZ94vo1LsoRHAg_KjLs4db-xX54JztcyPrz5fCFoFJQA8c-KfYNQda7S66XUYHY3IOQU0BPQpNijRLMUhCyRdm_1gXBzNeQcjM8lYwFNOrJlDmhXXRF7LfrriH-subdJi4XuKi_oGKW69b41mb2-gVUoCHvAL9BlC6vbzAESvB0VPSxlXm-9yLnDRHJ66zOFihbTnFwYlZAepXsEkvrSJ5XMKgx84mjC4_U2Hw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Fmne_analysis](https://secure-web.cisco.com/1QkyKqK4VdmOmnnitGxUytrxERQfJP5SGX9he_AiXmhEX_CCyw8rIbynEDlN3PAahQ6B7aBpRhTD1A5inNOLGBRncggE7xZ4Emp-Nq12_dFXjcqxy4dM8px73YAfFSpiY9RgFR9MCPB3Mzj4TQTb_jpl5TvXUKUj5jy5SFwfNU0_f3bjjbMhdJQtF-CuO7vf_50nGIiHzviBJ4pbOBv-Z7ye37drwulbMWq3spOt8kwdXyvCVpS7F2roLP6nflO75ZdQgNEavKmkFdqhRf4Tfnw/https%3A%2F%2Fmail.nmr.mgh.harvard.edu%2Fmailman%2Flistinfo%2Fmne_analysis)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20201111/647abd5e/attachment.html 


More information about the Mne_analysis mailing list