1.Error:
rank.proto: A file with this name is already in the pool.
[E 210422 14:48:32 flask_server:87] grpc request execution failed, details: Couldn't build proto file into descriptor pool!
Invalid proto descriptor for file "rank.proto":
rank.proto: A file with this name is already in the pool.
2. Solutions
(1) Check the current protobuf version, assuming it is 3.12.2
pip3 show protobuf
(2)Uninstall this version
pip uninstall protobuf
(3)Use the following to reinstall the corresponding version
pip install --no-binary protobuf protobuf==3.12.2
Read More:
- Parallel processing in Python (Pool.map(), Pool.starmap(), Pool.apply ())
- Failed to establish a new connection: [winerror 10048] in the requests thread pool, the interface is called circularly to get the datagram error
- Python openpyxl excel open zipfile error resolution: zipfile.BadZipFile: File is not a zip file
- [Solved] NPM install Error: check python checking for Python executable python2 in the PATH
- Chromdriver Install error: File “C:\python37\lib\site-packages\selenium\webdriver\common\service.py”, line 76, in start stdin=PIPE) File…
- Python environment error, bad interpreter: there is no file or directory
- Python recursively traverses all files in the directory to find the specified file
- [Solved] Python Read bam File Error: &&OSError: no BGZF EOF marker; file may be truncated
- Python3 Error: Cannot uninstall ‘numpy’. It is a distutils installed project and thus we cannot accurate
- Python pyqt5 ui Generate .py File Error [How to Solve]
- Invalid python sd, Fatal Python error: init_fs_encoding: failed to get the Python cod [How to Solve]
- Opencv-python Install is Stuck Error: running setup.py bdist_wheel for opencv-python
- Command “/usr/bin/python -u -c “import setuptools, tokenize;__file__=‘/tmp/pip-cus9V0-build/setup.py
- How to Solve Python WARNING: Ignoring invalid distribution -ip (e:\python\python_dowmload\lib\site-packages)
- Pychar can’t connect to Python console, but it can run. Py file, and Anaconda’s command line can run Python command
- The solution of no such file or directory and cannot load native module running error of python3 pyinstaller after packaging
- [Solved] supervisor Error: /usr/local/lib/python2.7/dist-packages/pkg_resources/py2_warn.py:22: UserWarning: Setuptools will stop working on Python 2
- [Solved] Python AssertionError: MMCV==1.1.0 is used but incompatible. Please install mmcv>=1.0.5, <=1.0.5.
- Python: How to Encode the File (including HTML, TXT, Doc, etc.)
- Python failed to import pyx file [How to Solve]