title: Python 2.7 import ConfigParser ModuleNotFoundError: No module named 'ConfigParser'
body: <p>so lately i have a project to make a cryptocurrency trading bot using Python and then i stumble across Cointrader Library for Python, so i use that library for helping me build this project, the exchanger used here was Poloniex, so i added Poloniex API Keys and Secrets but then when i run one of the comment that was showed buy the Cointrader Library which is to check balance (using cmd and typed in (cointrader balance) theres an error that i stumble upon, and i dont know how to fix it, ive been searching for the error for hours and still cant find it, i really need your help, thankyou community :)</p>
  
  <p>this are the Python code that i use</p>
  
  <pre><code>#!/usr/bin/env python
  # -*- coding: utf-8 -*-
  import os
  import logging
  import logging.config
  import six
  import ConfigParser
  
  DEFAULT_CONFIG = ".cointrader.ini"
  
  
  def get_path_to_config():
      env = os.getenv("HOME")
      return os.path.join(env, DEFAULT_CONFIG)
  
  
  class Config(object):
  
      def __init__(self, configfile=None):
  
          self.verbose = False
          self.market = "poloniex"
          self.api_key = None
          self.api_secret = None
  
          if configfile:
              logging.config.fileConfig(configfile.name)
              config = ConfigParser()
              config.readfp(configfile)
              exchange = config.get("DEFAULT", "exchange")
              self.api_key = config.get(exchange, "api_key")
              self.api_secret = config.get(exchange, "api_secret")
  
      @property
      def api(self):
          if not self.api_key or not self.api_secret:
              raise RuntimeError("API not configured")
          return self.api_key, self.api_secret
  </code></pre>
  
  <p>so that is the Python Code and this is the Error that i get when i run (cointrader balance) in cmd</p>
  
  <pre><code>C:\Users\user&gt;cointrader balance
  Traceback (most recent call last):
    File "c:\users\user\appdata\local\programs\python\python36\lib\runpy.py", 
  line 193, in _run_module_as_main
      "__main__", mod_spec)
    File "c:\users\user\appdata\local\programs\python\python36\lib\runpy.py", 
  line 85, in _run_code
      exec(code, run_globals)
    File 
  "C:\Users\user\AppData\Local\Programs\Python\Python36\Scripts\
  cointrader.exe\__main__.py", line 5, in &lt;module&gt;
    File "c:\users\user\appdata\local\programs\python\python36\lib\site-
  packages\cointrader\cli.py", line 7, in &lt;module&gt;
      from cointrader.config import Config, get_path_to_config
    File "c:\users\user\appdata\local\programs\python\python36\lib\site-
  packages\cointrader\config.py", line 7, in &lt;module&gt;
      import ConfigParser
  ModuleNotFoundError: No module named 'ConfigParser'
  
  C:\Users\user&gt;
  </code></pre>
  
  <p>that is the message that i get from CMD when i try to run "cointrader balance" which should show My Balance in Poloniex... please i really need your guys help, i really dont know what the problem is, you can check the cointrader library here: <a href="https://pypi.python.org/pypi/cointrader" rel="nofollow noreferrer">https://pypi.python.org/pypi/cointrader</a></p>
  
  <p>thankyou so much for your help :-)</p>