Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"python setup.py egg_info" failed with error code 1

Tags:

pip

when trying to install flask-mysql i get the following error msg:

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/2n/pv5q13p10dz6rg8qlh3vhxv00000gn/T/pip-build-bh92ufyu/MySQL-python

like image 460
A. Doe Avatar asked Aug 18 '15 09:08

A. Doe


People also ask

What is pip install unroll?

The pip install unroll error is raised possibly as your setuptools are not installed. For proper installation, you can follow the installation instructions from the PyPI website. But first, check out the version of Python which you are running.

How do I install Python setuptools?

Follow the below steps to install the Setuptools package on Linux using the setup.py file: Step 1: Download the latest source package of Setuptools for Python3 from the website. Step 3: Go to the setuptools-60.5. 0 folder and enter the following command to install the package.


2 Answers

I met the same problem when install matplotlib and following command workd:

pip install --upgrade setuptools

pip install ez_setup

Ref here

like image 144
shellbye Avatar answered Oct 25 '22 16:10

shellbye


Worked for me:

easy_install distribute
pip install --upgrade distribute
like image 41
Philip Shurpik Avatar answered Oct 25 '22 14:10

Philip Shurpik