On 07/11/2019 19:00, Chris Angelico wrote:
On Fri, Nov 8, 2019 at 5:47 AM tony van der Hoff <li...@vanderhoff.org> wrote:
Hi,
I'm attempting to install (among other things) the "http" module on my
debian10 box, and am encountering the following problem:
Can you link to the documentation for the package you're trying to
install? Python already ships with a module called "http". You don't
need to install it.
Thanks Chris, but it doesn't seem to be installed here, but maybe I'm
doing something stupid:
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
import cgi
import logging
from http import cookies
[Thu Nov 07 17:29:24.002303 2019] [cgi:error] [pid 30937] [client
127.0.0.1:41912] AH01215: Traceback (most recent call last)::
/home/tony/public_html/private/pygallery/pygallery.py
[Thu Nov 07 17:29:24.002455 2019] [cgi:error] [pid 30937] [client
127.0.0.1:41912] AH01215: File
"/home/tony/public_html/private/pygallery/pygallery.py", line 6, in
<module>: /home/tony/public_html/private/pygallery/pygallery.py
[Thu Nov 07 17:29:24.002480 2019] [cgi:error] [pid 30937] [client
127.0.0.1:41912] AH01215: from http import cookies:
/home/tony/public_html/private/pygallery/pygallery.py
[Thu Nov 07 17:29:24.002502 2019] [cgi:error] [pid 30937] [client
127.0.0.1:41912] AH01215: ImportError: No module named http:
/home/tony/public_html/private/pygallery/pygallery.py
--
https://mail.python.org/mailman/listinfo/python-list