better pip install next time...
http://stackoverflow.com/questions/3220404/why-use-pip-over-easy-install

Mainly because you can delete the package...

Richard


On Thu, Apr 4, 2013 at 10:07 AM, Teddy Nyambe <software....@gmail.com>wrote:

> pygooglechart looks easy, but have a small issue with web2py.
>
> I did:
>
> easy_install pygooglechart
>
> on the python prompt the module is being imported:
>
> Python 2.7.3 (v2.7.3:70274d53c1dd, Apr  9 2012, 20:52:43)
> [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> import pygooglechart
> >>> help(pygooglechart)
>
> Help on module pygooglechart:
>
> NAME
>     pygooglechart - pygooglechart - A complete Python wrapper for the
> Google Chart API
>
> FILE
>
> /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygooglechart-0.3.0-py2.7.egg/pygooglechart.py
>
>
>  but under web2py the import is giving the following error:
>
> In [2] : import pygooglechart
> Traceback (most recent call last):
>   File "/Users/teddyl/Documents/src/web2py/gluon/contrib/shell.py", line
> 234, in run
>     exec compiled in statement_module.__dict__
>   File "<string>", line 1, in <module>
>   File "/Users/teddyl/Documents/src/web2py/gluon/custom_import.py", line
> 81, in custom_importer
>     raise ImportError, 'Cannot import module %s' % str(e)
> ImportError: Cannot import module 'pygooglechart'
>
>
> Any ideas!?
>
> On Thu, Apr 4, 2013 at 3:42 PM, Javier Pepe <javierp...@gmail.com> wrote:
>
>> Hello
>>
>> I am use http://pygooglechart.slowchop.com/
>>
>> Is very simple, create a file, a use then in the view.
>>
>>
>>
>>
>> On Thu, Apr 4, 2013 at 10:37 AM, Teddy Nyambe <software....@gmail.com>wrote:
>>
>>> whats the easiest way to create a pie/bar chart using web2py/python, i
>>> was attempting to use pycha with cairo/pycairo libraries with very little
>>> success, failed to install pycairo on the mac all the googled exmaples not
>>> working.
>>>
>>> Any ideas?
>>>
>>> --
>>>
>>> .......................................................................................
>>> Teddy Lubasi Nyambe
>>> Opensource Zambia
>>> Lusaka, ZAMBIA
>>>
>>> Cell: +260 97 7760473
>>> website: http://www.opensource.org.zm
>>>
>>> ~/
>>> Human Knowledge belongs to the world! - AntiTrust
>>>
>>> Man is a tool-using animal. Without tools he is nothing, with tools he
>>> is all - Thomas Carlyle 1795-1881
>>>
>>> /~
>>>
>>> --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to web2py+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to web2py+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>
>
> --
>
> .......................................................................................
> Teddy Lubasi Nyambe
> Opensource Zambia
> Lusaka, ZAMBIA
>
> Cell: +260 97 7760473
> website: http://www.opensource.org.zm
>
> ~/
> Human Knowledge belongs to the world! - AntiTrust
>
> Man is a tool-using animal. Without tools he is nothing, with tools he is
> all - Thomas Carlyle 1795-1881
>
> /~
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to