Answer the question
In order to leave comments, you need to log in
How to fix scrapy installation error?
Good afternoon.
Now I put scrapy on my system (under windows 7 32bit) - but in the end I get an error.
What I did:
Twisted (via pip - latest version).
lxml (via pip - latest version).
OpenSSL - official site
setuptools.py - official site.
scrapy (via pip - latest version).
As a result, when calling scrapy through the terminal, or when trying to create a project:
mulano - the folder for the project, is located in Path.
C:\python35\python.exe C:/python35/mulano/scrappy1/testo.py
Traceback (most recent call last):
File "C:/python35/mulano/scrappy1/testo.py", line 3, in
import scrapy
File "C:\python35\lib\site-packages\scrapy\__init__.py", line 48, in
from scrapy.spiders import Spider
File "C:\python35\lib\site-packages\scrapy\spiders\__init__.py", line 10, in
from scrapy.http import Request
File "C:\python35\lib\site-packages \scrapy\http\__init__.py", line 15, in
from scrapy.http.response.html import HtmlResponse
File "C:\python35\lib\site-packages\scrapy\http\response\html.py", line 8 , in
from scrapy.http.response.text import TextResponse
File "C:\python35\lib\site-packages\scrapy\http\response\text.py", line 13, in
from scrapy.utils.response import get_base_url
File " C:\python35\lib\site-packages\scrapy\utils\response.py", line 12, in
from twisted.web import http
File "C:\python35\lib\site-packages\twisted\web\http.py", line 92, in
from twisted.internet import interfaces, reactor, protocol, address
File "C:\python35\lib\site-packages \twisted\internet\reactor.py", line 38, in
from twisted.internet import default
File "C:\python35\lib\site-packages\twisted\internet\default.py", line 56, in
install = _getInstallFunction( platform)
File "C:\python35\lib\site-packages\twisted\internet\default.py", line 50, in _getInstallFunction
from twisted.internet.selectreactor import install
File "C:\python35\lib\site-packages\ twisted\internet\selectreactor.py", line 18, in
from twisted.internet import posixbase
File "C:\python35\lib\site-packages\twisted\internet\posixbase.py", line 18, in
from twisted.internet import error, udp, tcp
File "C:\python35\lib\site-packages\twisted \internet\udp.py", line 53, in
from twisted.internet import base, defer, address
File "C:\python35\lib\site-packages\twisted\internet\base.py", line 23, in
from twisted .internet import fdesc, main, error, abstract, defer, threads
File "C:\python35\lib\site-packages\twisted\internet\defer.py", line 29, in
from twisted.python import lockfile, failure
File " C:\python35\lib\site-packages\twisted\python\lockfile.py", line 52, in
_open = file
NameError: name 'file'is not defined
Process finished with exit code 1
_______________
There are suspicions that it is needed for work, but this thing refuses to be installed due to a conflict in the puton version, although everything seems to be smooth. I read the comments, many also: sourceforge.net/projects/pywin32
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question