<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif;color:#666666">Thanks; I installed CSW python2.7, and now pip works.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#666666"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#666666">Next, I'll give openpyxl a try :-)</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#666666"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#666666">—donw</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:#666666"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 17, 2017 at 1:08 PM, Don Walters <span dir="ltr"><<a href="mailto:djwalters@gmail.com" target="_blank">djwalters@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"><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">I want to use openpyxl for writing excel files via python.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">I've got 25 years unix shell scripting, but am green at python.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">I did:</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"> pip install openpyxl</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">and received:</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"> Traceback (most recent call last):</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"> File "/usr/bin/pip", line 8, in <module></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"> from pkg_resources import load_entry_point</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"> ImportError: No module named pkg_resources</div><div><br></div><div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">Oddly, I notice there _is_ a directory called "pkg_resources" located at:</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"> /opt/csw/lib/python2.6/site-<wbr>packages</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">I'm sure there's a "python.cfg" file or something I need to edit to tell python where to look.</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">Can someone please give me the hint?</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">Thanks a lot,</div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif;color:rgb(102,102,102)">Don W.</div><span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_2156861400204400137gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><font face="arial narrow, sans-serif" size="2"><div><br></div><div>See my website at: <a href="http://www.korndon.com" target="_blank">http://www.korndon.com</a></div><div>See me on LinkedIn: <a href="https://www.linkedin.com/in/korndon" target="_blank">https://www.linkedin.com/in/<wbr>korndon</a></div><div>Small Website Repair: <a href="http://www.smallwebsiterepair.com" target="_blank">http://www.smallwebsiterepair.<wbr>com</a></div><div><br></div></font></div></div></div><font face="georgia, serif"><i>Business is like a man rowing a boat upstream. He has no choice; he must go ahead or he will go back.</i><br> —Lewis E. Pierson<br><br><i>Money demands that you sell, not your weakness to men’s stupidity, but your talent to their reason.<br></i> —Ayn Rand</font></div><div dir="ltr"><font face="georgia, serif"><br></font></div></div></div></div></div></div></div></div></div></div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><div><font face="arial narrow, sans-serif" size="2"><div><br></div><div>See my website at: <a href="http://www.korndon.com" target="_blank">http://www.korndon.com</a></div><div>See me on LinkedIn: <a href="https://www.linkedin.com/in/korndon" target="_blank">https://www.linkedin.com/in/korndon</a></div><div>Small Website Repair: <a href="http://www.smallwebsiterepair.com" target="_blank">http://www.smallwebsiterepair.com</a></div><div><br></div></font></div></div></div><font face="georgia, serif"><i>Business is like a man rowing a boat upstream. He has no choice; he must go ahead or he will go back.</i><br> —Lewis E. Pierson<br><br><i>Money demands that you sell, not your weakness to men’s stupidity, but your talent to their reason.<br></i> —Ayn Rand</font></div><div dir="ltr"><font face="georgia, serif"><br></font></div></div></div></div></div></div></div></div></div></div>
</div>