mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-15 10:40:28 +08:00
修复 kvmd -m 报错
This commit is contained in:
parent
0016dedf14
commit
5db2b16af9
@ -809,8 +809,8 @@ else
|
|||||||
3.10*|3.[987]*)
|
3.10*|3.[987]*)
|
||||||
pip3 install async-lru 2> /dev/null
|
pip3 install async-lru 2> /dev/null
|
||||||
### Fix for kvmd 3.291 -- only applies to python 3.10 ###
|
### Fix for kvmd 3.291 -- only applies to python 3.10 ###
|
||||||
#sed -i -e 's|gpiod.EdgeEvent|gpiod.LineEvent|g' /usr/lib/python3/dist-packages/kvmd/aiogp.py
|
sed -i -e 's|gpiod.LineEvent|gpiod.EdgeEvent|g' /usr/lib/python3/dist-packages/kvmd/aiogp.py
|
||||||
#sed -i -e 's|gpiod.line,|gpiod.Line,|g' /usr/lib/python3/dist-packages/kvmd/aiogp.py
|
sed -i -e 's|gpiod.Line,|gpiod.line,|g' /usr/lib/python3/dist-packages/kvmd/aiogp.py
|
||||||
;;
|
;;
|
||||||
3.11*)
|
3.11*)
|
||||||
pip3 install async-lru --break-system-packages 2> /dev/null
|
pip3 install async-lru --break-system-packages 2> /dev/null
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user