Ubuntue is 12.04 64bit server, fresh installed.
This is what I received after "import simplejson"
web2py™Version 2.4.6-stable+timestamp.2013.04.06.17.37.38PythonPython
2.7.3: /usr/bin/python (prefix: /usr)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
Traceback (most recent call last):
File "/home/www-data/web2py/gluon/restricted.py", line 212, in restricted
exec ccode in environment
File "/home/www-data/web2py/applications/welcome/controllers/default.py"
<https://www.thme.com/admin/default/edit/welcome/controllers/default.py>, line
78, in <module>
File "/home/www-data/web2py/gluon/globals.py", line 194, in <lambda>
self._caller = lambda f: f()
File "/home/www-data/web2py/applications/welcome/controllers/default.py"
<https://www.thme.com/admin/default/edit/welcome/controllers/default.py>, line
22, in index
import simplejson
File "/home/www-data/web2py/gluon/custom_import.py", line 81, in
custom_importer
raise ImportError, 'Cannot import module %s' % str(e)
ImportError: Cannot import module 'simplejson'
On Thursday, May 2, 2013 8:08:31 PM UTC-5, Kenneth wrote:
>
> This seems odd to me.
>
> I just moved my server and ran the ubuntu script to install web2py
>
> I cannot import simplejson for some reason. (I ran it on python -S
> web2py.py as well)
>
> anyone had this problem before? Let me know! Otherwise, I have to import
> directly from gluon.
>
--
---
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/groups/opt_out.