- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我已经有一段时间了,到处寻找答案,但是我仍然没有解决方案。
我正在尝试通过Windows上的Pip与PyPy安装numpy。
确保Pip之后,升级Wheel,Setuptools,Pip并运行命令:pip3 install numpy-我收到一个长错误,它似乎在尝试使用各种编译器安装numpy,但失败了。它吐出一个错误:
C:\Users\kadth>pip3 install numpy
Defaulting to user installation because normal site-packages is not writeable
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:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\pypy3.exe' 'c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\kadth\AppData\Local\Temp\tmpic_f4ajo'
cwd: C:\Users\kadth\AppData\Local\Temp\pip-install-ciif09v5\numpy
Complete output (190 lines):
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:
customize MSVCCompiler
libraries mkl_rt not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
blis_info:
libraries blis not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
openblas_info:
libraries openblas not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\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:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
atlas_3_10_blas_info:
libraries satlas not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
accelerate_info:
NOT AVAILABLE
blas_info:
libraries blas not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
blas_src_info:
NOT AVAILABLE
NOT AVAILABLE
non-existing path in 'numpy\\distutils': 'site.cfg'
lapack_opt_info:
lapack_mkl_info:
libraries mkl_rt not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
openblas_lapack_info:
libraries openblas not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
openblas_clapack_info:
libraries openblas,lapack not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
flame_info:
libraries flame not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
atlas_3_10_threads_info:
Setting PTATLAS=ATLAS
libraries lapack_atlas not found in C:\
libraries tatlas,tatlas not found in C:\
libraries lapack_atlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\libs
libraries tatlas,tatlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\libs
<class 'numpy.distutils.system_info.atlas_3_10_threads_info'>
NOT AVAILABLE
atlas_3_10_info:
libraries lapack_atlas not found in C:\
libraries satlas,satlas not found in C:\
libraries lapack_atlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\libs
libraries satlas,satlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\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:\
libraries ptf77blas,ptcblas,atlas not found in C:\
libraries lapack_atlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\libs
libraries ptf77blas,ptcblas,atlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\libs
<class 'numpy.distutils.system_info.atlas_threads_info'>
NOT AVAILABLE
atlas_info:
libraries lapack_atlas not found in C:\
libraries f77blas,cblas,atlas not found in C:\
libraries lapack_atlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\libs
libraries f77blas,cblas,atlas not found in c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\libs
<class 'numpy.distutils.system_info.atlas_info'>
NOT AVAILABLE
lapack_info:
libraries lapack not found in ['C:\\', 'c:\\programdata\\chocolatey\\lib\\pypy3\\tools\\pypy3.6-v7.3.1-win32\\libs']
NOT AVAILABLE
lapack_src_info:
NOT AVAILABLE
NOT AVAILABLE
numpy_linalg_lapack_lite:
FOUND:
language = c
running dist_info
running build_src
build_src
building py_modules sources
creating build
creating build\src.win32-3.6
creating build\src.win32-3.6\numpy
creating build\src.win32-3.6\numpy\distutils
building library "npymath" sources
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()
C:\Users\kadth\AppData\Local\Temp\pip-install-ciif09v5\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):
C:\Users\kadth\AppData\Local\Temp\pip-install-ciif09v5\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):
C:\Users\kadth\AppData\Local\Temp\pip-install-ciif09v5\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):
C:\Users\kadth\AppData\Local\Temp\pip-install-ciif09v5\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))()
C:\Users\kadth\AppData\Local\Temp\pip-install-ciif09v5\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))()
c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\lib-python\3\distutils\dist.py:261: UserWarning: Unknown distribution option: 'define_macros'
warnings.warn(msg)
error: Microsoft Visual C++ 14.1 is required. Get it with "Build Tools for Visual Studio": https://visualstudio.microsoft.com/downloads/
----------------------------------------
ERROR: Command errored out with exit status 1: 'c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\pypy3.exe' 'c:\programdata\chocolatey\lib\pypy3\tools\pypy3.6-v7.3.1-win32\site-packages\pip\_vendor\pep517\_in_process.py' prepare_metadata_for_build_wheel 'C:\Users\kadth\AppData\Local\Temp\tmpic_f4ajo' Check the logs for full command output.
现在,我尝试安装Microsoft Visual C++构建工具14.1 +。我已经尝试了几乎所有的组合,并使用多种方法(例如通过Chocolatey)卸载了重新安装的Microsoft Visual C++构建工具和PyPy。 Setuptools,Wheel和Pip均已更新为最新版本。
最佳答案
然后NumPy的下一版本将支持PyPy win32轮子。您可以获得预览here,并且可以通过pypy3 -m pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
安装。
关于python - 尝试使用PyPy v7.3.1安装Numpy,围绕建筑轮子的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64021877/
这是一种复杂的情况。我正在重构(从头开始)c++,它必须用作 CGI 脚本和独立应用程序的核心。 遗憾的是,我从大学开始就没有写过C++,对c#/Java比较熟悉。所以我打算将 WPF 用于 GUI。
您好,我正在尝试找出与此线程中提出的问题相同的问题 How to use CSS to surround a number with a circle? 但是 - 每次我这样做时,形状都会变成椭圆形,
如果您在单个语句中执行某些操作,例如“abc”+ stringval +“abc”,那么是一个不可变的字符串副本,还是两个(注意 abc 和 123 在编译时是常量) 奖励回合:使用像下面这样的 St
我正在尝试创建一个查询,该查询只会在满足某些条件的情况下添加 AND 子句。 这就是我所追求的: SELECT DISTINCT id name active FROM team WHER
在使用 Google 的出色绘图工具进行了一些试验后,我正在使用 Gnuplot 绘制几个 3D 图形。我喜欢 Google 工具的一件事是它在表面周围绘制的“边界框”,这让我更容易看到大小。 有没有
我们最近从solr迁移到 Elasticsearch 。 因此决定以自定义查询格式编写一个包装器,该包装器将转换为 Elasticsearch 查询。将来,如果我们更改为另一个数据存储,则只需要修改此
我有以下内容将音频剪辑的频率绘制为条形音箱: const drawSinewave = function() { requestAnimationFrame(drawSinewave);
我试图围绕其父矩形的中心旋转一个矩形。 child 到 parent 边界的距离必须始终保持不变。我几乎成功了,但我的方法似乎有一个小错误。我似乎找不到问题所在。 示例: http://jsfiddl
我有一个帮助类来将用户对象保存到共享首选项。我用过 serialize(): String函数和 create(serializedString: String)我的 User 中的函数数据模型。他们
是否可以围绕 UIBezierPath 的可见部分绘制路径? 这是我的问题的一个例子 这是我想要完成的 这是我到目前为止得到的: - (void)drawRect:(CGRect)rect { C
这里,AsciiChecker启用文本形式的矩阵规范。 abstract class AsciiChecker extends AlgoritmicChecker { String[] asc
目前,我有十个不同的查询,它们通过 JDBC 处理,并包装在返回 ResultSet 的函数中。这些 ResultSet 对象中的每一个都由外部程序进行迭代,并将通过其索引而不是根据要求的列名进行访问
围绕 finder 方法启动事务是否明智: @Transactional public E getParticularEvent(final String id) { return (E)em
我需要一个围绕 Canvas 边缘移动的圆圈。向右然后向下移动可以正常工作,但是当它需要向左移动时,它会跳到右下角并开始一次又一次地向右移动。我不知道如何解决这个问题。 var can = doc
我正在尝试我的第一个 jQuery 插件。 (耶……时间到了!) 我很难思考如何让一个可公开访问的函数正常启动。 代码 (function($, doc, win){ "use strict"
在阅读了很多关于绕相机旋转的指南并询问了一些关于 SO 的其他问题后,我想到了 SSCCE我到目前为止所拥有的。也许这样其他人会更容易理解我需要什么,对我来说答案是什么。 到目前为止它看起来像这样:
这里是 Java 菜鸟!我正在努力为我正在编写的 Android 应用程序画龙点睛。本质上,它是一个 RSS 阅读器。异步任务获取 RSS 提要。然后对其进行解析,我想做的最后一点是使用已解析的 RS
我有以下代码,从数据库的“类(class)”表中选择标题和图像。 setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
我正在尝试实现一个表盘,其中一只手的位图图像围绕 Canvas 上的表盘中心旋转。 基本上在 onDraw() 方法中,我希望能够将图像资源放到 Canvas 上,然后每秒旋转一次。 我有每秒触发一次
我从 SwingX 找到了一个名为 JXLoginPane 的组件在 WindowBuilder 中可用,这似乎是我尝试做的事情的一个很好的起点,但我需要有关如何使用它的更多信息。到目前为止,我发现唯
我是一名优秀的程序员,十分优秀!