pip使用哪些端口? [英] What ports does pip use?

查看:426
本文介绍了pip使用哪些端口?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

希望这是一个快速的答案,我试图在AWS上提供一个带有puppet的框,并且其中一个步骤涉及从需求文件中进行pip安装.像这样:-

This is hopefully a quick one to answer, I'm trying to provision a box on AWS with puppet and one of the steps involves a pip install from a requirements file. Something like this: -

/usr/local/venv/ostcms/bin/pip install -r /vagrant/requirements.txt

该步骤基本上失败了,因为它无法在需求文件中找到任何包,但是当我打开AWS Box的安全组以允许所有流量"时,pip步骤起作用.

The step basically fails because it can't find any of the packages in the requirements file, but when I open the AWS box's security group up to allow "All Traffic" the pip step works.

我正在尝试查找pip使用的端口,以便基本上可以在包装盒上打开该端口,http和ssh,然后从此过上幸福的生活.

I'm trying to find the port that pip uses so I can basically have that port, http and ssh open on the box and live happily ever after.

推荐答案

Pip在3128上运行,因此请确保已在AWS控制台中将其打开.否则,在尝试与PyPi(或其他可从其下载的位置)进行通话时,pip会被阻止.

Pip runs on 3128 so make sure you have that open in your AWS console. Otherwise pip will get blocked when attempting to talk to PyPi (or anywhere else it cares to download from).

这篇关于pip使用哪些端口?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