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
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
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
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 pip3 / pip2 In Linux
In this tutorial, we will learn how to install pip3 / pip2 on Rocky/ RHEL/Ubuntu/Debian/CentOS Linux Operating System. After installation method, you will get some pip command examples. It will help you to kickstart on pip command. In this post we have covered both pip3 and pip2 installation method. We have been maintaining this post […]
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.