1

I am trying to install Scrapy. It is giving me an error code 1. Can anyone help me with this.

Command "c:\python27\python.exe -u -c "import setuptools, tokenize;__file__='c:\\users\\define~1\\appdata\\local\\temp\\pip-build-mycaf8\\lxml\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\define~1\appdata\local\temp\pip-8n6sxr-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\define~1\appdata\local\temp\pip-build-mycaf8\lxml

  • post the contents of c:\users\define~1\appdata\local\temp\pip-build-mycaf8\lxml – Xander Luciano Feb 02 '16 at 23:22
  • There is no folder called `define~1` inside `users` –  Feb 02 '16 at 23:27
  • Unfortunately, installing Scrapy on Windows is a little bit complicated. See this [ Stack Overflow answer](https://stackoverflow.com/questions/14765723/install-scrapy-on-win-7-64-bit) You will have to follow this guide: [How to Install Scrapy in 64-bit Windows 7](http://steamforge.net/wiki/index.php/How_to_Install_Scrapy_in_64-bit_Windows_7) – pp_ Feb 02 '16 at 23:22
  • It gives me the same error when I run Cmd as an administrator –  Feb 02 '16 at 23:25
  • Did you use `pip install Scrapy`? – pp_ Feb 02 '16 at 23:29
  • Yes that is exactly what I am using. I just tried `pip install lxml` and it gave me the same error. –  Feb 02 '16 at 23:33
  • Looks like it's not as easy. You'll have to use [this guide](http://steamforge.net/wiki/index.php/How_to_Install_Scrapy_in_64-bit_Windows_7). – pp_ Feb 02 '16 at 23:40

0 Answers0