您正在使用什么版本的gRPC和使用什么语言? 最新的 什么操作系统(Linux,Windows等)和版本? Windows 10服务器 您正在使用什么运行时/编译器(例如python版本或gcc版本)python 你做了什么? 试图从pip install命令安装
错误:命令错误,退出状态为1:命令: 'c:\ users \ administrator \ appdata \ local \ programs \ python \ python38-32 \ python.exe' -u -c'导入sys,setuptools,令牌化; sys.argv [0] ='“'”'C:\ Users \ Administrator \ AppData \ Local \ Temp \ 2 \ pip-install-6hv8xzb8 \ grpcio \ setup.py'“”';; 文件 ='“'”'C:\ Users \ Administrator \ AppData \ Local \ Temp \ 2 \ pip-install-6hv8xzb8 \ grpcio \ setup.py'“'”'; f = getattr(标记化, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“'”'\\ n'“'”'); f.close(); exec(compile(code, file ,'“'”'exec'“'”')))' 安装-记录 'C:\ Users \ Administrator \ AppData \ Local \ Temp \ 2 \ pip-record-nkilt9xu \ install-record.txt' -单一版本-外部管理-编译 CWD:C:\ Users \ Administrator \ AppData \ Local \ Temp \ 2 \ pip-install-6hv8xzb8 \ grpcio \ 完整输出(66行):找到了cython生成的文件...正在运行 安装正在运行的构建正在运行的build_py正在运行的build_project_metadata 创建python_build创建python_build \ lib.win32-3.8创建 python_build \ lib.win32-3.8 \ grpc复制 src \ python \ grpcio \ grpc_auth.py-> python_build \ lib.win32-3.8 \ grpc 复制src \ python \ grpcio \ grpc_channel.py-> python_build \ lib.win32-3.8 \ grpc复制 src \ python \ grpcio \ grpc_common.py-> python_build \ lib.win32-3.8 \ grpc 复制src \ python \ grpcio \ grpc_compression.py-> python_build \ lib.win32-3.8 \ grpc复制 src \ python \ grpcio \ grpc_grpcio_metadata.py-> python_build \ lib.win32-3.8 \ grpc复制 src \ python \ grpcio \ grpc_interceptor.py-> python_build \ lib.win32-3.8 \ grpc复制 src \ python \ grpcio \ grpc_plugin_wrapping.py-> python_build \ lib.win32-3.8 \ grpc复制 src \ python \ grpcio \ grpc_server.py-> python_build \ lib.win32-3.8 \ grpc 复制src \ python \ grpcio \ grpc_utilities.py-> python_build \ lib.win32-3.8 \ grpc复制 src \ python \ grpcio \ grpc__init __。py-> python_build \ lib.win32-3.8 \ grpc 创建python_build \ lib.win32-3.8 \ grpc \ beta复制 src \ python \ grpcio \ grpc \ beta \ implementations.py-> python_build \ lib.win32-3.8 \ grpc \ beta复制 src \ python \ grpcio \ grpc \ beta \ interfaces.py-> python_build \ lib.win32-3.8 \ grpc \ beta复制 src \ python \ grpcio \ grpc \ beta \ utilities.py-> python_build \ lib.win32-3.8 \ grpc \ beta复制 src \ python \ grpcio \ grpc \ beta_client_adaptations.py-> python_build \ lib.win32-3.8 \ grpc \ beta复制 src \ python \ grpcio \ grpc \ beta_metadata.py-> python_build \ lib.win32-3.8 \ grpc \ beta复制 src \ python \ grpcio \ grpc \ beta_server_adaptations.py-> python_build \ lib.win32-3.8 \ grpc \ beta复制 src \ python \ grpcio \ grpc \ beta__init __。py-> python_build \ lib.win32-3.8 \ grpc \ beta创建 python_build \ lib.win32-3.8 \ grpc \实验复制 src \ python \ grpcio \ grpc \ experimental \ gevent.py-> python_build \ lib.win32-3.8 \ grpc \实验复制 src \ python \ grpcio \ grpc \ experimental \ session_cache.py-> python_build \ lib.win32-3.8 \ grpc \实验复制 src \ python \ grpcio \ grpc \ experimental__init __。py-> python_build \ lib.win32-3.8 \ grpc \实验创建 python_build \ lib.win32-3.8 \ grpc \ framework复制 src \ python \ grpcio \ grpc \ framework__init __。py-> python_build \ lib.win32-3.8 \ grpc \ framework创建 python_build \ lib.win32-3.8 \ grpc_cython复制 src \ python \ grpcio \ grpc_cython__init __。py-> python_build \ lib.win32-3.8 \ grpc_cython创建 python_build \ lib.win32-3.8 \ grpc \ experimental \ aio复制 src \ python \ grpcio \ grpc \ experimental \ aio_channel.py-> python_build \ lib.win32-3.8 \ grpc \ experimental \ aio复制 src \ python \ grpcio \ grpc \ experimental \ aio_server.py-> python_build \ lib.win32-3.8 \ grpc \ experimental \ aio复制 src \ python \ grpcio \ grpc \ experimental \ aio__init __。py-> python_build \ lib.win32-3.8 \ grpc \ experimental \ aio创建 python_build \ lib.win32-3.8 \ grpc \ framework \普通复制 src \ python \ grpcio \ grpc \ framework \ common \ cardinality.py-> python_build \ lib.win32-3.8 \ grpc \ framework \普通复制 src \ python \ grpcio \ grpc \ framework \ common \ style.py-> python_build \ lib.win32-3.8 \ grpc \ framework \普通复制 src \ python \ grpcio \ grpc \ framework \ common__init __。py-> python_build \ lib.win32-3.8 \ grpc \ framework \常见创建 python_build \ lib.win32-3.8 \ grpc \ framework \ foundation复制 src \ python \ grpcio \ grpc \ framework \ foundation \ abandonment.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ foundation复制 src \ python \ grpcio \ grpc \ framework \ foundation \ callable_util.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ foundation复制 src \ python \ grpcio \ grpc \ framework \ foundation \ future.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ foundation复制 src \ python \ grpcio \ grpc \ framework \ foundation \ logging_pool.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ foundation复制 src \ python \ grpcio \ grpc \ framework \ foundation \ stream.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ foundation复制 src \ python \ grpcio \ grpc \ framework \ foundation \ stream_util.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ foundation复制 src \ python \ grpcio \ grpc \ framework \ foundation__init __。py-> python_build \ lib.win32-3.8 \ grpc \ framework \ Foundation创建 python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces复制 src \ python \ grpcio \ grpc \ framework \ interfaces__init __。py-> python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces创建 python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ base复制 src \ python \ grpcio \ grpc \ framework \ interfaces \ base \ base.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ base复制 src \ python \ grpcio \ grpc \ framework \ interfaces \ base \ utilities.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ base复制 src \ python \ grpcio \ grpc \ framework \ interfaces \ base__init __。py-> python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ base创建 python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ face复制 src \ python \ grpcio \ grpc \ framework \ interfaces \ face \ face.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ face复制 src \ python \ grpcio \ grpc \ framework \ interfaces \ face \ utilities.py-> python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ face复制 src \ python \ grpcio \ grpc \ framework \ interfaces \ face__init __。py-> python_build \ lib.win32-3.8 \ grpc \ framework \ interfaces \ face创建 python_build \ lib.win32-3.8 \ grpc_cython_cygrpc复制 src \ python \ grpcio \ grpc_cython_cygrpc__init __。py-> python_build \ lib.win32-3.8 \ grpc_cython_cygrpc创建 python_build \ lib.win32-3.8 \ grpc_cython_credentials复制 src \ python \ grpcio \ grpc_cython_credentials \ roots.pem-> 运行build_ext的python_build \ lib.win32-3.8 \ grpc_cython_credentials 错误:[WinError 2]无法通过il文件指定 ----------------------------------------错误:命令错误,退出状态为1: 'c:\ users \ administrator \ appdata \ local \ programs \ python \ python38-32 \ python.exe' -u -c'导入sys,setuptools,令牌化; sys.argv [0] ='“'”'C:\ Users \ Administrator \ AppData \ Local \ Temp \ 2 \ pip-install-6hv8xzb8 \ grpcio \ setup.py'“”';; file ='“'”'C:\ Users \ Administrator \ AppData \ Local \ Temp \ 2 \ pip-install-6hv8xzb8 \ grpcio \ setup.py'“'”'; f = getattr(tokenize, '“”“'open'”'“,打开)(文件); code = f.read()。replace('”'“'\ r \ n'”'“', '“”“'\ n'”'“'); f.close(); exec(compile(code,file,'”'“'exec'”'“'')))' 安装-记录 'C:\ Users \ Administrator \ AppData \ Local \ Temp \ 2 \ pip-record-nkilt9xu \ install-record.txt' --single-v
ersion-externally-managed---compile检查日志以获取完整的命令输出。
打算像在我的个人计算机上一样安装它
答案 0 :(得分:0)
gRPC小组在跟踪添加3.8个预编译的轮子{{3}}时遇到问题。当前,仅在Linux中提供3.8轮子,而Windows或macOS则不提供。我建议: