在python中安装包 - 防火墙问题

时间:2015-11-16 07:29:42

标签: python python-2.7 linkedin-api


我试图安装linkedin库,但连接有问题(由于一些防火墙限制),我收到错误:

C:\Python27\Scripts>pip install linkedin
Collecting linkedin
  Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connectio
n aborted.', error(10061, 'No connection could be made because the target machine actively refused it'))': /simple/linke
din/
  Retrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connectio
n aborted.', error(10061, 'No connection could be made because the target machine actively refused it'))': /simple/linke
din/
Operation cancelled by user

有没有机会下载linkedin库并在本地安装? 如果是,您能提供任何提示吗?

我已经从https://pypi.python.org/pypi/python-linkedin/4.0

下载了包裹

此致 的Pawel

1 个答案:

答案 0 :(得分:0)

pip可以从下载的文件中安装

pip install python-linkedin-4.0.tar.gz