"Pip restclient 설치"의 두 판 사이의 차이

잔글 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
 
7번째 줄: 7번째 줄:


==확인==
==확인==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# pip list | grep restclient
root@zetawiki:~# pip list | grep restclient
root@zetawiki:~# python -c 'import restclient'
root@zetawiki:~# python -c 'import restclient'
13번째 줄: 13번째 줄:
   File "<string>", line 1, in <module>
   File "<string>", line 1, in <module>
ImportError: No module named restclient
ImportError: No module named restclient
</source>
</syntaxhighlight>


==설치==
==설치==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# pip install restclient
root@zetawiki:~# pip install restclient
Downloading/unpacking restclient
Downloading/unpacking restclient
33번째 줄: 33번째 줄:
Successfully installed restclient httplib2
Successfully installed restclient httplib2
Cleaning up...
Cleaning up...
</source>
</syntaxhighlight>


==확인 2==
==확인 2==
<source lang='console'>
<syntaxhighlight lang='console'>
root@zetawiki:~# python -c 'import restclient'
root@zetawiki:~# python -c 'import restclient'
root@zetawiki:~# pip list | grep restclient
root@zetawiki:~# pip list | grep restclient
42번째 줄: 42번째 줄:
root@zetawiki:~# find / -name restclient
root@zetawiki:~# find / -name restclient
/usr/local/lib/python2.7/dist-packages/restclient
/usr/local/lib/python2.7/dist-packages/restclient
</source>
</syntaxhighlight>


==참고==
==참고==

2020년 12월 27일 (일) 13:30 기준 최신판

Python restclient 설치
pip install restclient
ImportError: No module named restclient

1 사전작업[ | ]

2 확인[ | ]

root@zetawiki:~# pip list | grep restclient
root@zetawiki:~# python -c 'import restclient'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named restclient

3 설치[ | ]

root@zetawiki:~# pip install restclient
Downloading/unpacking restclient
  Downloading restclient-0.11.0.tar.gz
  Running setup.py (path:/tmp/pip_build_root/restclient/setup.py) egg_info for package restclient
    
Downloading/unpacking httplib2 (from restclient)
  Downloading httplib2-0.9.2.tar.gz (205kB): 205kB downloaded
  Running setup.py (path:/tmp/pip_build_root/httplib2/setup.py) egg_info for package httplib2
    
Installing collected packages: restclient, httplib2
  Running setup.py install for restclient
    
  Running setup.py install for httplib2
    
Successfully installed restclient httplib2
Cleaning up...

4 확인 2[ | ]

root@zetawiki:~# python -c 'import restclient'
root@zetawiki:~# pip list | grep restclient
restclient (0.11.0)
root@zetawiki:~# find / -name restclient
/usr/local/lib/python2.7/dist-packages/restclient

5 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}