Command 'protoc' not found, but can be installed with

Command 'protoc' not found, but can be installed with

 

(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ protoc object_detection/protos/*.proto --python_out=.

Command 'protoc' not found, but can be installed with:

sudo apt install protobuf-compiler

(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ 

 

sudo apt install protobuf-compiler

(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ sudo apt install protobuf-compiler
[sudo] password for bim: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libcbor0.6 libfido2-1
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libprotobuf-dev libprotobuf-lite17 libprotoc17 zlib1g-dev
The following NEW packages will be installed:
  libprotobuf-dev libprotobuf-lite17 libprotoc17 protobuf-compiler zlib1g-dev
0 upgraded, 5 newly installed, 0 to remove and 92 not upgraded.
Need to get 2,116 kB of archives.
After this operation, 14.4 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libprotobuf-lite17 amd64 3.6.1.3-2ubuntu5 [132 kB]
Get:2 http://security.ubuntu.com/ubuntu focal-security/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu1.3 [155 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libprotoc17 amd64 3.6.1.3-2ubuntu5 [646 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu focal/main amd64 libprotobuf-dev amd64 3.6.1.3-2ubuntu5 [1,155 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu focal/universe amd64 protobuf-compiler amd64 3.6.1.3-2ubuntu5 [27.6 kB]
Fetched 2,116 kB in 2s (884 kB/s)         
Selecting previously unselected package libprotobuf-lite17:amd64.
(Reading database ... 152941 files and directories currently installed.)
Preparing to unpack .../libprotobuf-lite17_3.6.1.3-2ubuntu5_amd64.deb ...
Unpacking libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5) ...
Selecting previously unselected package libprotoc17:amd64.
Preparing to unpack .../libprotoc17_3.6.1.3-2ubuntu5_amd64.deb ...
Unpacking libprotoc17:amd64 (3.6.1.3-2ubuntu5) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.3_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.3) ...
Selecting previously unselected package libprotobuf-dev:amd64.
Preparing to unpack .../libprotobuf-dev_3.6.1.3-2ubuntu5_amd64.deb ...
Unpacking libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5) ...
Selecting previously unselected package protobuf-compiler.
Preparing to unpack .../protobuf-compiler_3.6.1.3-2ubuntu5_amd64.deb ...
Unpacking protobuf-compiler (3.6.1.3-2ubuntu5) ...
Setting up libprotoc17:amd64 (3.6.1.3-2ubuntu5) ...
Setting up protobuf-compiler (3.6.1.3-2ubuntu5) ...
Setting up libprotobuf-lite17:amd64 (3.6.1.3-2ubuntu5) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.3) ...
Setting up libprotobuf-dev:amd64 (3.6.1.3-2ubuntu5) ...
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
/sbin/ldconfig.real: /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_cnn_train.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_ops_train.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_adv_infer.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_cnn_infer.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_ops_infer.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/local/cuda-11.4/targets/x86_64-linux/lib/libcudnn_adv_train.so.8 is not a symbolic link

(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ 
(mask_rcnn_tf2) bim@bim-PowerEdge-R730:~/tensorflow_project/models_20220517/research$ 

 

 

 

########################

posted @ 2022-05-17 23:14  西北逍遥  阅读(773)  评论(0编辑  收藏  举报