title: ModuleNotFoundError: No module named 'binance.client'; 'binance' is not a package
body: <p>Hey i am new to both Stack Over Flow and Python, but wanting to learn and hoping someone can assist me here.. I am trying to develop a binance trading bot within python. Please see my script below:</p>
  
  <hr>
  
  <pre><code>from binance.client import Client
  
  class Trader:
      def __init__(self, file):
          self.connect(file)
  
      """ Creates Binance client """
      def connect(self,file):
          lines = [line.rstrip('\n') for line in open(file)]
          key = lines[0]
          secret = lines[1]
          self.client = Client(key, secret)
  
      """ Gets all account balances """
      def getBalances(self):
          prices = self.client.get_withdraw_history()
          return prices
  
  filename = 'API credentials.txt'
  trader = Trader(filename)
  balances = trader.getBalances()
  print(balances)
  </code></pre>
  
  <hr>
  
  <p>This script is giving me a module not found error please see full details below:</p>
  
  <pre><code>PyDev console: starting.
  Python 3.8.3 (tags/v3.8.3:6f8c832, May 13 2020, 22:20:19) [MSC v.1925 32 bit (Intel)] on win32
  runfile('C:/Users/ryanf/PycharmProjects/trading bot/trader.py', wdir='C:/Users/ryanf/PycharmProjects/trading bot')
  Traceback (most recent call last):
    File "&lt;input&gt;", line 1, in &lt;module&gt;
    File "C:\Program Files\JetBrains\PyCharm Edu 2020.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile
      pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
    File "C:\Program Files\JetBrains\PyCharm Edu 2020.1.1\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
      exec(compile(contents+"\n", file, 'exec'), glob, loc)
    File "C:/Users/ryanf/PycharmProjects/trading bot/trader.py", line 1, in &lt;module&gt;
      from binance.client import Client
    File "C:\Program Files\JetBrains\PyCharm Edu 2020.1.1\plugins\python-ce\helpers\pydev\_pydev_bundle\pydev_import_hook.py", line 21, in do_import
      module = self._system_import(name, *args, **kwargs)
  ModuleNotFoundError: No module named 'binance.client'; 'binance' is not a package
  </code></pre>
  
  <p>Hoping some one can offer some advice here, it would be very much appreciated.</p>