Python Index Page 6

Scrapy python: Issue with running scrapy spider from script: 'module' object has no attribute 'OP_NO_TLSv1_1'

Trying to run scrapy raises AttributeError: 'module' object has no attribute 'OP_NO_TLSv1_1', this article explain how to fix this problem.

Python Index Page 6

Ansible ec2: too long for Unix domain socke

In this article we explain hot to fix the error too long for Unix domain socket changing some configuration.

Python Index Page 6

Tensorflow 0.12.1 installation: no such package @zlib_archive- Error downloading -http:-zlib.net-zlib-1.2.8.tar.gz

While installing tensorflow the error no such package '@zlib_archive//': Error downloading [http://zlib.net/zlib-1.2.8.tar.gz] was raised.

Python Index Page 6

How to add Dependency Injector to a Python project?

Dependency injection (DI) is a technique whereby one object supplies the dependencies of another object. In this tutorial we explain how to add dependency injection to a python project.

Python Index Page 6

SOLVED: Error: pg_config executable not found.

Usually, when installing psycopg2 the error of pg_config command not found is returned when using a clean Linux installation.

Python Index Page 6

SOLVED on Ubuntu: fatal error: libxml/xpath.h: No such file or directory

Installing lxml for python requires system libs to install it successfully. Here we explain how to fix this issue.

Python Index Page 6

SOLVED: pip: command not found

Clean ubuntu installation does not provide pip command. To install pip follow this steps

Python Index Page 6

Create an application with websockets and flask

In this tutorial we are going to explain how to create a webscokets application with python using flask.

Python Index Page 6

Start a flask project from zero: Building a REST API

In this tutorial we explain how to build a REST API using flask. We try to create an environment similar to django (with management commands to migrate the database using flask).

Python Index Page 6

How to pass a variable as reference in python

How are arguments passed in python? In this tutorial we explain more details on how parameters are passed.