rabbitmq-c icon indicating copy to clipboard operation
rabbitmq-c copied to clipboard

no such file or directory: '/tmp/pip-build-9ucshgwr/librabbitmq/rabbitmq-c'

Open eddyojb88 opened this issue 3 years ago • 1 comments

I go to install and get the following error:

  Failed building wheel for librabbitmq
  Running setup.py clean for librabbitmq
Failed to build librabbitmq
Installing collected packages: vine, amqp, librabbitmq
  Running setup.py install for librabbitmq: started
    Running setup.py install for librabbitmq: finished with status 'error'
    Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-9ucshgwr/librabbitmq/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-twua5t_4-record/install-record.txt --single-version-externally-managed --compile:
    /tmp/pip-build-9ucshgwr/librabbitmq/setup.py:167: DeprecationWarning: 'U' mode is deprecated
      long_description = open(os.path.join(BASE_PATH, 'README.rst'), 'U').read()
    running build
    - pull submodule rabbitmq-c...
    sh: 1: git: not found
    error: [Errno 2] No such file or directory: '/tmp/pip-build-9ucshgwr/librabbitmq/rabbitmq-c'
    


I am using with latest librabbitmq in python 3.7 on Ubuntu 20.

Any ideas how I can solve this?

eddyojb88 avatar Oct 02 '21 14:10 eddyojb88

As it says in the second to last line, you don't seem to have git installed. On Ubuntu just run: sudo apt update && sudo apt install git

JanosSack avatar Nov 10 '21 14:11 JanosSack