<div dir="ltr">You could also try setting up miniconda and only install the basic dependencies. We do this for our build bot.<div><br></div><div><a href="https://github.com/mne-tools/mne-python/blob/master/.travis.yml#L16">https://github.com/mne-tools/mne-python/blob/master/.travis.yml#L16</a><br>

</div><div><br></div><div>up to line 20 (but strip away the dashes which are specific to the yaml syntax).</div><div><br></div><div>Best,</div><div>Denis</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

On Wed, Jul 9, 2014 at 9:16 PM, Alexandre Gramfort <span dir="ltr">&lt;<a href="mailto:alexandre.gramfort@telecom-paristech.fr" target="_blank">alexandre.gramfort@telecom-paristech.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="">&gt; Thanks for responding so quickly.<br>
&gt; I downloaded and installed it and see that it includes the shared library that numpy tries to load and fails to find: libpython2.7.so.1.0<br>
<br>
</div>it&#39;s shipped with anaconda. So it should work.<br>
<br>
I would see with your sys admin<br>
<br>
Alex<br>
<div class="HOEnZb"><div class="h5"><br>
&gt; I can include this library in my package but I need to alter some environmental variable (?) so that it will be found.<br>
&gt; Any thoughts about this?<br>
&gt;<br>
&gt; Regards,<br>
&gt;<br>
&gt; Don<br>
&gt;<br>
&gt; Don Krieger, Ph.D.<br>
&gt; Department of Neurological Surgery<br>
&gt; University of Pittsburgh<br>
&gt; (412)648-9654 Office<br>
&gt; (412)521-4431 Cell/Text<br>
&gt;<br>
&gt;<br>
&gt;&gt; -----Original Message-----<br>
&gt;&gt; From: <a href="mailto:mne_analysis-bounces@nmr.mgh.harvard.edu">mne_analysis-bounces@nmr.mgh.harvard.edu</a> [mailto:<a href="mailto:mne_analysis-">mne_analysis-</a><br>
&gt;&gt; <a href="mailto:bounces@nmr.mgh.harvard.edu">bounces@nmr.mgh.harvard.edu</a>] On Behalf Of Alexandre Gramfort<br>
&gt;&gt; Sent: Wednesday, July 09, 2014 11:16 AM<br>
&gt;&gt; To: Discussion and support forum for the users of MNE Software<br>
&gt;&gt; Subject: Re: [Mne_analysis] mne-python dependence on numpy and scipy<br>
&gt;&gt;<br>
&gt;&gt; hi Don,<br>
&gt;&gt;<br>
&gt;&gt; mne cannot work without numpy and scipy.<br>
&gt;&gt; we need numpy at the very low level to read files from disk.<br>
&gt;&gt;<br>
&gt;&gt; can you use a complete python distribution like anaconda that consists of a<br>
&gt;&gt; simple folder?<br>
&gt;&gt;<br>
&gt;&gt; Alex<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jul 9, 2014 at 3:31 PM, Krieger, Donald N. &lt;<a href="mailto:kriegerd@upmc.edu">kriegerd@upmc.edu</a>&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; &gt; I am attempting to use mne-python in a grid computing application.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The only function that I need is read_forward_solution .<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Both mne-python and all the files imported and used by it must be<br>
&gt;&gt; &gt; included in the package which is uploaded to each grid computer in<br>
&gt;&gt; &gt; order to get it to work.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; As a first cut I’m including both numpy and scipy along with<br>
&gt;&gt; &gt; mne-python since it imports modules from them.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The whole thing is  failing because the linear algebra routines in<br>
&gt;&gt; &gt; numpy require a shared compiled library which is not found on the<br>
&gt;&gt; &gt; target machines on the grid.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I’ve fooled around with commenting out the import statements for numpy<br>
&gt;&gt; &gt; and scipy functions but the dependencies are not readily eliminated.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Perhaps someone has a better idea about how to go about this.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; I would like to get this to work and secondarily to work without<br>
&gt;&gt; &gt; requiring numpy or scipy at all.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The reason for that is that I am running on average 35,000 jobs per day.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Each requires uploading the entire package which requires that much<br>
&gt;&gt; &gt; more network bandwidth given the size of the assembled packages.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; A somewhat optimal solution would be to “skeletonize” the chain of<br>
&gt;&gt; &gt; dependencies and required files needed to support  the limited<br>
&gt;&gt; &gt; functionality required for the application.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Is there a simple algorithm or even a tool for doing this?<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Your thoughts and direction would be appreciated.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Thanks.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Regards,<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Don<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Don Krieger, Ph.D.<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; Department of Neurological Surgery<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; University of Pittsburgh<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; (412)648-9654 Office<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; (412)521-4431 Cell/Text<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; _______________________________________________<br>
&gt;&gt; &gt; Mne_analysis mailing list<br>
&gt;&gt; &gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt;&gt; &gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt;<br>
&gt;&gt; &gt; The information in this e-mail is intended only for the person to whom<br>
&gt;&gt; &gt; it is addressed. If you believe this e-mail was sent to you in error<br>
&gt;&gt; &gt; and the e-mail contains patient information, please contact the<br>
&gt;&gt; &gt; Partners Compliance HelpLine at <a href="http://www.partners.org/complianceline" target="_blank">http://www.partners.org/complianceline</a><br>
&gt;&gt; &gt; . If the e-mail was sent to you in error but does not contain patient<br>
&gt;&gt; &gt; information, please contact the sender and properly dispose of the<br>
&gt;&gt; &gt; e-mail.<br>
&gt;&gt; &gt;<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Mne_analysis mailing list<br>
&gt;&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt;&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a></div></div></blockquote></div><br></div>