Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Installed, but after that nothing works. #49

Open
k2s09 opened this issue Mar 9, 2021 · 0 comments
Open

Installed, but after that nothing works. #49

k2s09 opened this issue Mar 9, 2021 · 0 comments

Comments

@k2s09
Copy link

k2s09 commented Mar 9, 2021

Ubuntu 20.04,
Python version 3.8.5
Installing message (pip3 install xkcd-dl):

Collecting xkcd-dl
  Downloading xkcd-dl-0.1.2.tar.gz (13 kB)
Collecting beautifulsoup4==4.4.1
  Downloading beautifulsoup4-4.4.1-py3-none-any.whl (81 kB)
     |████████████████████████████████| 81 kB 807 kB/s
Collecting python-magic==0.4.10
  Downloading python-magic-0.4.10.tar.gz (4.0 kB)
Collecting requests==2.8.1
  Downloading requests-2.8.1-py2.py3-none-any.whl (497 kB)
     |████████████████████████████████| 497 kB 2.3 MB/s
Building wheels for collected packages: xkcd-dl, python-magic
  Building wheel for xkcd-dl (setup.py) ... done
  Created wheel for xkcd-dl: filename=xkcd_dl-0.1.2-py3-none-any.whl size=9474 sha256=467c59d454051e43fd8a9a40dfd81030d1493b623abe3d7ffba3b835714da7d9
  Stored in directory: /home/bawse69/.cache/pip/wheels/5c/04/03/a4b0774b2d78efb7ecbc883568913b333c52d6d47f15d883e9
  Building wheel for python-magic (setup.py) ... done
  Created wheel for python-magic: filename=python_magic-0.4.10-py3-none-any.whl size=4214 sha256=d666fcb216df708acce1446a88a2f271508c1abab1c45692d439b775fc8bf654
  Stored in directory: /home/bawse69/.cache/pip/wheels/b4/4a/23/cc7d0113212a0146b392420e7968a909ca14377c0b3fd068a7
Successfully built xkcd-dl python-magic
Installing collected packages: beautifulsoup4, python-magic, requests, xkcd-dl
Successfully installed beautifulsoup4-4.4.1 python-magic-0.4.10 requests-2.8.1 xkcd-dl-0.1.2

When I do --update-db, message received is:

Traceback (most recent call last):
  File "/home/bawse69/.local/bin/xkcd-dl", line 5, in <module>
    from xkcd_dl.cli import main
  File "/home/bawse69/.local/lib/python3.8/site-packages/xkcd_dl/cli.py", line 21, in <module>
    from bs4 import BeautifulSoup as bs4
  File "/home/bawse69/.local/lib/python3.8/site-packages/bs4/__init__.py", line 30, in <module>
    from .builder import builder_registry, ParserRejectedMarkup
  File "/home/bawse69/.local/lib/python3.8/site-packages/bs4/builder/__init__.py", line 314, in <module>
    from . import _html5lib
  File "/home/bawse69/.local/lib/python3.8/site-packages/bs4/builder/_html5lib.py", line 70, in <module>
    class TreeBuilderForHtml5lib(html5lib.treebuilders._base.TreeBuilder):
AttributeError: module 'html5lib.treebuilders' has no attribute '_base'

Same traceback error is received when I do just xkcd-dl. Should I try python 2?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant