- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
这个问题在这里已经有了答案:
Installing numpy with pip on windows 10 for python 3.7
(3 个回答)
11 个月前关闭。
尝试安装时 numpy
我收到以下错误:
C:\Users\lenovo>pip install numpy
Collecting numpy
Using cached numpy-1.19.2.zip (7.3 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... error
ERROR: Command errored out with exit status 1:
command: 'c:\users\lenovo\appdata\local\programs\python\python39\python.exe' 'c:\users\lenovo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\lenovo\AppData\Local\Temp\tmpmtdh020c'
cwd: C:\Users\lenovo\AppData\Local\Temp\pip-install-c07n3_wi\numpy
Complete output (200 lines):
Running from numpy source directory.
setup.py:470: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources and expanding templates
run_build = parse_setuppy_commands()
Processing numpy/random\_bounded_integers.pxd.in
Processing numpy/random\bit_generator.pyx
Processing numpy/random\mtrand.pyx
Processing numpy/random\_bounded_integers.pyx.in
Processing numpy/random\_common.pyx
Processing numpy/random\_generator.pyx
Processing numpy/random\_mt19937.pyx
Processing numpy/random\_pcg64.pyx
Processing numpy/random\_philox.pyx
Processing numpy/random\_sfc64.pyx
Cythonizing sources
blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
blis_info:
libraries blis not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
NOT AVAILABLE
atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
C:\Users\lenovo\AppData\Local\Temp\pip-install-c07n3_wi\numpy\numpy\distutils\system_info.py:1914: 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.
if self._calc_info(blas):
blas_info:
libraries blas not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
C:\Users\lenovo\AppData\Local\Temp\pip-install-c07n3_wi\numpy\numpy\distutils\system_info.py:1914: 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.
if self._calc_info(blas):
blas_src_info:
NOT AVAILABLE
C:\Users\lenovo\AppData\Local\Temp\pip-install-c07n3_wi\numpy\numpy\distutils\system_info.py:1914: 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.
if self._calc_info(blas):
NOT AVAILABLE
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
flame_info:
libraries flame not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries tatlas,tatlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries lapack_atlas not found in C:\
libraries tatlas,tatlas not found in C:\
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
libraries tatlas,tatlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries satlas,satlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries lapack_atlas not found in C:\
libraries satlas,satlas not found in C:\
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
libraries satlas,satlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
<class 'numpy.distutils.system_info.atlas_3_10_info'>
NOT AVAILABLE
atlas_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries ptf77blas,ptcblas,atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries lapack_atlas not found in C:\
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
libraries ptf77blas,ptcblas,atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries f77blas,cblas,atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\lib
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
libraries f77blas,cblas,atlas not found in c:\users\lenovo\appdata\local\programs\python\python39\libs
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\lib', 'C:\\', 'c:\\users\\lenovo\\appdata\\local\\programs\\python\\python39\\libs']
NOT AVAILABLE
C:\Users\lenovo\AppData\Local\Temp\pip-install-c07n3_wi\numpy\numpy\distutils\system_info.py:1748: 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.
return getattr(self, '_calc_info_{}'.format(name))()
lapack_src_info:
NOT AVAILABLE
C:\Users\lenovo\AppData\Local\Temp\pip-install-c07n3_wi\numpy\numpy\distutils\system_info.py:1748: 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.
return getattr(self, '_calc_info_{}'.format(name))()
NOT AVAILABLE
numpy_linalg_lapack_lite:
FOUND:
language = c
define_macros = [('HAVE_BLAS_ILP64', None), ('BLAS_SYMBOL_SUFFIX', '64_')]
c:\users\lenovo\appdata\local\programs\python\python39\lib\distutils\dist.py:274: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
running dist_info
running build_src
build_src
building py_modules sources
creating build
creating build\src.win-amd64-3.9
creating build\src.win-amd64-3.9\numpy
creating build\src.win-amd64-3.9\numpy\distutils
building library "npymath" sources
error: Microsoft Visual C++ 14.0 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\users\lenovo\appdata\local\programs\python\python39\python.exe' 'c:\users\lenovo\appdata\local\programs\python\python39\lib\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\lenovo\AppData\Local\Temp\tmpmtdh020c' Check the logs for full command output.
那么,为什么会这样呢?
最佳答案
Python 3.9 于 3 天前发布(今天 - 2020 年 10 月 8 日)。它还没有用于 numpy 的轮子。
见 here
But it’s so soon after 3.9’s release, many packages don’t have wheelsfor Python 3.9 yet. For example, as of October 6th neither the PyPIfile listing for NumPy (a Pandas dependency) nor the file listing forPandas show Python 3.9 wheels. You can, of course, compile thesepackages from source, assuming they work out of the box with Python3.9–but that takes a bunch more effort (setting up compilers) and time.
关于python - 尝试在 python3.9 中安装 numpy 并在 Windows 10 中准备车轮元数据时出错。我没有使用虚拟环境进行检查,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64256526/
最终目标:我想要由 Git 跟踪的文件,但让这些文件对于所有分支都是相同的版本。如果您使用 gitignore 文件,则所有分支的文件都是相同的,但不幸的是不会被跟踪。当我跑 git push或类似的
我想从 PDF 文件中删除元数据。我已经尝试使用“exiftool”、“pdftk”和“qpdf”来删除元数据(建议的方法 - https://gist.github.com/hubgit/60783
AWS EC2 元数据从 EC2 提供了有关其自身的必要信息(废话!) - 是否有任何与 lambda 等效的信息。 我了解与 EC2 不同的 lambda 函数的 Multi-Tenancy 和短期
我正在使用 libavformat(即 C 库)将 MPEG4/H264 编码为 mp4 文件,我想在 MP4 文件中添加一些元数据,例如日期/时间。有人可以告诉我如何做到这一点吗? 谢谢。 最佳答案
有谁知道任何允许从 .jpg 图像中提取 java 元数据的类?或者可能是一些有用的代码? 谢谢! 最佳答案 我维护着一个库,正是这样做的。 https://github.com/drewnoakes
我尝试找出如何从媒体获取元数据有一段时间了,但到目前为止没有任何效果。我有类 Song,其中有 SimpleStringProperties,如标题、艺术家等。我尝试在类构造函数中为它们设置值: pr
我已经多次遇到这个问题,并且从不喜欢所选择的解决方案。假设您在数据库中有一个状态列表(作为一个简单的示例)。在您的代码隐藏中,您希望能够通过 ID 引用状态并通过 Intellisense 获得状态列
我在我的应用程序中使用 google 登录并从 google 获取用户个人资料信息。 我已经测试过,它在我这边工作正常,但苹果拒绝了它。我没有发现任何错误。 苹果拒绝原因:“Verify is you
我正在开发一个基于 MySQL 数据库的 Web 应用程序。我需要收集和分析使用情况和性能统计数据。统计数据将针对非技术人员。 如何实现此功能?您应该将我的问题视为编程问题,但如果您知道合适的工具或扩
我对如何保存表格行的元数据有疑问。 例如,我有一个表,其中包含有关图像 items_images 的数据。编号,整数(20)标题,VARCHAR(255)添加日期,DATETIME... 现在我想添加
我不明白为什么我必须在 list 中使用两个元数据元素才能开始运行我的 Google Maps API v2 项目。这些标签的用途是什么? 最佳答案 元数据是指有关数据的数据。 关于java -
如何获取 SharePoint 文档库中项目的内容类型列或元数据? 此链接提供了我不需要的文件属性 http://msdn.microsoft.com/en-us/library/microsoft.
我很确定这是可能的,只是不确定它的术语是什么以及如何去做。基本上,如果您右键单击任何文件并转到属性,然后转到摘要,您可以向文件添加评论等。 我想知道的是,您将如何从 C# 中有问题地执行此操作。此外,
在我的应用程序中,我正在从 Assets 库中检索 UIImage,该图像具有元数据。然后,该应用程序会调整图像大小并旋转图像,从而创建新图像。新图像没有预期的原始元数据,但如何在上传前将元数据添加回
Java 通过JDBC获得连接以后,得到一个Connection 对象,可以从这个对象获得有关数据库管理系统的各种信息,包括数据库中的各个表,表中的各个列,数据类型,触发器,存储过程等各方面的信息。
想知道是否有人知道扩展或配置 Breeze 以便服务器返回实体元数据中的附加信息的任何方法?我想使用这些附加数据来协助验证。 假设我有一个应用了一些数据注释的实体模型: public class Pe
我正在寻找将 MEF 用于我正在构建的应用程序的插件系统。我希望每个组件在(GUID)上都有一个我希望能够查找的标识符。但是,此 ID 在处理导出部件时也很有用。 有没有一种方法可以让我在导出的部分上
我对不完整的视频有疑问。例如上传失败的视频。如果您使用 ffmpeg -i 检查其元数据您将获得 1 小时的持续时间,但实际上只有 10mb 已上传到服务器,实际持续时间约为 7 分钟。查找这些视频
我在使用 FFmpeg 覆盖视频文件上的元数据时遇到了一些问题,这些文件之前已经添加了元数据(FFmpeg 也添加了以前的元数据)。 所以我使用ffmpeg -i path/to/video file
我有两个项目组想要加入: A B 使用常规连接会给我一个包含 4 个项目的集合: ServerA with Metadata A; ServerB with Metad
我是一名优秀的程序员,十分优秀!