Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation via pip behind a firewall #154

Open
ghost opened this issue Jun 29, 2020 · 0 comments
Open

Installation via pip behind a firewall #154

ghost opened this issue Jun 29, 2020 · 0 comments

Comments

@ghost
Copy link

ghost commented Jun 29, 2020

I realise this is something of a long shot, but my team have been experiencing issues trying to install librabbitmq behind a corporate firewall, specifically the machine in question is unable to reach GitHub, so we can't clone rabbitmq-c.

Building wheels for collected packages: librabbitmq
  Building wheel for librabbitmq (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /local/approc/matcaz/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-oxo3yel5/librabbitmq/setup.py'"'"'; __file__='"'"'/tmp/pip-install-oxo3yel5/librabbitmq/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-yq3b23_f
       cwd: /tmp/pip-install-oxo3yel5/librabbitmq/
  Complete output (7 lines):
  /tmp/pip-install-oxo3yel5/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...
  Cloning into 'rabbitmq-c'...
  fatal: unable to access 'https://github.com/alanxz/rabbitmq-c.git/': Failed connect to github.com:443; Connection refused
  error: [Errno 2] No such file or directory: '/tmp/pip-install-oxo3yel5/librabbitmq/rabbitmq-c'
  ----------------------------------------
  ERROR: Failed building wheel for librabbitmq

Right now as far as I can see our options are to either get a firewall exception or to manually clone, copy and build the project locally.

Essentially what I'm asking is do we have a third option, i.e could rabbitmq-c be included in a PyPi (which we have a proxy for) distribution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants