While installing Readthedocs package inside Virtual Environement on Ubuntu 14.04 LTS , I found this error “Python headers are required to build Mercurial but weren’t found in /usr/include/python2.7/Python.h” . It seems the dependency issue with header files for python. So what should be fix for this issue. It is very simple, we have to installed […]
The post describe about how to remove python module installed from source code on Linux. We use python setup.py install command to install the python module from source code. The related files copied to various path. Hence we will target these files copied in various path You must have extracted(untar) source code of that particular […]
lxml is a python library used for processing XML and HTML.In this post we will learn, how to install lxml by using pip command. We will use pip to install lxml on Ubuntu 14.04 LTS. It is important to install dependency prior using pip command to install lxml Install the dependencies. sudo apt-get install libxml2-dev […]
PIP is the alternate python package installer. pip is famous for easily managing the python based packages. As well as, with the help of pip you can also install the package of particular version. Most importantly pip has a feature to manage full lists of packages and corresponding version numbers, possible through a “requirements” file. […]
error command ‘gcc’ failed with exit status 1 in ubuntu While installing the python module I got this error ,”error command ‘gcc’ failed with exit status 1 ” To solve this issue install python-dev package sudo apt-get install python-dev Now recheck,I hope the problem is solved now.
While installing uwsgi for Django with Nginx pip install uwsgi . I got this error, “plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory”. Error: *** uWSGI compiling embedded plugins *** [gcc -pthread] plugins/python/python_plugin.o In file included from plugins/python/python_plugin.c:1:0: plugins/python/uwsgi_python.h:2:20: fatal error: Python.h: No such file or directory compilation terminated. Solution: To fix this issue, […]
How to list all installed python modules To know what are the python modules installed in system.Use the given below command. Login into system. Type the command python to get the python prompt # python Now you will get the python prompt like this >>>, type the command help(“modules”) and press enter key >>> help(“modules”) […]