Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

你好,可尝试将下面位置的develop修改为0.0.0.dev以绕过新版本setuptools的PEP440检查: #97

Open
lee0019 opened this issue Oct 29, 2024 · 3 comments

Comments

@lee0019
Copy link

lee0019 commented Oct 29, 2024

          你好,可尝试将下面位置的`develop`修改为`0.0.0.dev`以绕过新版本setuptools的PEP440检查:

https://github.com/PaddlePaddle/PaddleRS/blob/da1a7457e37b7a70ccf6045f4be08077efa1e0d4/paddlers/__init__.py#L15

Originally posted by @Bobholamovic in #66 (comment)

@lee0019
Copy link
Author

lee0019 commented Oct 29, 2024

为什么我在修改完之后还是报出
Obtaining file:///E:/GeoView-0.1.1/GeoView/PaddleRS
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [246 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "E:\GeoView-0.1.1\GeoView\PaddleRS\setup.py", line 16, in
import paddlers
File "E:\GeoView-0.1.1\GeoView\PaddleRS\paddlers_init_.py", line 17, in
from paddlers.utils.env import get_environ_info, init_parallel_env
File "E:\GeoView-0.1.1\GeoView\PaddleRS\paddlers\utils_init_.py", line 28, in
from .visualize import map_display
File "E:\GeoView-0.1.1\GeoView\PaddleRS\paddlers\utils\visualize.py", line 26, in
from paddlers.transforms.functions import to_uint8
File "E:\GeoView-0.1.1\GeoView\PaddleRS\paddlers\transforms_init_.py", line 19, in
from .batch_operators import BatchRandomResize, BatchRandomResizeByShort, BatchPad
File "E:\GeoView-0.1.1\GeoView\PaddleRS\paddlers\transforms\batch_operators.py", line 23, in
from paddle.fluid.dataloader.collate import default_collate_fn
File "D:\Anaconda\envs\geoview\lib\site-packages\paddle\fluid_init
.py", line 36, in
from . import framework
File "D:\Anaconda\envs\geoview\lib\site-packages\paddle\fluid\framework.py", line 35, in
from .proto import framework_pb2
File "D:\Anaconda\envs\geoview\lib\site-packages\paddle\fluid\proto\framework_pb2.py", line 19, in
DESCRIPTOR = _descriptor.FileDescriptor(
File "D:\Anaconda\envs\geoview\lib\site-packages\google\protobuf\descriptor.py", line 1024, in new
return _message.default_pool.AddSerializedFile(serialized_pb)
TypeError: Couldn't build proto file into descriptor pool!
Invalid proto descriptor for file "framework.proto":
paddle.framework.proto.Version.version: "paddle.framework.proto.Version.version" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.Version: "paddle.framework.proto.Version" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.type: "paddle.framework.proto.OpDesc.type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.inputs: "paddle.framework.proto.OpDesc.inputs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.outputs: "paddle.framework.proto.OpDesc.outputs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.attrs: "paddle.framework.proto.OpDesc.attrs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.is_target: "paddle.framework.proto.OpDesc.is_target" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.name: "paddle.framework.proto.OpDesc.Attr.name" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.type: "paddle.framework.proto.OpDesc.Attr.type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.i: "paddle.framework.proto.OpDesc.Attr.i" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.f: "paddle.framework.proto.OpDesc.Attr.f" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.s: "paddle.framework.proto.OpDesc.Attr.s" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.ints: "paddle.framework.proto.OpDesc.Attr.ints" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.floats: "paddle.framework.proto.OpDesc.Attr.floats" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.strings: "paddle.framework.proto.OpDesc.Attr.strings" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.b: "paddle.framework.proto.OpDesc.Attr.b" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.bools: "paddle.framework.proto.OpDesc.Attr.bools" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.block_idx: "paddle.framework.proto.OpDesc.Attr.block_idx" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.l: "paddle.framework.proto.OpDesc.Attr.l" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.blocks_idx: "paddle.framework.proto.OpDesc.Attr.blocks_idx" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.longs: "paddle.framework.proto.OpDesc.Attr.longs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.float64s: "paddle.framework.proto.OpDesc.Attr.float64s" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr: "paddle.framework.proto.OpDesc.Attr" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Var.parameter: "paddle.framework.proto.OpDesc.Var.parameter" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Var.arguments: "paddle.framework.proto.OpDesc.Var.arguments" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Var: "paddle.framework.proto.OpDesc.Var" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc: "paddle.framework.proto.OpDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.type: "paddle.framework.proto.OpProto.type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.inputs: "paddle.framework.proto.OpProto.inputs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.outputs: "paddle.framework.proto.OpProto.outputs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.attrs: "paddle.framework.proto.OpProto.attrs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.comment: "paddle.framework.proto.OpProto.comment" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var.name: "paddle.framework.proto.OpProto.Var.name" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var.comment: "paddle.framework.proto.OpProto.Var.comment" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var.duplicable: "paddle.framework.proto.OpProto.Var.duplicable" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var.intermediate: "paddle.framework.proto.OpProto.Var.intermediate" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var.dispensable: "paddle.framework.proto.OpProto.Var.dispensable" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var.extra: "paddle.framework.proto.OpProto.Var.extra" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var.quant: "paddle.framework.proto.OpProto.Var.quant" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Var: "paddle.framework.proto.OpProto.Var" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Attr.name: "paddle.framework.proto.OpProto.Attr.name" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Attr.type: "paddle.framework.proto.OpProto.Attr.type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Attr.comment: "paddle.framework.proto.OpProto.Attr.comment" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Attr.generated: "paddle.framework.proto.OpProto.Attr.generated" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Attr.extra: "paddle.framework.proto.OpProto.Attr.extra" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Attr.quant: "paddle.framework.proto.OpProto.Attr.quant" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto.Attr: "paddle.framework.proto.OpProto.Attr" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpProto: "paddle.framework.proto.OpProto" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.type: "paddle.framework.proto.VarType.type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.selected_rows: "paddle.framework.proto.VarType.selected_rows" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.lod_tensor: "paddle.framework.proto.VarType.lod_tensor" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.tensor_array: "paddle.framework.proto.VarType.tensor_array" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.reader: "paddle.framework.proto.VarType.reader" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.tuple: "paddle.framework.proto.VarType.tuple" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.string: "paddle.framework.proto.VarType.string" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.strings: "paddle.framework.proto.VarType.strings" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.vocab: "paddle.framework.proto.VarType.vocab" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.BOOL: "paddle.framework.proto.VarType.BOOL" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.BOOL: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "BOOL" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.INT16: "paddle.framework.proto.VarType.INT16" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.INT16: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "INT16" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.INT32: "paddle.framework.proto.VarType.INT32" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.INT32: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "INT32" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.INT64: "paddle.framework.proto.VarType.INT64" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.INT64: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "INT64" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.FP16: "paddle.framework.proto.VarType.FP16" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.FP16: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FP16" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.FP32: "paddle.framework.proto.VarType.FP32" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.FP32: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FP32" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.FP64: "paddle.framework.proto.VarType.FP64" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.FP64: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FP64" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.SIZE_T: "paddle.framework.proto.VarType.SIZE_T" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.SIZE_T: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "SIZE_T" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.UINT8: "paddle.framework.proto.VarType.UINT8" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.UINT8: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "UINT8" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.INT8: "paddle.framework.proto.VarType.INT8" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.INT8: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "INT8" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.BF16: "paddle.framework.proto.VarType.BF16" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.BF16: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "BF16" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.COMPLEX64: "paddle.framework.proto.VarType.COMPLEX64" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.COMPLEX64: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "COMPLEX64" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.COMPLEX128: "paddle.framework.proto.VarType.COMPLEX128" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.COMPLEX128: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "COMPLEX128" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.LOD_TENSOR: "paddle.framework.proto.VarType.LOD_TENSOR" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LOD_TENSOR: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "LOD_TENSOR" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.SELECTED_ROWS: "paddle.framework.proto.VarType.SELECTED_ROWS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.SELECTED_ROWS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "SELECTED_ROWS" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.FEED_MINIBATCH: "paddle.framework.proto.VarType.FEED_MINIBATCH" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.FEED_MINIBATCH: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FEED_MINIBATCH" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.FETCH_LIST: "paddle.framework.proto.VarType.FETCH_LIST" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.FETCH_LIST: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FETCH_LIST" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.STEP_SCOPES: "paddle.framework.proto.VarType.STEP_SCOPES" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.STEP_SCOPES: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "STEP_SCOPES" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.LOD_RANK_TABLE: "paddle.framework.proto.VarType.LOD_RANK_TABLE" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LOD_RANK_TABLE: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "LOD_RANK_TABLE" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.LOD_TENSOR_ARRAY: "paddle.framework.proto.VarType.LOD_TENSOR_ARRAY" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LOD_TENSOR_ARRAY: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "LOD_TENSOR_ARRAY" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.PLACE_LIST: "paddle.framework.proto.VarType.PLACE_LIST" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.PLACE_LIST: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "PLACE_LIST" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.READER: "paddle.framework.proto.VarType.READER" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.READER: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "READER" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.RAW: "paddle.framework.proto.VarType.RAW" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.RAW: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "RAW" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.TUPLE: "paddle.framework.proto.VarType.TUPLE" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.TUPLE: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "TUPLE" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.STRING: "paddle.framework.proto.VarType.STRING" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.STRING: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "STRING" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.STRINGS: "paddle.framework.proto.VarType.STRINGS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.STRINGS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "STRINGS" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.VOCAB: "paddle.framework.proto.VarType.VOCAB" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.VOCAB: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "VOCAB" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.FEED_LIST: "paddle.framework.proto.VarType.FEED_LIST" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.FEED_LIST: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FEED_LIST" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.PSTRING: "paddle.framework.proto.VarType.PSTRING" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.PSTRING: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "PSTRING" must be unique within "paddle.framework.proto.VarType", not just within "Type".
paddle.framework.proto.VarType.Type: "paddle.framework.proto.VarType.Type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.TensorDesc.data_type: "paddle.framework.proto.VarType.TensorDesc.data_type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.TensorDesc.dims: "paddle.framework.proto.VarType.TensorDesc.dims" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.TensorDesc: "paddle.framework.proto.VarType.TensorDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LoDTensorDesc.tensor: "paddle.framework.proto.VarType.LoDTensorDesc.tensor" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LoDTensorDesc.lod_level: "paddle.framework.proto.VarType.LoDTensorDesc.lod_level" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LoDTensorDesc: "paddle.framework.proto.VarType.LoDTensorDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LoDTensorArrayDesc.tensor: "paddle.framework.proto.VarType.LoDTensorArrayDesc.tensor" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LoDTensorArrayDesc.lod_level: "paddle.framework.proto.VarType.LoDTensorArrayDesc.lod_level" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.LoDTensorArrayDesc: "paddle.framework.proto.VarType.LoDTensorArrayDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.ReaderDesc.lod_tensor: "paddle.framework.proto.VarType.ReaderDesc.lod_tensor" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.ReaderDesc: "paddle.framework.proto.VarType.ReaderDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.Tuple.element_type: "paddle.framework.proto.VarType.Tuple.element_type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType.Tuple: "paddle.framework.proto.VarType.Tuple" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarType: "paddle.framework.proto.VarType" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.name: "paddle.framework.proto.VarDesc.name" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.type: "paddle.framework.proto.VarDesc.type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.persistable: "paddle.framework.proto.VarDesc.persistable" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.need_check_feed: "paddle.framework.proto.VarDesc.need_check_feed" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.is_parameter: "paddle.framework.proto.VarDesc.is_parameter" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.stop_gradient: "paddle.framework.proto.VarDesc.stop_gradient" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.attrs: "paddle.framework.proto.VarDesc.attrs" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.Attr.name: "paddle.framework.proto.VarDesc.Attr.name" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.Attr.type: "paddle.framework.proto.VarDesc.Attr.type" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.Attr.i: "paddle.framework.proto.VarDesc.Attr.i" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.Attr.s: "paddle.framework.proto.VarDesc.Attr.s" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.Attr.ints: "paddle.framework.proto.VarDesc.Attr.ints" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc.Attr: "paddle.framework.proto.VarDesc.Attr" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.VarDesc: "paddle.framework.proto.VarDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BlockDesc.idx: "paddle.framework.proto.BlockDesc.idx" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BlockDesc.parent_idx: "paddle.framework.proto.BlockDesc.parent_idx" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BlockDesc.vars: "paddle.framework.proto.BlockDesc.vars" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BlockDesc.ops: "paddle.framework.proto.BlockDesc.ops" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BlockDesc.forward_block_idx: "paddle.framework.proto.BlockDesc.forward_block_idx" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BlockDesc: "paddle.framework.proto.BlockDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpVersion.version: "paddle.framework.proto.OpVersion.version" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpVersion: "paddle.framework.proto.OpVersion" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpVersionMap.pair: "paddle.framework.proto.OpVersionMap.pair" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpVersionMap.OpVersionPair.op_name: "paddle.framework.proto.OpVersionMap.OpVersionPair.op_name" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpVersionMap.OpVersionPair.op_version: "paddle.framework.proto.OpVersionMap.OpVersionPair.op_version" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpVersionMap.OpVersionPair: "paddle.framework.proto.OpVersionMap.OpVersionPair" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpVersionMap: "paddle.framework.proto.OpVersionMap" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.ProgramDesc.blocks: "paddle.framework.proto.ProgramDesc.blocks" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.ProgramDesc.version: "paddle.framework.proto.ProgramDesc.version" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.ProgramDesc.op_version_map: "paddle.framework.proto.ProgramDesc.op_version_map" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.ProgramDesc: "paddle.framework.proto.ProgramDesc" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.INT: "paddle.framework.proto.INT" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.INT: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "INT" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.FLOAT: "paddle.framework.proto.FLOAT" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.FLOAT: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FLOAT" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.STRING: "paddle.framework.proto.STRING" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.STRING: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "STRING" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.INTS: "paddle.framework.proto.INTS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.INTS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "INTS" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.FLOATS: "paddle.framework.proto.FLOATS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.FLOATS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FLOATS" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.STRINGS: "paddle.framework.proto.STRINGS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.STRINGS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "STRINGS" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.BOOLEAN: "paddle.framework.proto.BOOLEAN" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BOOLEAN: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "BOOLEAN" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.BOOLEANS: "paddle.framework.proto.BOOLEANS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BOOLEANS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "BOOLEANS" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.BLOCK: "paddle.framework.proto.BLOCK" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BLOCK: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "BLOCK" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.LONG: "paddle.framework.proto.LONG" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.LONG: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "LONG" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.BLOCKS: "paddle.framework.proto.BLOCKS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.BLOCKS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "BLOCKS" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.LONGS: "paddle.framework.proto.LONGS" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.LONGS: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "LONGS" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.FLOAT64S: "paddle.framework.proto.FLOAT64S" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.FLOAT64S: Note that enum values use C++ scoping rules, meaning that enum values are siblings of their type, not children of it. Therefore, "FLOAT64S" must be unique within "paddle.framework.proto", not just within "AttrType".
paddle.framework.proto.AttrType: "paddle.framework.proto.AttrType" is already defined in file "paddle/fluid/framework/framework.proto".
paddle.framework.proto.OpDesc.Attr.type: "paddle.framework.proto.AttrType" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpDesc.inputs: "paddle.framework.proto.OpDesc.Var" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpDesc.outputs: "paddle.framework.proto.OpDesc.Var" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpDesc.attrs: "paddle.framework.proto.OpDesc.Attr" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpProto.Attr.type: "paddle.framework.proto.AttrType" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpProto.inputs: "paddle.framework.proto.OpProto.Var" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpProto.outputs: "paddle.framework.proto.OpProto.Var" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpProto.attrs: "paddle.framework.proto.OpProto.Attr" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.TensorDesc.data_type: "paddle.framework.proto.VarType.Type" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.LoDTensorDesc.tensor: "paddle.framework.proto.VarType.TensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.LoDTensorArrayDesc.tensor: "paddle.framework.proto.VarType.TensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.ReaderDesc.lod_tensor: "paddle.framework.proto.VarType.LoDTensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.Tuple.element_type: "paddle.framework.proto.VarType.Type" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.type: "paddle.framework.proto.VarType.Type" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.selected_rows: "paddle.framework.proto.VarType.TensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.lod_tensor: "paddle.framework.proto.VarType.LoDTensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.tensor_array: "paddle.framework.proto.VarType.LoDTensorArrayDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.reader: "paddle.framework.proto.VarType.ReaderDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.tuple: "paddle.framework.proto.VarType.Tuple" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.string: "paddle.framework.proto.VarType.TensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.strings: "paddle.framework.proto.VarType.TensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarType.vocab: "paddle.framework.proto.VarType.TensorDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarDesc.Attr.type: "paddle.framework.proto.AttrType" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarDesc.type: "paddle.framework.proto.VarType" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.VarDesc.attrs: "paddle.framework.proto.VarDesc.Attr" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.BlockDesc.vars: "paddle.framework.proto.VarDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.BlockDesc.ops: "paddle.framework.proto.OpDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpVersionMap.OpVersionPair.op_version: "paddle.framework.proto.OpVersion" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.OpVersionMap.pair: "paddle.framework.proto.OpVersionMap.OpVersionPair" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.ProgramDesc.blocks: "paddle.framework.proto.BlockDesc" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.ProgramDesc.version: "paddle.framework.proto.Version" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.
paddle.framework.proto.ProgramDesc.op_version_map: "paddle.framework.proto.OpVersionMap" seems to be defined in "paddle/fluid/framework/framework.proto", which is not imported by "framework.proto". To use it here, please add the necessary import.

  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
这个错误

@jscslld
Copy link
Member

jscslld commented Oct 29, 2024 via email

@lee0019
Copy link
Author

lee0019 commented Oct 29, 2024

ok 谢谢您 祝您生活愉快

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants