Size: a a a

2020 December 02

DS

Doctor Scorpiob in Scrapy
it happend only when i try to install scrapy, can you help me understand better?
источник

AR

Andrey Rahmatullin in Scrapy
no, it happens when you install twisted.
источник

AR

Andrey Rahmatullin in Scrapy
as is clear from your log error
источник

DS

Doctor Scorpiob in Scrapy
Andrey Rahmatullin
no, it happens when you install twisted.
when i write pip install scrapy it automatically install this too
источник

AR

Andrey Rahmatullin in Scrapy
yes, and this is not a problem with scrapy itself by with some of its deps.
источник

AR

Andrey Rahmatullin in Scrapy
to "understand better" you need to read the actual error
источник

G

Georgiy in Scrapy
Doctor Scorpiob
Hi Everyone,
can i get your help please?

I am using *windows 10, VSCode, python 3.9*

I have installed and activated venv , in this venv I'm trying to  install scrapy using:
*pip install scrapy*

and I'm getting an error regards to:
"twisted"

"ERROR: Command errored out with exit status 1: 'c:\users\{USERNAME}\{ProjectFolder}\venv\venv\scripts\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\{Username}\\AppData\\Local\\Temp\\pip-install-ysjoh1_m\\twisted_9b78e1ea4a534d6391e33ac2db03e2b8\\setup.py'"'"'; file='"'"'C:\\Users\\{Username}\\AppData\\Local\\Temp\\pip-install-ysjoh1_m\\twisted_9b78e1ea4a534d6391e33ac2db03e2b8\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\{Username}\AppData\Local\Temp\pip-record-2ag6uk4i\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\users\{Username}\{ProjectFoler}\venv\venv\include\site\python3.9\Twisted' Check the logs for full command output.


Can anyone help with that?
This is common issue for Windows.
If You can't use conda, try to isntall twisted from .whl here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
источник

DS

Doctor Scorpiob in Scrapy
i did it, but i couldn't find any solution to that and its one of scrapy deps like you said.

where can i find this logs? i didnt wrote any python file yet
источник

AR

Andrey Rahmatullin in Scrapy
in your terminal output, duh
источник

МС

Михаил Синегубов... in Scrapy
источник

DS

Doctor Scorpiob in Scrapy
Georgiy
This is common issue for Windows.
If You can't use conda, try to isntall twisted from .whl here:
https://www.lfd.uci.edu/~gohlke/pythonlibs/
thank you
источник

DS

Doctor Scorpiob in Scrapy
thank you
источник

DS

Doctor Scorpiob in Scrapy
where should i save the file?
источник

DS

Doctor Scorpiob in Scrapy
i saved it in the dir im running pip install twistet but getting error
источник

МС

Михаил Синегубов... in Scrapy
try the x32 library
источник

DS

Doctor Scorpiob in Scrapy
i deleted and did it again and it works, thank alot !
источник

DS

Doctor Scorpiob in Scrapy
you helped me really much im debugging it 3 hours
источник

ПС

Павел Стельмах... in Scrapy
Daniil Okhlopkov
Инста не через веб парсится) а через эмуляцию андройд девайса. И то публичные репо тебе не помогут - нужно самому сниффить девайс или платить Деньги за этот сервис)
Спасибо за разочарование)). Посоветуешь где почитать?
источник

DO

Daniil Okhlopkov in Scrapy
Павел Стельмах
Спасибо за разочарование)). Посоветуешь где почитать?
документацию к mitmproxy 🙂
источник

ПС

Павел Стельмах... in Scrapy
Ещё раз, спасибо.)
источник