第一次安装熊猫时,网络出现故障并显示一些错误。当我再次尝试时,我得到以下错误。我用pip安装的任何其他东西都成功了,除了熊猫。
pip install pandas
Collecting pandas
Using cached #*(can i somehow work around using cached data, i.e, download again?)* https://files.pythonhosted.org/packages/0b/1f/8fca0e1b66a632b62cc1ae38e197befe48c5cee78f895edf4bf8d340454d/pandas-0.25.0.tar.gz
ERROR: Command errored out with exit status 1:
command: 'c:\users\cho\appdata\local\programs\python\python38\python.exe' -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Cho\\AppData\\Local\\Temp\\pip-install-62iru__x\\pandas\\setup.py'"'"'; __file__='"'"'C:\\Users\\Cho\\AppData\\Local\\Temp\\pip-install-62iru__x\\pandas\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base pip-egg-info
cwd: C:\Users\Cho\AppData\Local\Temp\pip-install-62iru__x\pandas\
Complete output (190 lines):
Could not locate executable g77
Could not locate executable f77
Could not locate executable ifort
Could not locate executable ifl
Could not locate executable f90
Could not locate executable DF
Could not locate executable efl
Could not locate executable gfortran
Could not locate executable f95
Could not locate executable g95
Could not locate executable efort
Could not locate executable efc
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
'svnversion' is not recognized as an internal or external command,
operable program or batch file.
non-existing path in 'numpy\\distutils': 'site.cfg'
non-existing path in 'numpy\\random': 'src\\splitmix64\\splitmix.h'
Running from numpy source directory.
C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\setup.py:418: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\system_info.py:690: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
self.calc_info()
C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
self.calc_info()
C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\system_info.py:690: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
self.calc_info()
C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [lapack]) or by setting
the LAPACK environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\system_info.py:1712: UserWarning:
Lapack (http://www.netlib.org/lapack/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [lapack_src]) or by setting
the LAPACK_SRC environment variable.
if getattr(self, '_calc_info_{}'.format(lapack))():
c:\users\cho\appdata\local\programs\python\python38\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
Traceback (most recent call last):
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 489, in _find_latest_available_vc_ver
return self.find_available_vc_vers()[-1]
IndexError: list index out of range
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\bdist_egg.py", line 163, in run
self.run_command("egg_info")
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\command\egg_info.py", line 26, in run
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\command\build_src.py", line 142, in run
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\command\build_src.py", line 153, in build_sources
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\command\build_src.py", line 286, in build_library_sources
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\command\build_src.py", line 369, in generate_sources
File "numpy\core\setup.py", line 667, in get_mathlib_info
"pyxfile": "_libs/tslibs/resolution",
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\command\config.py", line 241, in try_link
self._check_compiler()
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\command\config.py", line 54, in _check_compiler
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\_msvccompiler.py", line 239, in initialize
vc_env = _get_vc_env(plat_spec)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 185, in msvc14_get_vc_env
return EnvironmentInfo(plat_spec, vc_min_ver=14.0).return_env()
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 843, in __init__
self.si = SystemInfo(self.ri, vc_ver)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 485, in __init__
self.vc_ver = vc_ver or self._find_latest_available_vc_ver()
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\msvc.py", line 492, in _find_latest_available_vc_ver
raise distutils.errors.DistutilsPlatformError(err)
distutils.errors.DistutilsPlatformError: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\setup.py", line 443, in <module>
cmdclass["cython"] = CythonCommand
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\setup.py", line 435, in setup_package
pass
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\core.py", line 171, in setup
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1144, in run_setup
run_setup(setup_script, args)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 253, in run_setup
raise
File "c:\users\cho\appdata\local\programs\python\python38\lib\contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\users\cho\appdata\local\programs\python\python38\lib\contextlib.py", line 131, in __exit__
self.gen.throw(type, value, traceback)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
saved_exc.resume()
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\_vendor\six.py", line 685, in reraise
raise value.with_traceback(tb)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 250, in run_setup
_execfile(setup_script, ns)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\sandbox.py", line 45, in _execfile
exec(code, globals, locals)
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\setup.py", line 443, in <module>
cmdclass["cython"] = CythonCommand
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\setup.py", line 435, in setup_package
pass
File "C:\Users\Cho\AppData\Local\Temp\easy_install-yesasv4s\numpy-1.17.0\numpy\distutils\core.py", line 171, in setup
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 143, in setup
return distutils.core.setup(**attrs)
File "c:\users\cho\appdata\local\programs\python\python38\lib\distutils\core.py", line 163, in setup
raise SystemExit("error: " + str(msg))
SystemExit: error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Users\Cho\AppData\Local\Temp\pip-install-62iru__x\pandas\setup.py", line 807, in <module>
setup(
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 142, in setup
_install_setup_requires(attrs)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\__init__.py", line 137, in _install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 583, in fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 778, in resolve
dist = best[req.key] = env.best_match(
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1063, in best_match
return self.obtain(req, installer)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\pkg_resources\__init__.py", line 1075, in obtain
return installer(requirement)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\dist.py", line 653, in fetch_build_egg
return cmd.easy_install(req)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 679, in easy_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 705, in install_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 890, in install_eggs
return self.build_and_install(setup_script, setup_base)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1158, in build_and_install
self.run_setup(setup_script, setup_base, args)
File "c:\users\cho\appdata\local\programs\python\python38\lib\site-packages\setuptools\command\easy_install.py", line 1146, in run_setup
raise DistutilsError("Setup script exited with %s" % (v.args[0],))
distutils.errors.DistutilsError: Setup script exited with error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
尝试使用 --无缓存目录
选项
如果使用早于pip 6.0的pip,请使用'pip install-U pip升级它
问题内容: 无论我尝试安装哪个软件包,都会出现此错误: 我看到了这个问题,但答案对我不起作用。我可以安装分发程序包,到目前为止,它是我唯一可以安装的程序包,但是它不能解决问题,因为在我尝试安装另一个程序包时,egg_info错误立即返回。我对此感到非常沮丧,因为我在任何地方都找不到任何帮助。我之前也已经安装了django和pip以及所有内容,但是我不得不重新安装所有内容,现在它不起作用了。任何帮助
我刚刚在我的MAC(约塞米蒂)上安装了Python3.4.3。我需要安装几个lxml,但是每次输入:pip install/“”/时,我都会得到错误消息。我已经遵循了多个教程,并且安装了pip。MAC已经有Python2.7.,但我安装了3.4.3。版本,不确定这是否是问题所在。错误消息为: brunos-macbook-pro:~brunopaesleme$pip install/macinto
问题内容: 以下是我运行时遇到的错误: 问题答案: 在没有空格的路径中创建您的virtualenv环境。这就是为什么它发生的原因: 创建环境时,它会建立一个目录。在该目录中是与环境有关的所有可执行文件。有些是脚本。如您所知,hashbang用来告诉系统使用什么解释程序来运行脚本。您可能经常在脚本顶部看到此信息: 如果脚本位于,则告诉系统运行以下命令来执行脚本: 就您而言,virtualenv正在创
资料: 安装的所有扩展: 已尝试运行: 错误日志中的错误: PHP分析错误:语法错误,第50行的/home/username/laravel/public/index.PHP中出现意外的“class”(T_类),需要标识符(T_字符串)或变量(T_变量)或“{”或“$” 访问站点时:HTTP错误500 有什么想法吗? 编辑1: 公共/索引的内容。php 我是如何安装laravel的: 通过SSH登
在命令提示符下通过pip installer for Python3.7安装pandas时,我反复遇到以下错误 我已经通过管理员运行了该命令,但它没有运行。
问题内容: 我使用Mac(OS X 10.11.5)。我想为python安装模块。在我输入,,。但是会发生错误。 该目录或其父目录不属于当前用户,并且缓存已被禁用。请检查该目录的权限和所有者。如果执行有,你可能想的标志。 该目录或其父目录不属于当前用户,并且缓存轮已被禁用。检查该目录的权限和所有者。如果执行有,你可能想的标志。 问题答案: 在运行pip安装之前,我可以通过Homebrew恢复到较旧