python - I can't install simplejson package Index -
i want insatll twitter api python , 1 of reqiurement installing simplejson . installed python 2.7 , write code in cmd install simplejson
c:\users\user\desktop>c:\python27\scripts\easy_install https://pypi.python.org/packages/source/s/simplejson/simplejson-3.0.8.tar.gz
but result this
c:\users\user\desktop>c:\python27\scripts\easy_install https://pypi.python.org/p ackages/source/s/simplejson/simplejson-3.0.8.tar.gz downloading https://pypi.python.org/packages/source/s/simplejson/simplejson-3.0. 8.tar.gz processing simplejson-3.0.8.tar.gz running simplejson-3.0.8\setup.py -q bdist_egg --dist-dir c:\users\user\appdata\ local\temp\easy_install-zox8hx\simplejson-3.0.8\egg-dist-tmp-db4vir traceback (most recent phone call last): file "c:\python27\scripts\easy_install-script.py", line 8, in <module> load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')() file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 1712, in main file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 1700, in with_ei_usage file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 1716, in <lambda> file "c:\python27\lib\distutils\core.py", line 152, in setup dist.run_commands() file "c:\python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) file "c:\python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 211, in run file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 422, in easy_install file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 476, in install_item file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 655, in install_eggs file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 930, in build_and_install file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\easy_install.py", line 919, in run_setup file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\san dbox.py", line 62, in run_setup file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\san dbox.py", line 105, in run file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\san dbox.py", line 64, in <lambda> file "setup.py", line 106, in <module> file "setup.py", line 103, in run_setup file "c:\python27\lib\distutils\core.py", line 152, in setup dist.run_commands() file "c:\python27\lib\distutils\dist.py", line 953, in run_commands self.run_command(cmd) file "c:\python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\bdist_egg.py", line 175, in run file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\bdist_egg.py", line 161, in call_command file "c:\python27\lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) file "c:\python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() file "c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\com mand\install_lib.py", line 20, in run file "c:\python27\lib\distutils\command\install_lib.py", line 111, in build self.run_command('build_ext') file "c:\python27\lib\distutils\cmd.py", line 326, in run_command self.distribution.run_command(command) file "c:\python27\lib\distutils\dist.py", line 972, in run_command cmd_obj.run() file "setup.py", line 51, in run file "c:\python27\lib\distutils\command\build_ext.py", line 339, in run self.build_extensions() file "c:\python27\lib\distutils\command\build_ext.py", line 448, in build_exte nsions self.build_extension(ext) file "setup.py", line 57, in build_extension file "c:\python27\lib\distutils\command\build_ext.py", line 498, in build_exte nsion depends=ext.depends) file "c:\python27\lib\distutils\msvc9compiler.py", line 473, in compile self.initialize() file "c:\python27\lib\distutils\msvc9compiler.py", line 383, in initialize vc_env = query_vcvarsall(version, plat_spec) file "c:\python27\lib\distutils\msvc9compiler.py", line 299, in query_vcvarsal l raise valueerror(str(list(result.keys()))) valueerror: [u'path']
could 1 tell why can't install?
python api twitter python-2.7
No comments:
Post a Comment