Python: setup.py egg_info failed with error code 1

后端 未结 3 1811
闹比i
闹比i 2021-01-21 03:34

I already updated my Python 2.7.x to 3.6 and still getting this message when I try to install any package. Examples: Flask, Kivy..

Command \"python setup.

相关标签:
3条回答
  • 2021-01-21 03:55

    I encountered a similar problem when installing suds. I solved it by first executing 'pip install client'.

    0 讨论(0)
  • 2021-01-21 04:05

    make sure it's up to date

    pip install --upgrade setuptools
    

    make sure module ez_setup isn't missing

    pip install ez_setup
    

    then try this

    pip install unroll 
    

    if it's still not working try this

    easy_install -U setuptools
    

    and then

    pip install unroll
    
    0 讨论(0)
  • 2021-01-21 04:13

    For me, the problem was solved with updating the pip itself:

    # X is the required Python number, e.g. 2 or 3 or 2.7 or 3.5 or 3.6, etc.
    sudo pythonX -m pip install --upgrade pip  
    
    0 讨论(0)
提交回复
热议问题