【发布时间】:2021-05-15 07:02:40
【问题描述】:
/usr/local/bin/python3: Error while finding module specification for 'system.__main__' (ImportError: cannot import name 'LANG' from partially initialized module 'system' (most likely due to a circular import) (/Black-Lightning/system/__init__.py))
首先我不熟悉第一个错误,我没有同名系统的模块 而且我没有从一个系统导入到另一个系统,docker文件或shell文件有什么问题吗? (学习)
外壳
#!/bin/bash
if [ -e exconfig.py ]
then
a="""
LOADING USERBOT - KINDLY WAIT 5min.
INITIALIZING - Self Hosting Setup
© Black-Lightning 2021"""
else
a = """LOADING USERBOT - KINDLY WAIT 5min.
USERBOT - Black-Lightning
© Black-Lightning 2021"""
fi
echo a
git clone https://github.com/KeinShin/Black-Lightning -b rebirth
chmod +x /usr/local/bin/*
cd Black-Lightning
echo "Installing Requirements"
pip3 install -r requirements.txt && pip3 install --no-cache-dir -r requirements.txt
echo "INITIALIZING System"
python3 -m system```
【问题讨论】:
标签: python import specifications circular-dependency