Online Tutorials & Training Materials | STechies.com
Register Login
Advertisement

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

|| 0

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

Reasons why this error occurred:

This is an error of operating systems permission

This is a Windows OS or operating system issue/ Module Installation Issue, which is raised because of permission error, where as user understand as a bug, which is again a misleading this issue. Where pip is not allowed to write to the specific directory/ respective directories.

This is because your computer uses both Python2.7+ and 3.5+ versions. The pip will use the 2.7+ version by default, while some libraries rely on the 3.5+ version.
At this time only need to specify to use 3.5+ corresponding pip

Error might indicate you are not using python 2.7. It looks like a typical error when running Python 2 code on Python 3. Arches does NOT work with anything else than Python 2.7.x

How to fix this error:

This is an error of operating systems permission you can try any of following alternative different 4 solutions.  

  1. We can try some of solutions either making some of changes in the path to concerned directory or we can try some of lower versions3.5/2.0.... 
  2. Because of Computer uses both Python2.7+ and 3.5+ versions. The pip will use the 2.7+ version by default, while some libraries rely on the 3.5+ version.
    At this time only need to specify to use 3.5+ corresponding pip
    sudo python3 -m pip install aio http version. 
  3. Sometimes you uninstall the sudo then your problem solved.
  4. Using the following command
     ./env/bin/easy_install mysql-python ./env/bin/pip install -e ./apps/frappe ./env/bin/pip install -e ./apps/erpnext ./env/bin/pip install -e ./apps/shopping_cart 


Advertisement
Advertisement
Advertisement