QQ登录

只需一步,快速开始

登录 | 立即注册 | 找回密码

主题

帖子

荣誉

VIP至尊会员

Rank: 15Rank: 15Rank: 15

积分
32
查看: 168|回复: 2

求救阿

[复制链接]
最佳答案
0 
累计签到:1 天
连续签到:1 天
董梦成 发表于 2018-4-6 20:05:25 1682 | 显示全部楼层 |阅读模式

马上注册加入鱼C,享用更多服务吧^_^

您需要 登录 才可以下载或查看,没有帐号?立即注册

x
各位大佬,我用树莓派的raspbian系统(就是一种linux系统)用pip3下载一个python包出现了一个问题,这个问题困扰我一个多星期了,想起鱼C还有一个linux的论坛,特来求救啊。
pi@raspberrypi:~ $ pip3 install rpiSht1x
Collecting rpiSht1x
  Using cached rpiSht1x-1.2.tar.gz
    Complete output from command python setup.py egg_info:
    Downloading http://pypi.python.org/packages/ ... ibute-0.6.28.tar.gz
    Traceback (most recent call last):
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/distribute_setup.py", line 143, in use_setuptools
        raise ImportError
    ImportError
   
    During handling of the above exception, another exception occurred:
   
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/setup.py", line 2, in <module>
        use_setuptools()
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/distribute_setup.py", line 145, in use_setuptools
        return _do_download(version, download_base, to_dir, download_delay)
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/distribute_setup.py", line 124, in _do_download
        to_dir, download_delay)
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/distribute_setup.py", line 194, in download_setuptools
        src = urlopen(url)
      File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python3.5/urllib/request.py", line 472, in open
        response = meth(req, response)
      File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
        'http', request, response, code, msg, hdrs)
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/setup.py", line 2, in <module>
        use_setuptools()
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/distribute_setup.py", line 145, in use_setuptools
        return _do_download(version, download_base, to_dir, download_delay)
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/distribute_setup.py", line 124, in _do_download
        to_dir, download_delay)
      File "/tmp/pip-build-fzcvxt3o/rpiSht1x/distribute_setup.py", line 194, in download_setuptools
        src = urlopen(url)
      File "/usr/lib/python3.5/urllib/request.py", line 163, in urlopen
        return opener.open(url, data, timeout)
      File "/usr/lib/python3.5/urllib/request.py", line 472, in open
        response = meth(req, response)
      File "/usr/lib/python3.5/urllib/request.py", line 582, in http_response
        'http', request, response, code, msg, hdrs)
      File "/usr/lib/python3.5/urllib/request.py", line 510, in error
        return self._call_chain(*args)
      File "/usr/lib/python3.5/urllib/request.py", line 444, in _call_chain
        result = func(*args)
      File "/usr/lib/python3.5/urllib/request.py", line 590, in http_error_default
        raise HTTPError(req.full_url, code, msg, hdrs, fp)
    urllib.error.HTTPError: HTTP Error 403: SSL is required
   
    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-fzcvxt3o/rpiSht1x/
以上就是出现的问题,最关键的是urllib.error.HTTPError: HTTP Error 403: SSL is required。这个东西怎么解决啊?愿意有偿咨询。
      File "/usr/lib/python3.5/urllib/request.py", line 510, in error
楼层
跳转到指定楼层
最佳答案
0 
累计签到:1 天
连续签到:1 天
董梦成  楼主| 发表于 2018-4-6 20:11:16 | 显示全部楼层
救命阿
最佳答案
54 
累计签到:144 天
连续签到:1 天
铁棍阿童木 发表于 2018-4-6 20:18:04 | 显示全部楼层

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

小甲鱼强烈推荐 上一条 /1 下一条

    移动客户端下载(未启用)
    微信公众号

小黑屋|手机版|Archiver|鱼C工作室 ( 粤ICP备11014136号

Copyright 2018 鱼C论坛 版权所有 All Rights Reserved.

Powered by Discuz! X3.1 Copyright
© 2001-2018 Comsenz Inc.    All Rights Reserved.

小黑屋|手机版|Archiver|鱼C工作室 ( 粤公网安备 44051102000370号 | 粤ICP备11014136号

GMT+8, 2018-4-20 05:34

快速回复 返回顶部 返回列表