Easy install simplejson 설치

Jmnote bot (토론 | 기여)님의 2020년 11월 2일 (월) 02:54 판 (봇: 자동으로 텍스트 교체 (-</source> +</syntaxhighlight>, -<source +<syntaxhighlight ))
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
  다른 뜻에 대해서는 pip simplejson 설치 문서를 참조하십시오.
simplejson 설치
ImportError: No module named simplejson

1 문제상황[ | ]

[root@zetawiki ~]# python test.py
Traceback (most recent call last):
  File "test.py", line 19, in <module>
    import simplejson
ImportError: No module named simplejson

2 simplejson 설치[ | ]

[root@zetawiki ~]# easy_install simplejson
Searching for simplejson
Reading http://pypi.python.org/simple/simplejson/
Best match: simplejson 3.5.3
Downloading https://pypi.python.org/packages/source/s/simplejson/simplejson-3.5.3.tar.gz#md5=d5f62dfa6b6dea31735d56c858361d48
Processing simplejson-3.5.3.tar.gz
Running simplejson-3.5.3/setup.py -q bdist_egg --dist-dir /tmp/easy_install-5LRIGO/simplejson-3.5.3/egg-dist-tmp-NkwIx5
zip_safe flag not set; analyzing archive contents...
simplejson.tests.__init__: module references __file__
Adding simplejson 3.5.3 to easy-install.pth file

Installed /usr/lib/python2.6/site-packages/simplejson-3.5.3-py2.6-linux-x86_64.egg
Processing dependencies for simplejson
Finished processing dependencies for simplejson

3 같이 보기[ | ]

4 참고[ | ]

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