title: Trying to get Scrapy to work with Pycharm in Windows
body: <p>I am migrating to Windows, and am desiring to get Scrapy to work with Pycharm.  What I have tried adding:</p>
  
  <pre><code>from scrapy.cmdline import execute
  </code></pre>
  
  <p>As well as changing - <code>/Library/Python/2.7/site-packages/scrapy/cmdline.py.  It did not like this.</code></p>
  
  <p>My output looks like this-</p>
  
  <p><a href="https://imgur.com/a/De2jH" rel="nofollow noreferrer">https://imgur.com/a/De2jH</a> </p>
  
  <p>I have also tried:</p>
  
  <pre><code>from scrapy import cmdline    
  cmdline.execute("scrapy crawl spider".split())
  </code></pre>
  
  <p>As well as setting the "script" parameter to <code>/path_to_project_env/env/bin/scrapy</code></p>
  
  <p>I get:
  "</p>
  
  <pre><code>*] beginning main thread
  Scrapy 1.4.0 - no active project
  </code></pre>
  
  <p>Unknown command: crawl</p>
  
  <p>Use "scrapy" to see available commands</p>
  
  <p>Process finished with exit code 2
  " 
  Though nothing is executed, no website is scraped.  </p>
  
  <p>I can run scrapy fine in CMD and in Linux.</p>
  
  <p>It does not want to recognise Scrapy with Windows.</p>