Multiple communication channels with Twisted Python

I am currently researching the Twisted framework as a way of implementing a network-based backup application, and I would like to achieve something that I cannot find any examples of on the net. I...

Installatio python-twisted 10.2 on Ubuntu

I have problem with installation python-twisted package on Ubuntu. When I try sudo apt-get install python-twisted some errors occur Processing triggers for python-twisted-core ... Processing...

exceptions.TypeError: 'str' object is not callable when i select data from sqlite3 with python

Here call this method. item_date = item['time_y_m_d'] self.sqlite_manger._select_table_by_name(item_date) Here the table_name is Chinese characters and encoded with "utf-8". def...

Django Help - Basic Setup and Basic Functionality

Done my due diligence and still having issues. Here is my goal. I'm using Django with Python to create a website with some custom coded features. The problem I'm having is this. I've tried...

Unable to install Twisted on CentOS server

I've been searching the web for ways to solve this issue but nothing works. I have a web server with CentOS 6.7 and I've successfully installed python 2.7.10 on it (it comes with version 2.6.6) I...

Twisted plugin error

A have created a dead simple twisted application that starts a TCP protocol and echo out what you type in STDIN. I am now trying to create a twistd plugin to be able to run my application this...

Python async webservers

At work, we use Python 2.7 for all our micro-services. Most of our services have very little business logic but enough not to use all ready made plug n play framework. So mostly it's REST/CRUD for...

Error when Installing scrapy from zsh

I had Python Scrapy on my Mac and everything was Ok til I update Bash to Zsh, Now I tried to install it with pip install scrapy but faced with pip install Scrapy Collecting Scrapy Downloading...

cl.exe' failed: No such file or directory when installing Scrapy

I'm trying to install Scrapy framework. After installing all dependent libraries and start installing setup.py file, I get this error message: "cl.exe' failed: No such file or directory" I'm...

ImportError: No module named cqlengine, but worked on python command

I am new in python. I have a scrapy project. I am using conda virtual environment where I have written a pipeline class like this: from cassandra.cqlengine import connection from...

How to upgrade scrapy

I am trying to upgrade scrapy to the latest version ( 1.4 ) but I get this error: # sudo pip install --upgrade scrapy Downloading/unpacking scrapy from...

Error while installing Django-channels on Python 3.5 on Windows

I'm also getting the same error while installing Twisted. Here's version info: Django : 1.9 Python : 3.5 Trying to install latest version of Django-channels Command used : pip install...

scrapy - [twisted] NameError: name 'connect' is not defined

I am trying to use scrapy on Ubuntu 16 with python 3.6. When I run "scrapy crawl mySpiderName", it shows an error as: 2018-06-17 11:18:50 [scrapy.utils.log] INFO: Scrapy 1.5.0 started (bot:...

mysql.connector.errors.InterfaceError: 2003: Can't connect to MySQL server on '127.0.0.1:3306' on Scrapinghub

I try to run my spider on scrapinghub, and run it getting an error Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/twisted/internet/defer.py", line 1418, in...

How to define a rule in scrapy which crawls the website link recursively?

I am trying to build an application which uses scrapy to crawls a website to get all the links which are on homepage plus the links which can be reached using the homepage link. But the problem is...

How to get rid of duplicate links while crawling a website using python scrapy?

I have the following code which crawls the given website address but the problem is that it duplicates the URL while crawling. I need unique and complete list of URL which can be reached from home...

Pipenv can't install Twisted on Python 3.8

I originally ran into this issue using Pipenv to install the news-please package, but I've narrowed the issue down specifically to the combination of the Twisted package and Python 3.8. This...

Impossible to install twisted ( to get scrapy)

everything in the title I'm trying to install scrapy and I get this error when it comes to install twisted. I have no idea how to fix that. I tried to uninstall Python which I didn't manage to do...

Error with installing chatterbot on Python

Whenever I try to install ChatterBot using pip install ChatterBot it always gives an error on this part: Collecting spacy<2.2,>=2.1 Using cached spacy-2.1.9.tar.gz (30.7 MB) Installing build...