Hi Oskar--
well, that's not a solution because that's not where the package should be, as
it will interfere with your Git workflow.
But it reveals the actual issue:
The requests-package you installed from the OS packet repository ended up
here:
/usr/lib/python3/dist-packages/requests
However, this location is not in your Python library path, and can therefore
not be imported in Eden. It should be here instead:
/usr/lib/python3/site-packages/requests
or here:
/usr/local/lib/python3/site-packages/requests
...as those locations usually are in the Python library path.
Now, what you can do is either:
1) add the dist-packages location to the PYTHONPATH environment variable,
like:
export PYTHONPATH=/usr/lib/python3/dist-packages
...before starting web2py, or
2) create a symbolic link to that location in the local site-packages, or
3) run that pip -t again, but with the site-packages location as target (not
the Eden modules path), i.e.
pip install --no-cache-dir --force-reinstall -t /usr/local/lib/python3/site-
packages
...while removing it from eden/modules?
---
Do you want to try this and tell us how it worked out?
Dominic
> --
> You received this message because you are subscribed to the Google Groups
> "Eden ASP" group. To unsubscribe from this group and stop receiving emails
> from it, send an email to
eden-asp+u...@googlegroups.com. To view
> this discussion visit
>
https://groups.google.com/d/msgid/eden-asp/06a2fce9-7387-4c13-8dc1-35bac0d5
> 07a0n%
40googlegroups.com.