archlinuxcn / lilac

Lilac is the build bot for archlinuxcn
GNU General Public License v3.0
113 stars 39 forks source link

Update Dependencies of README.md #176

Closed starsareintherose closed 2 years ago

starsareintherose commented 3 years ago

If this dependence is not added, an error report

Traceback (most recent call last):
  File "/usr/bin/lilac", line 33, in <module>
    from lilac2.packages import (
  File "/usr/lib/python3.9/site-packages/lilac2/packages.py", line 11, in <module>
    from .api import run_cmd
  File "/usr/lib/python3.9/site-packages/lilac2/api.py", line 19, in <module>
    import requests
  File "/usr/lib/python3.9/site-packages/requests/__init__.py", line 44, in <module>
    import chardet
ModuleNotFoundError: No module named 'chardet'
lilydjwg commented 3 years ago

chardet is a dependency of requests. Why do you have the latter but not the former?

starsareintherose commented 3 years ago

I add archlinuxcn repository and found this problem

lilydjwg commented 3 years ago

What does the following command say?

pacman -Qi python-requests python-chardet
starsareintherose commented 3 years ago

I wouldn't test this repository, I have deleted it.

░▒▓ ~ ▓▒░ lilac     ░▒▓ ✔  15:15:47 ▓▒░
Traceback (most recent call last):
  File "/usr/bin/lilac", line 51, in <module>
    config = read_config()
  File "/usr/lib/python3.9/site-packages/lilac2/tools.py", line 42, in read_config
    raise Exception('No config files found!')
Exception: No config files found!