title: Import Error: No module called magic yet python-magic is installed
body: <p>I am trying to edit some code that uses python-magic but I get an <em>Import Error: No module called magic</em>. Before I looked around the Internet and found advise on installing python-magic using pip which I did. I installed  python-magic using pip install python-magic and also did pip install libarchive-c successfully.</p>
  
  <p>when I try to do the import on the python shell. I am able to successfully as below;
  <a href="https://i.stack.imgur.com/iWvmm.png" rel="noreferrer"><img src="https://i.stack.imgur.com/iWvmm.png" alt="sc1"></a></p>
  
  <p>But when I try to run code that uses this import statement I get an import error for missing magic module as below;
  <a href="https://i.stack.imgur.com/jOCkB.png" rel="noreferrer"><img src="https://i.stack.imgur.com/jOCkB.png" alt="sc2"></a></p>
  
  <p>If anyone knows what is happening. Please help.</p>