【问题标题】:install package in python - firewall issue在 python 中安装包 - 防火墙问题
【发布时间】:2015-11-16 16:01:44
【问题描述】:


我正在尝试安装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下载了包

问候, 帕维尔

【问题讨论】:

    标签: python python-2.7 linkedin-api


    【解决方案1】:

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

    pip install python-linkedin-4.0.tar.gz
    

    【讨论】:

    • 它仍然试图从 Internet 下载某些东西
    • 一些模块需要其他模块 - 这需要 requests>=1.1.0, requests-oauthlib>=0.3, oauthlib>=0.6.2 / niektóre moduły dociągaja potrzebne im moduły
    • 为答案添加更多解释。由于篇幅太长,您的答案被标记为低质量...
    猜你喜欢
    • 2015-03-02
    • 2015-11-30
    • 2017-08-23
    • 1970-01-01
    • 1970-01-01
    • 2019-06-29
    • 2013-07-08
    • 1970-01-01
    • 2021-09-14
    相关资源
    最近更新 更多