相关疑难解决方法(0)

需要 MS Visual C++ 14.1。但已经安装了

我在 Windows 10 上使用 pypy3.6-v7.3.0。我正在尝试使用 numpy 安装pip install numpy,但我不断收到错误:

错误:需要 Microsoft Visual C++ 14.1。使用“Visual Studio 构建工具”获取它:https://visualstudio.microsoft.com/downloads/`

但是,我已经安装了 Visual Studio Community 2019,并且我的 C++ 构建工具完全是最新的。

这是手动安装构建工具后出现的新错误:

Collecting numpy
  Using cached https://files.pythonhosted.org/packages/2d/f3/795e50e3ea2dc7bc9d1a2eeea9997d5dce63b801e08dfc37c2efce341977/numpy-1.18.4.zip
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... error
    Complete output from command C:\Users\Chris\AppData\Local\Programs\Python\pypy3.6-v7.3.0-win32\pypy3.exe C:\Users\Chris\AppData\Local\Programs\Python\pypy3.6-v7.3.0-win32\site-packages\pip-19.0.3-py3.6.egg\pip\_vendor\pep517\_in_process.py prepare_metadata_for_build_wheel C:\Users\Chris\AppData\Local\Temp\tmpjxmz4c4z:
    Processing numpy/random\_bounded_integers.pxd.in
    Processing numpy/random\mtrand.pyx
    Processing numpy/random\_bit_generator.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: …
Run Code Online (Sandbox Code Playgroud)

python pypy pip

5
推荐指数
1
解决办法
7668
查看次数

Python 3.9.1 的 dlib 安装错误。如何知道哪个版本兼容?

我已经安装了 CMake,现在正在尝试为人脸识别项目安装 dlib。我看过一些视频,问题似乎是兼容性问题。对于 Python 3.9.1 哪个版本的 dlib 更兼容?我尝试使用 pip 安装 dlib,手动下载它,但仍然显示以下错误:

WARNING: Value for scheme.headers does not match. Please report this to <https://github.com/pypa/pip/issues/9617>
distutils: c:\users\aviparna.biswas\appdata\local\programs\python\python39\Include\UNKNOWN
sysconfig: c:\users\aviparna.biswas\appdata\local\programs\python\python39\Include
WARNING: Additional context:
user = False
home = None
root = None
prefix = None
Collecting dlib
  Using cached dlib-19.22.0.tar.gz (7.4 MB)
Building wheels for collected packages: dlib
  Building wheel for dlib (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: 'c:\users\aviparna.biswas\appdata\local\programs\python\python39\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; …
Run Code Online (Sandbox Code Playgroud)

opencv cmake dlib

1
推荐指数
1
解决办法
7440
查看次数

标签 统计

cmake ×1

dlib ×1

opencv ×1

pip ×1

pypy ×1

python ×1