Skip to content

Commit

Permalink
Test smbus2 such a replacement of smbus (no compiler needed) #358
Browse files Browse the repository at this point in the history
  • Loading branch information
rbonghi committed Feb 4, 2023
1 parent 63e395c commit a56517d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jtop/core/jetson_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import logging
from shutil import copyfile
try:
from smbus import SMBus
from smbus2 import SMBus
except ImportError:
print("Skip for setup.py")
# Load distro library from python3 or use platform
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
smbus
smbus2
distro

0 comments on commit a56517d

Please sign in to comment.