ARMmbed / yotta

DEPRECATED: yotta build; better software
Apache License 2.0
163 stars 63 forks source link

python setup.py egg_info" failed with error #839

Closed ccrov closed 6 years ago

ccrov commented 6 years ago

when i use pip install yotta;but it can not install

Collecting project_generator<0.9.0,>=0.8.0 (from valinor<1.0,>=0.0.0->yotta) Using cached https://files.pythonhosted.org/packages/b4/bb/91ad20d17485d01829453767323dd2d13b325a0c7154bf5f8f375cbaac1e/project_generator-0.8.16.zip Complete output from command python setup.py egg_info: Traceback (most recent call last): File "", line 1, in File "/private/var/folders/rc/78dl9vfd3fd0ppwjl0zjlph00000gn/T/pip-install-gq_hc0/project-generator/setup.py", line 18, in from pip.req import parse_requirements ImportError: No module named req

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/rc/78dl9vfd3fd0ppwjl0zjlph00000gn/T/pip-install-gq_hc0/project-generator/ allans-MacBook-Air:pxt allan$

0xc0170 commented 6 years ago

This was reported earlier. Pip 10 update broke some modules, this is the case. Please install project generator 0.9.11. That will fix the issue.

0xc0170 commented 6 years ago

By default, via valinor, you get version 0.8.x. We might want to update that to resolve this

Update: I rather cherry pick to the older version the fix

0xc0170 commented 6 years ago

Duplicate #835, please refer to the original one. I published the fix

This can be closed

ccrov commented 6 years ago

ok thank you

thegecko commented 6 years ago

Thanks @0xc0170