Install_requires must be a string or list of strings – Fix Qiskit Terra installation Issue: I got this error – “error in qiskit-terra setup command: ‘install_requires’ must be a string or list of strings...
pip freeze returns an error: Permission denied: hg Used pip install -e to install a python package. As I saw lot of sympy deprecation warning in the logs,...
ModuleNotFoundError: No module named ‘IPython’ [Fix] Question: I got this error “No module named IPython” while executing a Python program. The complete error message is below....
No module named Cython and Running cythonize failed [Fix] I have been using Websockify to allow the browser to connect to any application or service on a Linux machine....
Cannot compile Python.h – Websockify installation Error Question: While installing Websockify, I encountered the error: SystemError: Cannot compile Python.h. Below is the complete error #python3.6 setup.py install...
Create virtual environment for different Python versions using Conda In our earlier article, we had shown how to install multiple versions of python without breaking System tools and Create an...
How to fix Python Installation Error while loading shared libraries: libssl.so.1.0.0? [Solved] Question: Thanks to the guide on How to compile and install Python with OpenSSL Support. However, the installation failed with an...
Python Error – urllib2 URLError: urlopen error unknown url type: https [Solved] Question: I got this error urllib2.URLError: <urlopen error unknown url type: https> while installing packstack. After checking the program, I understood that...
How to Install Multiple Versions of Python (2.7 and 3.5) Without breaking System tools and Create Isolated environment using Virtualenv? Today, I’m going to tell you how to install Python 2.7 and 3.5 versions on CentOS 6.4. And we are...
How to Solve ImportError: No module named ConfigParser? Question: I was stuck with an error ImportError: No module named ConfigParser when I run packstack command in CentOS. Below is the complete...
ConfigParser Installation Error – python setup.py egg_info failed with error code 1 [Solved] Error: The packstack command failed with an error message as “ImportError: No module named ConfigParser”. So I tried installing ConfigParser...
Error: md5 validation failed for PyYAML-3.11.zip possible download problem? [Solution] Question: I was installing Packstack and was hit with an error “error: md5 validation failed for PyYAML-3.11.zip; possible download problem?“....
Python Installation Error – Sorry: UnicodeError: escapes not supported can’t load unicodedata module [Solved] Question: I was compiling Python from source and during ‘make install’, the installation failed with an error message as Sorry:...
Preug Command – SyntaxError: Missing parentheses in call to ‘print’ – Solution Question: I get SyntaxError: Missing parentheses in call to ‘print’ when I invoke/execute ‘preupg‘ command on my CentOS machine. What...
What is the Difference between Comma and ‘as’ in except statement for Python Question: I’m quite new to Python programming. I was trying to learn try, except statements in Python with a simple...
How to Compile and Install Python with OpenSSL Support? Your Python installation does not support SSL? You need to compile it again after editing Setup.dist file located in the...
How to Fix ImportError: No module named virtualenv in CentOS? I was trying to compile Letsencrypt package on my CentOS machine and landed up on this error message – ImportError: No...
[Linux]: How to upgrade Python from 2.4 to 2.7 or higher from Source Question: By default CentOS 6 comes with a Python version 2.4. For SQLMAP application I need to upgrade Python to version...
Python Installation Error – Ignoring ensurepip failure: pip 7.1.2 requires SSL/TLS [Solved] I was trying to compile Python from source – the steps involved are configure, make, make install and luckily everything...
How to Fix Python Fatal error: Py_Initialize: Unable to get the locale encoding [Solved] I had successfully compiled Python3.5 from source. But when I execute ‘python3.5‘ command, I get an error message as “Fatal Python error:...