2011-08-11 2 views
0

Windows 7 32-bit에서 simplejson을 설치하는 데 문제가 있습니다. Python 2.7.1 및 setuptools 0.6c11을 새로 설치했습니다. ._speedups를 빌드 할 때 easy_install -v simplejson이 실속합니다.simplejson build hang

Running simplejson-2.1.6\setup.py bdist_egg --dist-dir c:\users\user\appdata\ 
local\temp\easy_install-jwfwpp\simplejson-2.1.6\egg-dist-tmp-0zkmua 
Importing new compiler from distutils.msvc9compiler 
running bdist_egg 
running egg_info 
writing simplejson.egg-info\PKG-INFO 
writing top-level names to simplejson.egg-info\top_level.txt 
writing dependency_links to simplejson.egg-info\dependency_links.txt 
reading manifest file 'simplejson.egg-info\SOURCES.txt' 
writing manifest file 'simplejson.egg-info\SOURCES.txt' 
installing library code to build\bdist.win32\egg 
running install_lib 
running build_py 
creating build 
creating build\lib.win32-2.7 
creating build\lib.win32-2.7\simplejson 
copying simplejson\decoder.py -> build\lib.win32-2.7\simplejson 
copying simplejson\encoder.py -> build\lib.win32-2.7\simplejson 
copying simplejson\ordered_dict.py -> build\lib.win32-2.7\simplejson 
copying simplejson\scanner.py -> build\lib.win32-2.7\simplejson 
copying simplejson\tool.py -> build\lib.win32-2.7\simplejson 
copying simplejson\__init__.py -> build\lib.win32-2.7\simplejson 
creating build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_check_circular.py -> build\lib.win32-2.7\simplejso 
n\tests 
copying simplejson\tests\test_decimal.py -> build\lib.win32-2.7\simplejson\tests 

copying simplejson\tests\test_decode.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_default.py -> build\lib.win32-2.7\simplejson\tests 

copying simplejson\tests\test_dump.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_encode_basestring_ascii.py -> build\lib.win32-2.7\ 
simplejson\tests 
copying simplejson\tests\test_encode_for_html.py -> build\lib.win32-2.7\simplejs 
on\tests 
copying simplejson\tests\test_errors.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_fail.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_float.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_indent.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_pass1.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_pass2.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_pass3.py -> build\lib.win32-2.7\simplejson\tests 
copying simplejson\tests\test_recursion.py -> build\lib.win32-2.7\simplejson\tes 
ts 
copying simplejson\tests\test_scanstring.py -> build\lib.win32-2.7\simplejson\te 
sts 
copying simplejson\tests\test_separators.py -> build\lib.win32-2.7\simplejson\te 
sts 
copying simplejson\tests\test_speedups.py -> build\lib.win32-2.7\simplejson\test 
s 
copying simplejson\tests\test_unicode.py -> build\lib.win32-2.7\simplejson\tests 

copying simplejson\tests\__init__.py -> build\lib.win32-2.7\simplejson\tests 
running build_ext 
building 'simplejson._speedups' extension 

약 15 % CPU 사용량을 무기한으로 변경하는 cmd.exe가 있습니다. 나는 ~ 30 분 동안 뛰게했다. 한 대의 컴퓨터에서만이 동작을 보았지만 문제가 될 수 있습니까?

답변

0

2.7에 simplejson을 설치하는 것이 stdlib에서 json 모듈로 사용 가능하므로 유용하지 않다고 생각합니다.

+0

오. 좋았어. 내 설정에서 그 발걸음을 내딛어 기쁘다. – totowtwo

0

비표준 위치에 Visual Studio를 설치하지 마십시오. setuptools가 찾지 못하는 것 같습니다. easy_install은 제거 된 MSVC (빠른 속도가 컴파일되지 않음) 또는 기본 설치 경로에서 만족 스러웠습니다.