It's not clear this is the same problem. What happens if you open a 
standard Python shell (not a web2py shell) and try to import simplejson?

On Monday, December 8, 2014 8:37:42 AM UTC-5, 黄祥 wrote:
>
> i face the same problem on mac with web2py source 2.9.11-stable :
>
> MacBook:web2py MacBookPro$ python web2py.py -S welcome
>
> web2py Web Framework
> Created by Massimo Di Pierro, Copyright 2007-2014
> Version 2.9.11-stable+timestamp.2014.09.15.23.35.11
> Database drivers available: SQLite(sqlite3), MySQL(pymysql), 
> PostgreSQL(pg8000), MSSQL(pyodbc), DB2(pyodbc), Teradata(pyodbc), 
> Ingres(pyodbc), IMAP(imaplib)
> WARNING:web2py:import IPython error; use default python shell
> Python 2.7.6 (default, Sep  9 2014, 15:04:36) 
> [GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> (InteractiveConsole)
> >>> import simplejson
> Traceback (most recent call last):
>   File "<console>", line 1, in <module>
>   File "/Users/MacBookPro/web2py/gluon/custom_import.py", line 86, in 
> custom_importer
>     raise ImportError, 'Cannot import module %s' % str(e)
> ImportError: Cannot import module 'simplejson'
>
> is there a way to solve this?
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to