zsh: command not found: conda这个错误提示意味着在你的终端(这里是zsh)中找不到conda命令。这通常发生在Anaconda(或Miniconda)安装之后,但是安装路径没有被添加到你的shell环境变量中,或者是由于某种原因,环境变量被重置了。以下是一些可能帮助解决这个问题的步骤:
然后,重新打开终端或执行source ~/.zshrc来应用更改。这样应该能够解决zsh: command not found: conda的问题,让你能够在macOS的zsh终端中正常使用conda了。
User
TypeError: Descriptors cannot 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).