<div dir="ltr">This is why I use Windows for nothing except updating my Tom-Tom. You are right if you are using Windoze expect any Python packages that need C/C++ to compile to just not work correctly. For me this is just way too limiting so I'm a Linux only type of guy. I do this stuff professionally, so I decline all Windows Python work--I can't have things failing to build correctly.<div><br></div><div>So if you get it to work on the RPi then you can recommend it and the numpy install will always just work.</div><div><br></div><div>~Carl</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 21, 2015 at 10:02 PM, Adam Haile <span dir="ltr"><<a href="mailto:adammhaile@gmail.com" target="_blank">adammhaile@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Yeah... I think I'll look into seeing if I can integrate numpy in any way. The problem I've run into with numpy is on Windows. When trying to install via pip, it always gives the dreaded vcvarsall.bat error and then you have to go an install the microsoft python compiler package to get it to work. Another option is to manually download a <a href="http://www.lfd.uci.edu/~gohlke/pythonlibs/#numpy" target="_blank">precompiled WHL file</a>, but most users don't find that. And I hate dependencies :P But I'm cool with making it an option thing for the sake of speed... fortunately, python is flexible enough where I could probably make it auto-detect and then just use the correct version if numpy is installed.</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 21, 2015 at 9:58 PM, Carl Nobile <span dir="ltr"><<a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I install everything in a virtual environment then use pip to install everything. This keeps one apps install separate from another's. For instance one app can use python 3.4 and another use 2.7.4.<div><br></div><div>Pip should pull down all of numpy's dependencies. Don't use the machine's install with most Python packages. Now scipy is a pain to install even with pip. There are circular dependencies between numpy and scipy.</div><div><br></div><div>You may want to see if the RPi can handle the work when using numpy, just to see. This may give you other options.</div><span><font color="#888888"><div><br></div><div>~Carl</div><div><br></div></font></span></div><div class="gmail_extra"><br><div class="gmail_quote"><span>On Mon, Sep 21, 2015 at 9:49 PM, Adam Haile <span dir="ltr"><<a href="mailto:adammhaile@gmail.com" target="_blank">adammhaile@gmail.com</a>></span> wrote:<br></span><div><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I do where I can right now... but numpy is a non-trivial install on some systems (in my experience). Something not worth it for the majority of users since most probably don't use more than a couple hundred LEDs, if that.<div><br></div><div>I may need to find a way to come up with an optional numpy version...</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 21, 2015 at 9:45 PM, Carl Nobile <span dir="ltr"><<a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Adam,<div><br></div><div>Doing it in pure python may be the issue. Use the numpy package it does matrix math extremly fast. If you're flipping pixels around then you will get an unbelievable speed increase with numpy.</div><div><br></div><div>~Carl</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Mon, Sep 21, 2015 at 9:39 PM, Adam Haile via TriEmbed <span dir="ltr"><<a href="mailto:triembed@triembed.org" target="_blank">triembed@triembed.org</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">It's all CPU. There's usually less than 100MB RAM usage. And yup, 24/7 operation.<div>I'm already using nothing but single byte math (with a tiny few float exceptions) and have optimized the heck out of it with a couple of performance profilers. Pretty much it comes down to doing hundreds of thousands of pixel operations per second all in pure python, with no GPU acceleration... this is because my "display" is large LED matrices. So, admittedly, not the best for performance... but I'm also doing way more than users of my library would generally ever try.</div></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 21, 2015 at 5:01 PM, John Vaughters <span dir="ltr"><<a href="mailto:jvaughters04@yahoo.com" target="_blank">jvaughters04@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12px"><div><span></span></div>  <div><br><br></div><div style="display:block"><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:12px"><div style="font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:16px"><div><div><div><span><div dir="ltr">>Forget I mentioned the video thing... Pi is not fast enough regardless.</div><div dir="ltr"><br></div></span><div dir="ltr">Right, so the pi lacks memory and processing power. </div><div dir="ltr"><br></div><div dir="ltr">I guess the question is what is your application wanting? Are you swaping memory? or is the Processor pegged? Or both? </div><div dir="ltr"><br></div><div dir="ltr">Do you need 24/7 on time? </div><div dir="ltr"><br></div><div dir="ltr">Is it your software that you can change to optimize your system? You mentioned speed over cores; software changes can possibly fix these problems.</div><div dir="ltr"><br></div><div dir="ltr">Finding sub $150 computers in the x86 family is going to be tough unless you want a used laptop. But even then, laptops running 24/7 are not the most reliable. </div><div dir="ltr"><br></div><div dir="ltr">I guess my suggestion would be to try to figure out what the hold up is in your application and system if you want to get the cost to it's lowest. Or just try the used laptop route.</div><span><font color="#888888"><div dir="ltr"><br></div><div dir="ltr">John Vaughters</div>
<div><div><br></div></div></font></span></div></div></div>  </div> </div>  </div></div></div></blockquote></div><br></div>
</div></div><br></div></div><span>_______________________________________________<br>
Triangle, NC Embedded Computing mailing list<br>
<a href="mailto:TriEmbed@triembed.org" target="_blank">TriEmbed@triembed.org</a><br>
<a href="http://mail.triembed.org/mailman/listinfo/triembed_triembed.org" rel="noreferrer" target="_blank">http://mail.triembed.org/mailman/listinfo/triembed_triembed.org</a><br>
TriEmbed web site: <a href="http://TriEmbed.org" rel="noreferrer" target="_blank">http://TriEmbed.org</a><br>
<br></span></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div>-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>-------------------------------------------------------------------------------</div>
</font></span></div>
</blockquote></div><br></div>
</div></div></blockquote></div></div></div><div><div><br><br clear="all"><div><br></div>-- <br><div>-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>-------------------------------------------------------------------------------</div>
</div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">-------------------------------------------------------------------------------<br>Carl J. Nobile (Software Engineer)<br><a href="mailto:carl.nobile@gmail.com" target="_blank">carl.nobile@gmail.com</a><br>-------------------------------------------------------------------------------</div>
</div>