Install python3-smbc by entering the following commands in the terminal:
sudo apt update sudo apt install python3-smbc
Description:
Python 3 bindings for the Samba client library
This package contains an extension that allows one to write Python 3 programs that can talk to SMB/CIFS servers.
Homepage: https://github.com/hamano/pysmbc
Version: 1.0.15.6-1build2
Section: universe/python