Python, Solaris 10, pip install complains about absent pkg_resources

Don Walters djwalters at gmail.com
Thu May 18 19:26:25 CEST 2017


Thanks;  I installed CSW python2.7, and now pip works.

Next, I'll give openpyxl a try :-)

—donw


On Wed, May 17, 2017 at 1:08 PM, Don Walters <djwalters at gmail.com> wrote:

> I want to use openpyxl for writing excel files via python.
>
> I've got 25 years unix shell scripting, but am green at python.
>
> I did:
>      pip install openpyxl
> and received:
>      Traceback (most recent call last):
>        File "/usr/bin/pip", line 8, in <module>
>          from pkg_resources import load_entry_point
>      ImportError: No module named pkg_resources
>
> Oddly, I notice there _is_ a directory called "pkg_resources" located at:
>      /opt/csw/lib/python2.6/site-packages
>
> ​I'm sure there's a "python.cfg" file or something I need to edit to tell
> python where to look.
>
> Can someone please give me the hint?
>
> Thanks a lot,
>
> Don W.
>
>
> --
>
> See my website at: http://www.korndon.com
> See me on LinkedIn: https://www.linkedin.com/in/korndon
> Small Website Repair: http://www.smallwebsiterepair.com
>
> *Business is like a man rowing a boat upstream. He has no choice; he must
> go ahead or he will go back.*
>                 —Lewis E. Pierson
>
>
> *Money demands that you sell, not your weakness to men’s stupidity, but
> your talent to their reason.*                —Ayn Rand
>
>


-- 

See my website at: http://www.korndon.com
See me on LinkedIn: https://www.linkedin.com/in/korndon
Small Website Repair: http://www.smallwebsiterepair.com

*Business is like a man rowing a boat upstream. He has no choice; he must
go ahead or he will go back.*
                —Lewis E. Pierson


*Money demands that you sell, not your weakness to men’s stupidity, but
your talent to their reason.*                —Ayn Rand
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20170518/370b66b0/attachment-0001.html>


More information about the users mailing list