Command python setup py egg info failed with error code 1 in tmp pip-build-8nhf9w2t grpcio

+1 vote

Hi Guys,

I am trying to install tensorflow in my docker. But it shows me the below error.

  Using cached https://files.pythonhosted.org/packages/f1/23/62d3e82fa4c505f3195315c8a774b2e656b556d174329aa98edb829e48bc/grpcio-1.29.0.tar.gz
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-f3unmpsj/grpcio/setup.py", line 191, in <module>
        if check_linker_need_libatomic():
      File "/tmp/pip-build-f3unmpsj/grpcio/setup.py", line 152, in check_linker_need_libatomic
        stderr=PIPE)
      File "/usr/lib64/python3.6/subprocess.py", line 729, in __init__
        restore_signals, start_new_session)
      File "/usr/lib64/python3.6/subprocess.py", line 1364, in _execute_child
        raise child_exception_type(errno_num, err_msg, err_filename)
    FileNotFoundError: [Errno 2] No such file or directory: 'cc': 'cc'
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-f3unmpsj/grpcio/

May 16, 2020 in Machine Learning by akhtar
• 38,230 points
31,746 views

1 answer to this question.

+1 vote

Hi@akhtar,

You may get this error because of older version of pip. You can upgrade your pip by using the below command.

$ pip3 install --upgrade setuptools
$ pip3 install --upgrade pip

Hope this will help!

If you need to know more about Python, join Python certification course online today.

Thanks!

answered May 16, 2020 by MD
• 95,440 points
Thanks Man, I looked all over the internet and you had the line I needed ! Great Stuff !
This worked! Thanks much
Thank you man. Worked like magic!
The latest version of setuptools is 49.6.0  wich can install Mask_RCNN  from

https://github.com/matterport/Mask_RCNN.git
Попробовал обновить pip - не помогло, просто пришлось его переустановить и снова ползать по интернету. Windows XP 32bit
Здравствуй,

Вы решаете свою проблему?
Thanks this worked for me.
it works, magic!

Related Questions In Machine Learning

0 votes
1 answer
0 votes
11 answers
0 votes
1 answer

Equivalent for easy_install & pip

For pip you can check the User ...READ MORE

answered Nov 28, 2018 in Python by SDeb
• 13,300 points
860 views
0 votes
2 answers
0 votes
1 answer

error: command 'gcc' failed with exit status 1

Hi@akhtar, I don't know which steps you followed. ...READ MORE

answered Sep 7, 2020 in Machine Learning by MD
• 95,440 points
4,613 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP