Hi,

Im trying to run web2py + python3.11 + uwgi but unable to make it work.
Seems web2py can't import libraries, when doing the same over a python3 
prompt it works.

Example:

<class 'RuntimeError'> Needs redis library to work 
try:
import redis
from redis.exceptions import WatchError as RWatchError
from redis.exceptions import ConnectionError as RConnectionError
except ImportError:
logger.error("Needs redis library to work")
raise RuntimeError('Needs redis library to work')
When running the same commands on a python3 prompt they run without issue.

Libraries are installed.
# pip3 list
redis              5.0.0

Change uwsgi plugin from python3 to python311 dont have any effect in the 
output.

Any ideas,


-- 
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 web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/cbbc4799-c937-4683-a605-c93878b079efn%40googlegroups.com.

Reply via email to