On 5/31/17, Dennis Lee Bieber <wlfr...@ix.netcom.com> wrote:
> On Tue, 30 May 2017 19:27:48 +0000 (UTC), Mahmood Naderan via Python-list
> <python-list@python.org> declaimed the following:
>
>># trying /usr/lib/python2.6/site-packages/openpyxl.so
>># trying /usr/lib/python2.6/site-packages/openpyxlmodule.so
>># trying /usr/lib/python2.6/site-packages/openpyxl.py
>># trying /usr/lib/python2.6/site-packages/openpyxl.pyc
>>Traceback (most recent call last):
>>File "<stdin>", line 1, in <module>
>>ImportError: No module named openpyxl
>>
>>
>>
>>
>>But
>>
>>$ find /opt -name openpyxl
>>/opt/rocks/lib/python2.6/site-packages/openpyxl
>
>
>       Which tells us that the running python is not configured to LOOK in
> /opt/rocks/...
>
>       That means you need to modify the pythonpath environment to add your
> directory...

In case there are two python environment it could create mess.

Maybe problem started by adding /opt/rocks/bin into PATH manually? If
it is true I rather remove it, then <easy_install pip> and then <pip
install openpyxl>.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to