命令“ python setup.py egg_info”在C:\ Users \ user \ AppData \ Local \ Temp \ pip-build-k647cmz9 \ pandas

时间:2018-09-24 20:20:44

标签: python-3.6

C:\ Users \ user> pip安装袖扣 您正在使用pip版本6.0.8,但是版本18.0可用。 您应该考虑通过“ pip install --upgrade pip”命令进行升级。 收集袖扣   使用缓存的https://files.pythonhosted.org/packages/70/0d/ec32812ae0fd068ad5ec46e6103dc7c22a929c8f677ff9b16be6410e3929/cufflinks-0.14.4.tar.gz 收集numpy> = 1.9.2(来自袖扣)   使用缓存的https://files.pythonhosted.org/packages/6e/ef/57b7f46c82ead2b954992bdb5f50547f13cedf2c6bf09e8e4d14d095ced3/numpy-1.15.2-cp34-none-win32.whl 收集熊猫> = 0.19.2(来自袖扣)   使用缓存的https://files.pythonhosted.org/packages/e9/ad/5e92ba493eff96055a23b0a1323a9a803af71ec859ae3243ced86fcbd0a4/pandas-0.23.4.tar.gz     'numpy \ distutils'中不存在的路径:'site.cfg'     从numpy源目录运行。     C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ setup.py:378:UserWarning:无法识别的setuptools命令,继续生成Cython源并扩展模板       run_build = parse_setuppy_commands()     C:\ Python34 \ ankit \ lib \ distutils \ dist.py:260:UserWarning:未知分发选项:“ python_requires”       warnings.warn(msg)     C:\ Python34 \ ankit \ lib \ distutils \ dist.py:260:UserWarning:未知分发选项:“ python_requires”       warnings.warn(msg)     C:\ Python34 \ ankit \ lib \ distutils \ dist.py:260:用户警告:未知的分发选项:'define_macros'       warnings.warn(msg)     追溯(最近一次通话):       在query_vcvarsall的第52行中,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ msvc9_support.py”         返回未修补的['query_vcvarsall'](版本,* args,** kwargs)       query_vcvarsall中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ msvc9compiler.py”,第259行         引发DistutilsPlatformError(“无法找到vcvarsall.bat”)     distutils.errors.DistutilsPlatformError:无法找到vcvarsall.bat     在处理上述异常期间,发生了另一个异常:     追溯(最近一次通话):       安装程序中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ core.py”,第148行         dist.run_commands()       在run_commands中的第955行,文件“ C:\ Python34 \ ankit \ lib \ distutils \ dist.py”         self.run_command(cmd)       在run_command中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ dist.py”,行974         cmd_obj.run()       运行中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ command \ bdist_egg.py”,第152行         self.run_command(“ egg_info”)       run_command中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ cmd.py”,第313行         self.distribution.run_command(命令)       在run_command中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ dist.py”,行974         cmd_obj.run()       正在运行的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ command \ egg_info.py”       run_command中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ cmd.py”,第313行         self.distribution.run_command(命令)       在run_command中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ dist.py”,行974         cmd_obj.run()       运行中的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ command \ build_src.py”       第159行的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ command \ build_src.py”在build_sources中       在build_library_sources中第294行的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ command \ build_src.py”       在generate_sources中,文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ command \ build_src.py”,行377       get_mathlib_info中的文件“ numpy \ core \ setup.py”,行664         '后缀':'.cpp',       在try_link中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ command \ config.py”,第243行         self._check_compiler()       _check_compiler中的第51行的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ command \ config.py”       初始化中的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ msvccompiler.py”,第50行       初始化中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ msvc9compiler.py”,行371         vc_env = query_vcvarsall(VERSION,plat_spec)       在query_vcvarsall中的第62行,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ msvc9_support.py”         引发distutils.errors.DistutilsPlatformError(message)     distutils.errors.DistutilsPlatformError:需要Microsoft Visual C ++ 10.0(无法找到vcvarsall.bat)。     在处理上述异常期间,发生了另一个异常:     追溯(最近一次通话):       在save_modules中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第150行         节省产量       在setup_context中,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第191行         让       在run_setup中的第235行,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”         DirectorySandbox(setup_dir).run(运行器)       运行中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,行265         返回func()       流道中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第234行         _execfile(setup_script,ns)       _execfile中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第46行         exec(代码,全局变量,本地变量)       文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ setup.py”,第403行,在       setup_package中的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ setup.py”,行395         self.py_modules_dict = {}       设置中的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ core.py”       安装程序中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ core.py”,第163行         引发SystemExit(“错误:” + str(msg))     SystemExit:错误:需要Microsoft Visual C ++ 10.0(无法找到vcvarsall.bat)。     在处理上述异常期间,发生了另一个异常:     追溯(最近一次通话):       在run_setup中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ command \ easy_install.py”,行1052         run_setup(setup_script,args)       在run_setup中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第238行         提高       退出中的文件“ C:\ Python34 \ ankit \ lib \ contextlib.py”,第77行         self.gen.throw(类型,值,回溯)       在setup_context中,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第191行         让       退出中的文件“ C:\ Python34 \ ankit \ lib \ contextlib.py”,第77行         self.gen.throw(类型,值,回溯)       在save_modules中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第162行         saved_exc.resume()       简历中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第137行         compat.reraise(type,exc,self._tb)       重新列出文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ compat.py”,第65行         提高价值.with_traceback(tb)       在save_modules中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第150行         节省产量       在setup_context中,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第191行         让       在run_setup中的第235行,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”         DirectorySandbox(setup_dir).run(运行器)       运行中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,行265         返回func()       流道中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第234行         _execfile(setup_script,ns)       _execfile中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ sandbox.py”,第46行         exec(代码,全局变量,本地变量)       文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ setup.py”,第403行,在       setup_package中的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ setup.py”,行395         self.py_modules_dict = {}       设置中的文件“ C:\ Users \ user \ AppData \ Local \ Temp \ easy_install-_85d4clj \ numpy-1.15.2 \ numpy \ distutils \ core.py”       安装程序中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ core.py”,第163行         引发SystemExit(“错误:” + str(msg))     SystemExit:错误:需要Microsoft Visual C ++ 10.0(无法找到vcvarsall.bat)。     在处理上述异常期间,发生了另一个异常:     追溯(最近一次通话):       文件“”,第20行,在       文件“ C:\ Users \ user \ AppData \ Local \ Temp \ pip-build-k647cmz9 \ pandas \ setup.py”,行749,在         ** setuptools_kwargs)       安装程序中的文件“ C:\ Python34 \ ankit \ lib \ distutils \ core.py”,第108行         _setup_distribution = dist = klass(attrs)        init 中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ dist.py”,第265行         self.fetch_build_eggs(attrs ['setup_requires'])       文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ dist.py”,行311,位于fetch_build_eggs中         replace_conflicting =是,       解析文件“ C:\ Python34 \ ankit \ lib \ site-packages \ pkg_resources__init __。py”,行797         dist = best [req.key] = env.best_match(req,ws,installer)       文件“ C:\ Python34 \ ankit \ lib \ site-packages \ pkg_resources__init __。py”,行1047,在best_match中         返回self.obtain(要求,安装程序)       在获得的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ pkg_resources__init __。py”中,行1059         返回安装程序(要求)       文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ dist.py”,行378,位于fetch_build_egg中         返回cmd.easy_install(req)       在easy_install中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ command \ easy_install.py”,行623         返回self.install_item(spec,dist.location,tmpdir,deps)       在install_item中的第653行,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ command \ easy_install.py”         dists = self.install_eggs(spec,download,tmpdir)       在install_eggs中的第838行中,文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ command \ easy_install.py”         返回self.build_and_install(setup_script,setup_base)       在build_and_install中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ command \ easy_install.py”,行1066         self.run_setup(setup_script,setup_base,args)       在run_setup中的文件“ C:\ Python34 \ ankit \ lib \ site-packages \ setuptools \ command \ easy_install.py”,行1054         引发DistutilsError(“安装脚本以%s退出”%(v.args [0],))     distutils.errors.DistutilsError:安装脚本退出,错误:Microsoft Visual C ++ 10.0是必需的(无法找到vcvarsall.bat)。     来自命令python setup.py egg_info的完整输出:     'numpy \ distutils'中不存在的路径:'site.cfg'

