2011-08-11 3 views
0

Sur Windows 7 32 bits, j'ai de la difficulté à installer SimpleJSON. J'ai de nouvelles installations de Python 2.7.1 et setuptools 0.6c11. easy_install -v simplejson se bloque lors de la création de ._speedups.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 

Il ya un changement de cmd.exe à environ 15% d'utilisation du processeur indéfiniment. Je l'ai laissé courir pendant ~ 30 minutes. J'ai seulement vu ce comportement sur une seule machine, mais quel pourrait être le problème?

Répondre

0

Je pense que l'installation de simplejson sur 2.7 n'est pas utile car elle est disponible en tant que module json dans stdlib

+0

Oh. C'est bien. Heureux de sortir cette étape de ma configuration. – totowtwo

0

N'installez pas Visual Studio dans un emplacement non standard. setuptools n'arrive pas à le trouver. easy_install s'est contenté de MSVC soit supprimé (dans ce cas, aucune accélération n'a été compilée), soit dans le chemin d'installation par défaut.