Tag: python

  • Activate.ps1 cannot be loaded because running scripts is disabled on this system

    Activate.ps1 cannot be loaded because running scripts is disabled on this system

    We encountered with this error “Activate.ps1 cannot be loaded because running scripts is disabled on this system” while activating the Python virtual environment in Windows system. The solution is quite simple and reason of this error is due to the Windows Execution policy. In our system, the error was like this. In the below section, […]

  • Python headers are required to build Mercurial but weren’t found

    Python headers are required to build Mercurial but weren’t found

    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 […]

  • Remove python module installed from source code on Linux

    Remove python module installed from source code on Linux

    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 […]

  • Install lxml by using pip command on Ubuntu 14.04 LTS

    Install lxml by using pip command on Ubuntu 14.04 LTS

    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 […]

  • How to install pip on CentOS / RHEL / Ubuntu / Debian

    How to install pip on CentOS / RHEL / Ubuntu / Debian

    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

    error command ‘gcc’ failed with exit status 1 in ubuntu

    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.