python3.7 pip安装pypesq报错 python3.7
问题相关代码,请勿粘贴截图
ERROR: Command errored out with exit status 1:
command: 'D:\Miniconda3\python.exe' -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\张博文\\AppData\\Local\\Temp\\pip-install-0rxfol09\\pypesq_223857f
b3a9c4782aa1f31d107102c34\\setup.py'"'"'; __file__='"'"'C:\\Users\\张博文\\AppData\\Local\\Temp\\pip-install-0rxfol09\\pypesq_223857fb3a9c4782aa1f31d107102c34\\setup.py'"'"';f = getatt
r(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\
n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\张博文\AppData\Local\Temp\pip-wheel-sax6dd2w'
cwd: C:\Users\张博文\AppData\Local\Temp\pip-install-0rxfol09\pypesq_223857fb3a9c4782aa1f31d107102c34\
Complete output (18 lines):
running bdist_wheel
running build
running build_py
file numpy.py (for module numpy) not found
creating build
creating build\lib.win-amd64-3.7
creating build\lib.win-amd64-3.7\pypesq
copying pypesq\__init__.py -> build\lib.win-amd64-3.7\pypesq
file numpy.py (for module numpy) not found
running build_ext
building 'pesq_core' extension
creating build\temp.win-amd64-3.7
creating build\temp.win-amd64-3.7\Release
creating build\temp.win-amd64-3.7\Release\pypesq
C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\x86_amd64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -Ipypesq -ID:\Miniconda3\lib\site-packages\numpy\core\include\numpy -I
D:\Miniconda3\include -ID:\Miniconda3\include -ID:\Miniconda3\lib\site-packages\numpy\core\include "-IC:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE" "-IC:\Program File
s (x86)\Windows Kits\8.1\include\shared" "-IC:\Program Files (x86)\Windows Kits\8.1\include\um" "-IC:\Program Files (x86)\Windows Kits\8.1\include\winrt" /Tcpypesq/pesq.c /Fobuild\temp
.win-amd64-3.7\Release\pypesq/pesq.obj
pesq.c
d:\miniconda3\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\BIN\\x86_amd64\\cl.exe' failed with exit status 2
----------------------------------------
ERROR: Failed building wheel for pypesq
运行结果及报错内容
我的解答思路和尝试过的方法
我想要达到的结果