title: ImportError : No Module named scapy.all
body: <p>I've tried to run this code using Pycharm in VirtualMachine Kali Linux and failed.</p>
  <p>How to import scapy? I've also tried adding scapy to <em>file &gt; settings &gt; ProjectInterpreter</em> in Pycharm but it still doesn't work.</p>
  <p>I'm sure I did install scapy using <code>pip install scapy</code>. What's the issue now?</p>
  <p><img src="https://i.stack.imgur.com/OmhE5.png" alt="Here the image of my screenshot" /></p>
  <pre class="lang-py prettyprint-override"><code>from scapy.all import *
          
  def scan(ip):
      scapy.arping(ip)        
  
  scan(&quot;10.0.2.1&quot;)
  </code></pre>