Running from numpy source directory.

C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\setup.py:378: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates

  run_build = parse_setuppy_commands()

C:\Python34\ankit\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'python_requires'

  warnings.warn(msg)

C:\Python34\ankit\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'python_requires'

  warnings.warn(msg)

C:\Python34\ankit\lib\distutils\dist.py:260: UserWarning: Unknown distribution option: 'define_macros'

  warnings.warn(msg)

Traceback (most recent call last):

  File "C:\Python34\ankit\lib\site-packages\setuptools\msvc9_support.py", line 52, in query_vcvarsall

    return unpatched['query_vcvarsall'](version, *args, **kwargs)

  File "C:\Python34\ankit\lib\distutils\msvc9compiler.py", line 259, in query_vcvarsall

    raise DistutilsPlatformError("Unable to find vcvarsall.bat")

distutils.errors.DistutilsPlatformError: Unable to find vcvarsall.bat



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "C:\Python34\ankit\lib\distutils\core.py", line 148, in setup

    dist.run_commands()

  File "C:\Python34\ankit\lib\distutils\dist.py", line 955, in run_commands

    self.run_command(cmd)

  File "C:\Python34\ankit\lib\distutils\dist.py", line 974, in run_command

    cmd_obj.run()

  File "C:\Python34\ankit\lib\site-packages\setuptools\command\bdist_egg.py", line 152, in run

    self.run_command("egg_info")

  File "C:\Python34\ankit\lib\distutils\cmd.py", line 313, in run_command

    self.distribution.run_command(command)

  File "C:\Python34\ankit\lib\distutils\dist.py", line 974, in run_command

    cmd_obj.run()

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\command\egg_info.py", line 26, in run

  File "C:\Python34\ankit\lib\distutils\cmd.py", line 313, in run_command

    self.distribution.run_command(command)

  File "C:\Python34\ankit\lib\distutils\dist.py", line 974, in run_command

    cmd_obj.run()

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\command\build_src.py", line 148, in run

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\command\build_src.py", line 159, in build_sources

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\command\build_src.py", line 294, in build_library_sources

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\command\build_src.py", line 377, in generate_sources

  File "numpy\core\setup.py", line 664, in get_mathlib_info

    'suffix': '.cpp',

  File "C:\Python34\ankit\lib\distutils\command\config.py", line 243, in try_link

    self._check_compiler()

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\command\config.py", line 51, in _check_compiler

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\msvccompiler.py", line 50, in initialize

  File "C:\Python34\ankit\lib\distutils\msvc9compiler.py", line 371, in initialize

    vc_env = query_vcvarsall(VERSION, plat_spec)

  File "C:\Python34\ankit\lib\site-packages\setuptools\msvc9_support.py", line 62, in query_vcvarsall

    raise distutils.errors.DistutilsPlatformError(message)

distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 150, in save_modules

    yield saved

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 191, in setup_context

    yield

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 235, in run_setup

    DirectorySandbox(setup_dir).run(runner)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 265, in run

    return func()

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 234, in runner

    _execfile(setup_script, ns)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile

    exec(code, globals, locals)

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\setup.py", line 403, in <module>



  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\setup.py", line 395, in setup_package

    self.py_modules_dict = {}

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\core.py", line 169, in setup

  File "C:\Python34\ankit\lib\distutils\core.py", line 163, in setup

    raise SystemExit("error: " + str(msg))

SystemExit: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "C:\Python34\ankit\lib\site-packages\setuptools\command\easy_install.py", line 1052, in run_setup

    run_setup(setup_script, args)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 238, in run_setup

    raise

  File "C:\Python34\ankit\lib\contextlib.py", line 77, in __exit__

    self.gen.throw(type, value, traceback)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 191, in setup_context

    yield

  File "C:\Python34\ankit\lib\contextlib.py", line 77, in __exit__

    self.gen.throw(type, value, traceback)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 162, in save_modules

    saved_exc.resume()

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 137, in resume

    compat.reraise(type, exc, self._tb)

  File "C:\Python34\ankit\lib\site-packages\setuptools\compat.py", line 65, in reraise

    raise value.with_traceback(tb)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 150, in save_modules

    yield saved

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 191, in setup_context

    yield

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 235, in run_setup

    DirectorySandbox(setup_dir).run(runner)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 265, in run

    return func()

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 234, in runner

    _execfile(setup_script, ns)

  File "C:\Python34\ankit\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile

    exec(code, globals, locals)

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\setup.py", line 403, in <module>



  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\setup.py", line 395, in setup_package

    self.py_modules_dict = {}

  File "C:\Users\user\AppData\Local\Temp\easy_install-_85d4clj\numpy-1.15.2\numpy\distutils\core.py", line 169, in setup

  File "C:\Python34\ankit\lib\distutils\core.py", line 163, in setup

    raise SystemExit("error: " + str(msg))

