baseline中使用的ray版本?
chawuchen opened this issue · 0 comments
直接pip install ray再运行baseline_track1会报错,求指教
Traceback (most recent call last):
File "baseline_track1_navigation.py", line 28, in
import ray
File "/opt/conda/envs/wildscav/lib/python3.8/site-packages/ray/init.py", line 72, in
import ray._raylet # noqa: E402
File "python/ray/_raylet.pyx", line 108, in init ray._raylet
File "/opt/conda/envs/wildscav/lib/python3.8/site-packages/ray/exceptions.py", line 7, in
from ray.core.generated.common_pb2 import RayException, Language, PYTHON
File "/opt/conda/envs/wildscav/lib/python3.8/site-packages/ray/core/generated/common_pb2.py", line 33, in
_descriptor.EnumValueDescriptor(
File "/opt/conda/envs/wildscav/lib/python3.8/site-packages/google/protobuf/descriptor.py", line 755, in new
_message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
- Downgrade the protobuf package to 3.20.x or lower.
- Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).