Skip to content

Commit

Permalink
Merge pull request Louisvdw#1007 from p0l0us/can-dependency-fix
Browse files Browse the repository at this point in the history
Fixing non-working can-bus dependency.
mr-manuel authored Mar 14, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents ac892a1 + 1db54e6 commit 9dd5747
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion etc/dbus-serialbattery/reinstall-local.sh
Original file line number Diff line number Diff line change
@@ -433,7 +433,9 @@ if [ "$can_lenght" -gt 0 ]; then
# fastest way to check if can is installed
if [ ! -f "/usr/lib/python3.8/site-packages/can/__init__.py" ]; then
echo "Install can..."
pip3 install can
# Note: 4.x version of python-can causes pip dependency issue on VenusOS v3.22, so using python-can 3.x
# "ERROR: Could not build wheels for msgpack which use PEP 517 and cannot be installed directly"
pip3 install python-can==3.3.4
echo
fi

0 comments on commit 9dd5747

Please sign in to comment.