SystemExit: error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).



During handling of the above exception, another exception occurred:



Traceback (most recent call last):

  File "<string>", line 20, in <module>

  File "C:\Users\user\AppData\Local\Temp\pip-build-k647cmz9\pandas\setup.py", line 749, in <module>

    **setuptools_kwargs)

  File "C:\Python34\ankit\lib\distutils\core.py", line 108, in setup

    _setup_distribution = dist = klass(attrs)

  File "C:\Python34\ankit\lib\site-packages\setuptools\dist.py", line 265, in __init__

    self.fetch_build_eggs(attrs['setup_requires'])

  File "C:\Python34\ankit\lib\site-packages\setuptools\dist.py", line 311, in fetch_build_eggs

    replace_conflicting=True,

  File "C:\Python34\ankit\lib\site-packages\pkg_resources\__init__.py", line 797, in resolve

    dist = best[req.key] = env.best_match(req, ws, installer)

  File "C:\Python34\ankit\lib\site-packages\pkg_resources\__init__.py", line 1047, in best_match

    return self.obtain(req, installer)

  File "C:\Python34\ankit\lib\site-packages\pkg_resources\__init__.py", line 1059, in obtain

    return installer(requirement)

  File "C:\Python34\ankit\lib\site-packages\setuptools\dist.py", line 378, in fetch_build_egg

    return cmd.easy_install(req)

  File "C:\Python34\ankit\lib\site-packages\setuptools\command\easy_install.py", line 623, in easy_install

    return self.install_item(spec, dist.location, tmpdir, deps)

  File "C:\Python34\ankit\lib\site-packages\setuptools\command\easy_install.py", line 653, in install_item

    dists = self.install_eggs(spec, download, tmpdir)

  File "C:\Python34\ankit\lib\site-packages\setuptools\command\easy_install.py", line 838, in install_eggs

    return self.build_and_install(setup_script, setup_base)

  File "C:\Python34\ankit\lib\site-packages\setuptools\command\easy_install.py", line 1066, in build_and_install

    self.run_setup(setup_script, setup_base, args)

  File "C:\Python34\ankit\lib\site-packages\setuptools\command\easy_install.py", line 1054, in run_setup

    raise DistutilsError("Setup script exited with %s" % (v.args[0],))

distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat).

----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\user\AppData\Local\Temp\pip-build-k647cmz9\pandas

0 个答案:

没有答案