======================================================================================================================================================================================================================= ############################################### With Previous version PIP Getting these error: ############################################### [root@instance-1 multivisor]# pip install . Processing /root/multivisor Requirement already satisfied: flask in /usr/lib64/python2.7/site-packages (from multivisor==5.0.2) (1.0.3) Requirement already satisfied: gevent in /usr/lib64/python2.7/site-packages (from multivisor==5.0.2) (1.4.0) Requirement already satisfied: supervisor in /usr/lib/python2.7/site-packages (from multivisor==5.0.2) (3.1.4) Requirement already satisfied: zerorpc in /usr/lib/python2.7/site-packages (from multivisor==5.0.2) (0.6.1) Requirement already satisfied: louie in /usr/lib64/python2.7/site-packages (from multivisor==5.0.2) (1.1) Collecting maya (from multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/1d/56/789ebf410acc1491bf4078ef57a7a277b42c0b18f43e17007bfb6c1caaf3/maya-0.6.1-py2.py3-none-any.whl Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (from multivisor==5.0.2) (2.6.0) Collecting prompt_toolkit<2.1.0,>=2.0.0 (from multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/c8/ab/10d2c114828bd20ca0d757acee37ab5a7bae588139739b24d6cd3f45f8de/prompt_toolkit-2.0.9-py2-none-any.whl Requirement already satisfied: Werkzeug>=0.14 in /usr/lib/python2.7/site-packages (from flask->multivisor==5.0.2) (0.15.4) Requirement already satisfied: click>=5.1 in /usr/lib64/python2.7/site-packages (from flask->multivisor==5.0.2) (7.0) Requirement already satisfied: itsdangerous>=0.24 in /usr/lib/python2.7/site-packages (from flask->multivisor==5.0.2) (1.1.0) Requirement already satisfied: Jinja2>=2.10 in /usr/lib/python2.7/site-packages (from flask->multivisor==5.0.2) (2.10.1) Requirement already satisfied: greenlet>=0.4.14; platform_python_implementation == "CPython" in /usr/lib64/python2.7/site-packages (from gevent->multivisor==5.0.2) (0.4.15) Requirement already satisfied: meld3>=0.6.5 in /usr/lib64/python2.7/site-packages (from supervisor->multivisor==5.0.2) (0.6.10) Requirement already satisfied: future in /usr/lib/python2.7/site-packages (from zerorpc->multivisor==5.0.2) (0.17.1) Requirement already satisfied: pyzmq>=13.1.0 in /usr/lib64/python2.7/site-packages (from zerorpc->multivisor==5.0.2) (18.0.1) Requirement already satisfied: msgpack-python>=0.4.0 in /usr/lib64/python2.7/site-packages (from zerorpc->multivisor==5.0.2) (0.5.6) Requirement already satisfied: nose>=0.8.3 in /usr/lib/python2.7/site-packages (from louie->multivisor==5.0.2) (1.3.7) Requirement already satisfied: snaptime in /usr/lib/python2.7/site-packages (from maya->multivisor==5.0.2) (0.2.4) Collecting dateparser>=0.7.0 (from maya->multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/a0/30/5cb8bb214c0b111fb59137c2e19c636a136209dbe45e1c3e9d63f7a76c1a/dateparser-0.7.1-py2.py3-none-any.whl Requirement already satisfied: pytz in /usr/lib/python2.7/site-packages (from maya->multivisor==5.0.2) (2019.1) Collecting humanize (from maya->multivisor==5.0.2) Requirement already satisfied: tzlocal in /usr/lib/python2.7/site-packages (from maya->multivisor==5.0.2) (1.5.1) Requirement already satisfied: pendulum>=2.0.2 in /usr/lib64/python2.7/site-packages (from maya->multivisor==5.0.2) (2.0.4) Collecting wcwidth (from prompt_toolkit<2.1.0,>=2.0.0->multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (from prompt_toolkit<2.1.0,>=2.0.0->multivisor==5.0.2) (1.9.0) Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib64/python2.7/site-packages (from Jinja2>=2.10->flask->multivisor==5.0.2) (1.1.1) Requirement already satisfied: python-dateutil in /usr/lib/python2.7/site-packages (from snaptime->maya->multivisor==5.0.2) (2.8.0) Collecting regex (from dateparser>=0.7.0->maya->multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/29/a4/858a23347cd5e5f238524b5a0a9d52e96aee2ed7ab37534134314a767c87/regex-2019.06.02.tar.gz Requirement already satisfied: pytzdata>=2018.3 in /usr/lib/python2.7/site-packages (from pendulum>=2.0.2->maya->multivisor==5.0.2) (2019.1) Requirement already satisfied: typing<4.0,>=3.6; python_version < "3.5" in /usr/lib/python2.7/site-packages (from pendulum>=2.0.2->maya->multivisor==5.0.2) (3.6.6) Building wheels for collected packages: multivisor, regex Running setup.py bdist_wheel for multivisor ... done Stored in directory: /tmp/pip-ephem-wheel-cache-D5jpDu/wheels/0a/96/f0/ee9c760fb8ac316cd22666a8080462e04a30b3ab6486f8ff9e Running setup.py bdist_wheel for regex ... error Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-7dhSR8/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-X3tpSd --python-tag cp27: BASE_DIR is /tmp/pip-install-7dhSR8/regex /usr/lib/python2.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '2019.06.02' to '2019.6.2' normalized_version, running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/regex copying regex_2/regex/__init__.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/regex.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/_regex_core.py -> build/lib.linux-x86_64-2.7/regex creating build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/__init__.py -> build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/test_regex.py -> build/lib.linux-x86_64-2.7/regex/test running build_ext building 'regex._regex' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/regex_2 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-x86_64-2.7/regex_2/_regex.o unable to execute gcc: No such file or directory error: command 'gcc' failed with exit status 1 ---------------------------------------- Failed building wheel for regex Running setup.py clean for regex Successfully built multivisor Failed to build regex Installing collected packages: regex, dateparser, humanize, maya, wcwidth, prompt-toolkit, multivisor Running setup.py install for regex ... error Complete output from command /usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-7dhSR8/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-w4ipnm/install-record.txt --single-version-externally-managed --compile: BASE_DIR is /tmp/pip-install-7dhSR8/regex /usr/lib/python2.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '2019.06.02' to '2019.6.2' normalized_version, running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/regex copying regex_2/regex/__init__.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/regex.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/_regex_core.py -> build/lib.linux-x86_64-2.7/regex creating build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/__init__.py -> build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/test_regex.py -> build/lib.linux-x86_64-2.7/regex/test running build_ext building 'regex._regex' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/regex_2 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-x86_64-2.7/regex_2/_regex.o unable to execute gcc: No such file or directory error: command 'gcc' failed with exit status 1 ---------------------------------------- Command "/usr/bin/python2 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-7dhSR8/regex/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-w4ipnm/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-7dhSR8/regex/ You are using pip version 18.0, however version 19.1.1 is available. You should consider upgrading via the 'pip install --upgrade pip' command. ======================================================================================================================================================================================================================= ############################################### As per suggession i have updgraded PIP ############################################### [root@instance-1 multivisor]# pip install --upgrade pip Collecting pip Using cached https://files.pythonhosted.org/packages/5c/e0/be401c003291b56efc55aeba6a80ab790d3d4cece2778288d65323009420/pip-19.1.1-py2.py3-none-any.whl Installing collected packages: pip Found existing installation: pip 18.0 Uninstalling pip-18.0: Successfully uninstalled pip-18.0 Successfully installed pip-19.1.1 ======================================================================================================================================================================================================================= ############################################### With Upgraded version PIP Getting these error: ############################################### [root@instance-1 multivisor]# pip install . DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. Processing /root/multivisor Requirement already satisfied: flask in /usr/lib64/python2.7/site-packages (from multivisor==5.0.2) (1.0.3) Requirement already satisfied: gevent in /usr/lib64/python2.7/site-packages (from multivisor==5.0.2) (1.4.0) Requirement already satisfied: supervisor in /usr/lib/python2.7/site-packages (from multivisor==5.0.2) (3.1.4) Requirement already satisfied: zerorpc in /usr/lib/python2.7/site-packages (from multivisor==5.0.2) (0.6.1) Requirement already satisfied: louie in /usr/lib64/python2.7/site-packages (from multivisor==5.0.2) (1.1) Collecting maya (from multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/1d/56/789ebf410acc1491bf4078ef57a7a277b42c0b18f43e17007bfb6c1caaf3/maya-0.6.1-py2.py3-none-any.whl Requirement already satisfied: requests in /usr/lib/python2.7/site-packages (from multivisor==5.0.2) (2.6.0) Collecting prompt_toolkit<2.1.0,>=2.0.0 (from multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/c8/ab/10d2c114828bd20ca0d757acee37ab5a7bae588139739b24d6cd3f45f8de/prompt_toolkit-2.0.9-py2-none-any.whl Requirement already satisfied: Werkzeug>=0.14 in /usr/lib/python2.7/site-packages (from flask->multivisor==5.0.2) (0.15.4) Requirement already satisfied: click>=5.1 in /usr/lib64/python2.7/site-packages (from flask->multivisor==5.0.2) (7.0) Requirement already satisfied: itsdangerous>=0.24 in /usr/lib/python2.7/site-packages (from flask->multivisor==5.0.2) (1.1.0) Requirement already satisfied: Jinja2>=2.10 in /usr/lib/python2.7/site-packages (from flask->multivisor==5.0.2) (2.10.1) Requirement already satisfied: greenlet>=0.4.14; platform_python_implementation == "CPython" in /usr/lib64/python2.7/site-packages (from gevent->multivisor==5.0.2) (0.4.15) Requirement already satisfied: meld3>=0.6.5 in /usr/lib64/python2.7/site-packages (from supervisor->multivisor==5.0.2) (0.6.10) Requirement already satisfied: future in /usr/lib/python2.7/site-packages (from zerorpc->multivisor==5.0.2) (0.17.1) Requirement already satisfied: pyzmq>=13.1.0 in /usr/lib64/python2.7/site-packages (from zerorpc->multivisor==5.0.2) (18.0.1) Requirement already satisfied: msgpack-python>=0.4.0 in /usr/lib64/python2.7/site-packages (from zerorpc->multivisor==5.0.2) (0.5.6) Requirement already satisfied: nose>=0.8.3 in /usr/lib/python2.7/site-packages (from louie->multivisor==5.0.2) (1.3.7) Requirement already satisfied: snaptime in /usr/lib/python2.7/site-packages (from maya->multivisor==5.0.2) (0.2.4) Collecting dateparser>=0.7.0 (from maya->multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/a0/30/5cb8bb214c0b111fb59137c2e19c636a136209dbe45e1c3e9d63f7a76c1a/dateparser-0.7.1-py2.py3-none-any.whl Requirement already satisfied: pytz in /usr/lib/python2.7/site-packages (from maya->multivisor==5.0.2) (2019.1) Collecting humanize (from maya->multivisor==5.0.2) Requirement already satisfied: tzlocal in /usr/lib/python2.7/site-packages (from maya->multivisor==5.0.2) (1.5.1) Requirement already satisfied: pendulum>=2.0.2 in /usr/lib64/python2.7/site-packages (from maya->multivisor==5.0.2) (2.0.4) Collecting wcwidth (from prompt_toolkit<2.1.0,>=2.0.0->multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/7e/9f/526a6947247599b084ee5232e4f9190a38f398d7300d866af3ab571a5bfe/wcwidth-0.1.7-py2.py3-none-any.whl Requirement already satisfied: six>=1.9.0 in /usr/lib/python2.7/site-packages (from prompt_toolkit<2.1.0,>=2.0.0->multivisor==5.0.2) (1.9.0) Requirement already satisfied: MarkupSafe>=0.23 in /usr/lib64/python2.7/site-packages (from Jinja2>=2.10->flask->multivisor==5.0.2) (1.1.1) Requirement already satisfied: python-dateutil in /usr/lib/python2.7/site-packages (from snaptime->maya->multivisor==5.0.2) (2.8.0) Collecting regex (from dateparser>=0.7.0->maya->multivisor==5.0.2) Using cached https://files.pythonhosted.org/packages/29/a4/858a23347cd5e5f238524b5a0a9d52e96aee2ed7ab37534134314a767c87/regex-2019.06.02.tar.gz Requirement already satisfied: pytzdata>=2018.3 in /usr/lib/python2.7/site-packages (from pendulum>=2.0.2->maya->multivisor==5.0.2) (2019.1) Requirement already satisfied: typing<4.0,>=3.6; python_version < "3.5" in /usr/lib/python2.7/site-packages (from pendulum>=2.0.2->maya->multivisor==5.0.2) (3.6.6) Building wheels for collected packages: multivisor, regex Building wheel for multivisor (setup.py) ... done Stored in directory: /tmp/pip-ephem-wheel-cache-xxxBC1/wheels/0a/96/f0/ee9c760fb8ac316cd22666a8080462e04a30b3ab6486f8ff9e Building wheel for regex (setup.py) ... error ERROR: Complete output from command /usr/bin/python2 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-QGr6u6/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-e29E94 --python-tag cp27: ERROR: BASE_DIR is /tmp/pip-install-QGr6u6/regex /usr/lib/python2.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '2019.06.02' to '2019.6.2' normalized_version, running bdist_wheel running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/regex copying regex_2/regex/__init__.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/regex.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/_regex_core.py -> build/lib.linux-x86_64-2.7/regex creating build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/__init__.py -> build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/test_regex.py -> build/lib.linux-x86_64-2.7/regex/test running build_ext building 'regex._regex' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/regex_2 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-x86_64-2.7/regex_2/_regex.o unable to execute gcc: No such file or directory error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Failed building wheel for regex Running setup.py clean for regex Successfully built multivisor Failed to build regex Installing collected packages: regex, dateparser, humanize, maya, wcwidth, prompt-toolkit, multivisor Running setup.py install for regex ... error ERROR: Complete output from command /usr/bin/python2 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-QGr6u6/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-yhpzVC/install-record.txt --single-version-externally-managed --compile: ERROR: BASE_DIR is /tmp/pip-install-QGr6u6/regex /usr/lib/python2.7/site-packages/setuptools/dist.py:472: UserWarning: Normalizing '2019.06.02' to '2019.6.2' normalized_version, running install running build running build_py creating build creating build/lib.linux-x86_64-2.7 creating build/lib.linux-x86_64-2.7/regex copying regex_2/regex/__init__.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/regex.py -> build/lib.linux-x86_64-2.7/regex copying regex_2/regex/_regex_core.py -> build/lib.linux-x86_64-2.7/regex creating build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/__init__.py -> build/lib.linux-x86_64-2.7/regex/test copying regex_2/regex/test/test_regex.py -> build/lib.linux-x86_64-2.7/regex/test running build_ext building 'regex._regex' extension creating build/temp.linux-x86_64-2.7 creating build/temp.linux-x86_64-2.7/regex_2 gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c regex_2/_regex.c -o build/temp.linux-x86_64-2.7/regex_2/_regex.o unable to execute gcc: No such file or directory error: command 'gcc' failed with exit status 1 ---------------------------------------- ERROR: Command "/usr/bin/python2 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-QGr6u6/regex/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-yhpzVC/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-QGr6u6/regex/ [root@instance-1 multivisor]# =======================================================================================================================================================================================================================