<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-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><br></div><div><br></div>-- <br><div class="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>