title: Python2.7 no smb module. Cant locate
body: <p>Running kali 2020, I am trying to run CVE-2007-2447 which is a python2.7 script, which says:</p>
  <pre><code>import smb
  
  from smb.SMBConnection import SMBConnection
  </code></pre>
  <p>I saved the script to a file and ran it, but I get <code>ImportError: No module named smb</code>. In the script, it says install <em>pysmb</em> by running <code>pip install --user pysmb</code>.
  I did this, but still the same error message.</p>
  <p>I tried to locate pysmb and found these packages:</p>
  <pre><code>$ locate pysmb            
  /usr/lib/python3/dist-packages/pysmbc-1.0.23.egg-info
  /usr/lib/python3/dist-packages/pysmbc-1.0.23.egg-info/PKG-INFO
  /usr/lib/python3/dist-packages/pysmbc-1.0.23.egg-info/dependency_links.txt
  /usr/lib/python3/dist-packages/pysmbc-1.0.23.egg-info/top_level.txt
  /usr/share/system-config-printer/pysmb.py
  /usr/share/system-config-printer/__pycache__/pysmb.cpython-39.pyc
  </code></pre>
  <p>I have had a problem before where packages only install for python3 and I have to copy the folders to python2.7. I tried that for this without success.</p>
  <p>When I googled module smb, it comes up with samba. I installed the samba package but still nothing. Does anyone know how I can get smb module to python2.7?</p>