블로그 이전


블로그를 이전했습니다.

마크다운 빠돌이가 되어 github.io 블로그로 이전하였습니다.

새 블로그 주소: https://nonetype.github.io/

 

Home

just pwn()

nonetype.github.io

최근엔 리눅스 커널 익스 관련 글을 많이 남기고 있습니다. 많이 놀러와주세요~~

'#생활' 카테고리의 다른 글

블로그 이전  (0) 2019.10.16
BoB 8기 합격했습니다.  (0) 2019.06.24
blog image

Written by NoneType

Korean Pwner

[root@localhost ~]# pip install capstone
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
You are using pip version 7.1.0, however version 19.2.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Collecting capstone
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
/usr/lib/python2.6/site-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/pip/basecommand.py", line 223, in main
    status = self.run(options, args)
  File "/usr/lib/python2.6/site-packages/pip/commands/install.py", line 290, in run
    requirement_set.prepare_files(finder)
  File "/usr/lib/python2.6/site-packages/pip/req/req_set.py", line 334, in prepare_files
    functools.partial(self._prepare_file, finder))
  File "/usr/lib/python2.6/site-packages/pip/req/req_set.py", line 321, in _walk_req_to_install
    more_reqs = handler(req_to_install)
  File "/usr/lib/python2.6/site-packages/pip/req/req_set.py", line 491, in _prepare_file
    session=self.session)
  File "/usr/lib/python2.6/site-packages/pip/download.py", line 825, in unpack_url
    session,
  File "/usr/lib/python2.6/site-packages/pip/download.py", line 673, in unpack_http_url
    from_path, content_type = _download_http_url(link, session, temp_dir)
  File "/usr/lib/python2.6/site-packages/pip/download.py", line 857, in _download_http_url
    stream=True,
  File "/usr/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 477, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python2.6/site-packages/pip/download.py", line 373, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 465, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.6/site-packages/pip/_vendor/requests/sessions.py", line 573, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.6/site-packages/pip/_vendor/cachecontrol/adapter.py", line 46, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/lib/python2.6/site-packages/pip/_vendor/requests/adapters.py", line 431, in send
    raise SSLError(e, request=request)
SSLError: [Errno 1] _ssl.c:492: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed

pip install capstone시 위와 같은 오류가 나타난다.

alias pip='pip --trusted-host pypi.org --trusted-host files.pythonhosted.org'

위 블록을 .bashrc에 넣고 source .bashrc 후 재설치하면 정상 설치된다.

 

 


ref. https://harryp.tistory.com/831

blog image

Written by NoneType

Korean Pwner

[root@localhost ~]# yum install python-pip
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile

base: mirror.navercorp.com
extras: mirror.dionipe.net
updates: mirror.navercorp.com
No package python-pip available.
Error: Nothing to do

위와 같은 오류가 뜰 땐

[root@localhost ~]# yum install epel-release

을 통해 해결이 가능하다.

이후 yum을 통한 python-pip 재설치시 정상적으로 설치된다.

blog image

Written by NoneType

Korean Pwner