锯齿泊坞窗-组成

时间:2020-07-18 13:07:18

标签: blockchain hyperledger-sawtooth

我是Hyperledger锯齿的新手,我从linux基金会下载了edx课程的锯齿示例项目,然后从github克隆了该项目

https://github.com/hyperledger/education-sawtooth-simple-supply

当我使用命令制作docker镜像时

docker-compose up

我收到了这个错误

~/education-sawtooth-simple-supply$ docker-compose up
Starting sawtooth-validator ... 
simple-supply-postgres is up-to-date
Starting sawtooth-validator       ... done
Starting simple-supply-shell ... done
Starting simple-supply-subscriber             ... done
Starting simple-supply-rest-api               ... done
Starting simple-supply-tp                     ... done
Starting sawtooth-devmode-engine-rust-default ... done
Starting sawtooth-settings-tp                 ... done
Starting sawtooth-rest-api                    ... done
Starting curator-app                          ... done
Attaching to simple-supply-postgres, simple-supply-adminer, simple-supply-shell, sawtooth-validator, simple-supply-tp, simple-supply-subscriber, simple-supply-rest-api, sawtooth-devmode-engine-rust-default, sawtooth-settings-tp, sawtooth-rest-api, curator-app
sawtooth-settings-tp        | INFO  | settings_tp:95       | Console logging level: DEBUG
sawtooth-validator          | [2020-07-18 12:26:17.401 WARNING  (unknown file)] [src/pylogger.rs: 40] Started logger at level DEBUG
sawtooth-settings-tp        | INFO  | sawtooth_sdk::proces | connecting to endpoint: tcp://validator:4004
sawtooth-settings-tp        | INFO  | sawtooth_sdk::proces | sending TpRegisterRequest: sawtooth_settings 1.0
simple-supply-adminer       | [Mon Jul 13 06:29:34 2020] PHP 7.4.8 Development Server (http://[::]:8080) started
simple-supply-adminer       | [Mon Jul 13 15:26:34 2020] PHP 7.4.8 Development Server (http://[::]:8080) started
simple-supply-adminer       | [Mon Jul 13 21:31:05 2020] PHP 7.4.8 Development Server (http://[::]:8080) started
simple-supply-postgres      | The files belonging to this database system will be owned by user "postgres".
simple-supply-postgres      | This user must also own the server process.
simple-supply-postgres      | 
simple-supply-postgres      | The database cluster will be initialized with locale "en_US.utf8".
simple-supply-postgres      | The default database encoding has accordingly been set to "UTF8".
simple-supply-postgres      | The default text search configuration will be set to "english".
simple-supply-postgres      | 
simple-supply-postgres      | Data page checksums are disabled.
simple-supply-postgres      | 
simple-supply-adminer       | [Mon Jul 13 21:32:57 2020] [::ffff:172.19.0.1]:43268 Accepted
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43268 [200]: GET /
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43268 Closing
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43272 Accepted
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43272 [200]: GET /?file=default.css&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43272 Closing
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43276 Accepted
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43276 [200]: GET /?file=functions.js&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43276 Closing
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43280 Accepted
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43280 [200]: GET /?file=favicon.ico&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43280 Closing
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43284 Accepted
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43284 [200]: GET /?file=favicon.ico&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:32:58 2020] [::ffff:172.19.0.1]:43284 Closing
simple-supply-adminer       | [Mon Jul 13 21:33:00 2020] [::ffff:172.19.0.1]:43292 Accepted
simple-supply-adminer       | [Mon Jul 13 21:33:00 2020] [::ffff:172.19.0.1]:43292 [200]: POST /?script=version
simple-supply-adminer       | [Mon Jul 13 21:33:00 2020] [::ffff:172.19.0.1]:43292 Closing
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43310 Accepted
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43310 [200]: GET /
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43310 Closing
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43314 Accepted
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43318 Accepted
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43314 [200]: GET /?file=default.css&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43314 Closing
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43318 [200]: GET /?file=functions.js&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43318 Closing
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43322 Accepted
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43322 [200]: GET /?file=favicon.ico&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43322 Closing
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43326 Accepted
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43326 [200]: GET /?file=favicon.ico&version=4.7.7
simple-supply-adminer       | [Mon Jul 13 21:35:55 2020] [::ffff:172.19.0.1]:43326 Closing
simple-supply-adminer       | [Thu Jul 16 17:09:35 2020] PHP 7.4.8 Development Server (http://[::]:8080) started
simple-supply-adminer       | [Thu Jul 16 17:50:08 2020] PHP 7.4.8 Development Server (http://[::]:8080) started
simple-supply-adminer       | [Thu Jul 16 18:00:10 2020] PHP 7.4.8 Development Server (http://[::]:8080) started
simple-supply-adminer       | [Sat Jul 18 11:14:14 2020] PHP 7.4.8 Development Server (http://[::]:8080) started
simple-supply-postgres      | fixing permissions on existing directory /var/lib/postgresql/data ... ok
simple-supply-postgres      | creating subdirectories ... ok
simple-supply-postgres      | selecting dynamic shared memory implementation ... posix
simple-supply-postgres      | selecting default max_connections ... 100
simple-supply-postgres      | selecting default shared_buffers ... 128MB
simple-supply-postgres      | selecting default time zone ... UTC
simple-supply-postgres      | creating configuration files ... ok
simple-supply-postgres      | running bootstrap script ... ok
simple-supply-postgres      | sh: locale: not found
simple-supply-postgres      | 2020-07-13 06:29:45.308 UTC [29] WARNING:  no usable system locales were found
simple-supply-postgres      | performing post-bootstrap initialization ... ok
simple-supply-postgres      | syncing data to disk ... ok
simple-supply-postgres      | 
simple-supply-postgres      | initdb: warning: enabling "trust" authentication for local connections
simple-supply-postgres      | You can change this by editing pg_hba.conf or using the option -A, or
simple-supply-postgres      | --auth-local and --auth-host, the next time you run initdb.
simple-supply-postgres      | 
simple-supply-postgres      | Success. You can now start the database server using:
simple-supply-postgres      | 
simple-supply-postgres      |     pg_ctl -D /var/lib/postgresql/data -l logfile start
simple-supply-postgres      | 
simple-supply-postgres      | waiting for server to start....2020-07-13 06:30:00.043 UTC [34] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-13 06:30:00.156 UTC [34] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-13 06:30:00.467 UTC [35] LOG:  database system was shut down at 2020-07-13 06:29:46 UTC
simple-supply-postgres      | 2020-07-13 06:30:00.538 UTC [34] LOG:  database system is ready to accept connections
simple-supply-postgres      |  done
simple-supply-postgres      | server started
simple-supply-postgres      | CREATE DATABASE
simple-supply-postgres      | 
simple-supply-postgres      | 
simple-supply-postgres      | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
simple-supply-postgres      | 
simple-supply-postgres      | waiting for server to shut down....2020-07-13 06:30:02.921 UTC [34] LOG:  received fast shutdown request
simple-supply-postgres      | 2020-07-13 06:30:02.998 UTC [34] LOG:  aborting any active transactions
simple-supply-postgres      | 2020-07-13 06:30:03.000 UTC [34] LOG:  background worker "logical replication launcher" (PID 41) exited with exit code 1
simple-supply-postgres      | 2020-07-13 06:30:03.000 UTC [36] LOG:  shutting down
simple-supply-postgres      | 2020-07-13 06:30:03.822 UTC [34] LOG:  database system is shut down
simple-supply-postgres      |  done
simple-supply-postgres      | server stopped
simple-supply-postgres      | 
simple-supply-postgres      | PostgreSQL init process complete; ready for start up.
simple-supply-postgres      | 
simple-supply-postgres      | 2020-07-13 06:30:03.958 UTC [1] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-13 06:30:03.959 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
simple-supply-postgres      | 2020-07-13 06:30:03.959 UTC [1] LOG:  listening on IPv6 address "::", port 5432
simple-supply-postgres      | 2020-07-13 06:30:04.073 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-13 06:30:04.307 UTC [45] LOG:  database system was shut down at 2020-07-13 06:30:03 UTC
simple-supply-postgres      | 2020-07-13 06:30:04.400 UTC [1] LOG:  database system is ready to accept connections
simple-supply-postgres      | 2020-07-13 10:18:57.547 UTC [1] LOG:  received smart shutdown request
simple-supply-postgres      | 2020-07-13 10:18:57.630 UTC [1] LOG:  background worker "logical replication launcher" (PID 51) exited with exit code 1
simple-supply-postgres      | 2020-07-13 10:18:57.630 UTC [46] LOG:  shutting down
simple-supply-postgres      | 2020-07-13 10:18:58.177 UTC [1] LOG:  database system is shut down
simple-supply-postgres      | 
simple-supply-postgres      | PostgreSQL Database directory appears to contain a database; Skipping initialization
simple-supply-postgres      | 
simple-supply-postgres      | 2020-07-13 15:26:31.370 UTC [1] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-13 15:26:31.370 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
simple-supply-postgres      | 2020-07-13 15:26:31.370 UTC [1] LOG:  listening on IPv6 address "::", port 5432
simple-supply-postgres      | 2020-07-13 15:26:31.617 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-13 15:26:32.765 UTC [20] LOG:  database system was shut down at 2020-07-13 10:18:58 UTC
simple-supply-postgres      | 2020-07-13 15:26:32.898 UTC [1] LOG:  database system is ready to accept connections
simple-supply-postgres      | 2020-07-13 15:28:29.526 UTC [1] LOG:  received smart shutdown request
simple-supply-postgres      | 2020-07-13 15:28:29.628 UTC [1] LOG:  background worker "logical replication launcher" (PID 26) exited with exit code 1
simple-supply-postgres      | 2020-07-13 15:28:29.628 UTC [21] LOG:  shutting down
simple-supply-postgres      | 2020-07-13 15:28:31.557 UTC [1] LOG:  database system is shut down
simple-supply-postgres      | 
simple-supply-postgres      | PostgreSQL Database directory appears to contain a database; Skipping initialization
simple-supply-postgres      | 
simple-supply-postgres      | 2020-07-13 21:31:05.495 UTC [1] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-13 21:31:05.495 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
simple-supply-postgres      | 2020-07-13 21:31:05.495 UTC [1] LOG:  listening on IPv6 address "::", port 5432
simple-supply-postgres      | 2020-07-13 21:31:06.071 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-13 21:31:06.938 UTC [21] LOG:  database system was shut down at 2020-07-13 15:28:30 UTC
simple-supply-postgres      | 2020-07-13 21:31:07.286 UTC [1] LOG:  database system is ready to accept connections
simple-supply-postgres      | 2020-07-16 16:32:03.710 UTC [1] LOG:  received smart shutdown request
simple-supply-postgres      | 2020-07-16 16:32:04.050 UTC [1] LOG:  background worker "logical replication launcher" (PID 27) exited with exit code 1
simple-supply-postgres      | 2020-07-16 16:32:04.050 UTC [22] LOG:  shutting down
simple-supply-postgres      | 2020-07-16 16:32:06.231 UTC [1] LOG:  database system is shut down
simple-supply-postgres      | 
simple-supply-postgres      | PostgreSQL Database directory appears to contain a database; Skipping initialization
simple-supply-postgres      | 
simple-supply-postgres      | 2020-07-16 17:09:38.106 UTC [1] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-16 17:09:38.106 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
simple-supply-postgres      | 2020-07-16 17:09:38.106 UTC [1] LOG:  listening on IPv6 address "::", port 5432
simple-supply-postgres      | 2020-07-16 17:09:39.587 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-16 17:09:47.756 UTC [21] LOG:  database system was shut down at 2020-07-16 16:32:05 UTC
simple-supply-postgres      | 2020-07-16 17:09:49.480 UTC [1] LOG:  database system is ready to accept connections
simple-supply-postgres      | 2020-07-16 17:11:34.080 UTC [1] LOG:  received smart shutdown request
simple-supply-postgres      | 2020-07-16 17:11:34.608 UTC [1] LOG:  background worker "logical replication launcher" (PID 27) exited with exit code 1
simple-supply-postgres      | 2020-07-16 17:11:34.613 UTC [22] LOG:  shutting down
simple-supply-postgres      | 2020-07-16 17:11:37.246 UTC [1] LOG:  database system is shut down
simple-supply-postgres      | 
simple-supply-postgres      | PostgreSQL Database directory appears to contain a database; Skipping initialization
simple-supply-postgres      | 
simple-supply-postgres      | 2020-07-16 17:50:11.598 UTC [1] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-16 17:50:11.598 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
simple-supply-postgres      | 2020-07-16 17:50:11.598 UTC [1] LOG:  listening on IPv6 address "::", port 5432
simple-supply-postgres      | 2020-07-16 17:50:12.072 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-16 17:50:13.314 UTC [20] LOG:  database system was shut down at 2020-07-16 17:11:36 UTC
simple-supply-postgres      | 2020-07-16 17:50:14.301 UTC [1] LOG:  database system is ready to accept connections
simple-supply-postgres      | 2020-07-16 17:51:37.780 UTC [1] LOG:  received smart shutdown request
simple-supply-postgres      | 2020-07-16 17:51:37.983 UTC [1] LOG:  background worker "logical replication launcher" (PID 26) exited with exit code 1
simple-supply-postgres      | 2020-07-16 17:51:37.984 UTC [21] LOG:  shutting down
simple-supply-postgres      | 2020-07-16 17:51:39.777 UTC [1] LOG:  database system is shut down
simple-supply-postgres      | 
simple-supply-postgres      | PostgreSQL Database directory appears to contain a database; Skipping initialization
simple-supply-postgres      | 
simple-supply-postgres      | 2020-07-16 18:00:11.211 UTC [1] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-16 18:00:11.211 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
simple-supply-postgres      | 2020-07-16 18:00:11.211 UTC [1] LOG:  listening on IPv6 address "::", port 5432
simple-supply-postgres      | 2020-07-16 18:00:11.506 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-16 18:00:12.056 UTC [20] LOG:  database system was shut down at 2020-07-16 17:51:39 UTC
simple-supply-postgres      | 2020-07-16 18:00:12.236 UTC [1] LOG:  database system is ready to accept connections
simple-supply-postgres      | 2020-07-16 18:02:04.451 UTC [1] LOG:  received smart shutdown request
simple-supply-postgres      | 2020-07-16 18:02:04.654 UTC [1] LOG:  background worker "logical replication launcher" (PID 26) exited with exit code 1
simple-supply-postgres      | 2020-07-16 18:02:04.654 UTC [21] LOG:  shutting down
simple-supply-postgres      | 2020-07-16 18:02:05.845 UTC [1] LOG:  database system is shut down
simple-supply-postgres      | 
simple-supply-postgres      | PostgreSQL Database directory appears to contain a database; Skipping initialization
simple-supply-postgres      | 
simple-supply-postgres      | 2020-07-18 11:14:14.788 UTC [1] LOG:  starting PostgreSQL 12.3 on x86_64-pc-linux-musl, compiled by gcc (Alpine 9.3.0) 9.3.0, 64-bit
simple-supply-postgres      | 2020-07-18 11:14:14.789 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
simple-supply-postgres      | 2020-07-18 11:14:14.789 UTC [1] LOG:  listening on IPv6 address "::", port 5432
simple-supply-postgres      | 2020-07-18 11:14:14.869 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
simple-supply-postgres      | 2020-07-18 11:14:15.016 UTC [21] LOG:  database system was shut down at 2020-07-16 18:02:05 UTC
simple-supply-postgres      | 2020-07-18 11:14:15.140 UTC [1] LOG:  database system is ready to accept connections
curator-app                 | [Sat Jul 18 12:26:23.079713 2020] [mpm_event:notice] [pid 1:tid 140502144943232] AH00489: Apache/2.4.43 (Unix) configured -- resuming normal operations
curator-app                 | [Sat Jul 18 12:26:23.231345 2020] [core:notice] [pid 1:tid 140502144943232] AH00094: Command line: 'httpd -D FOREGROUND'
sawtooth-validator          | [2020-07-18 12:26:25.089 DEBUG    ffi] loading library libsawtooth_validator.so
sawtooth-validator          | [2020-07-18 12:26:25.584 DEBUG    ffi] loading library libsawtooth_validator.so
simple-supply-tp            | Traceback (most recent call last):
simple-supply-tp            |   File "/project/sawtooth-simple-supply/bin/simple-supply-tp", line 27, in <module>
simple-supply-tp            |     from simple_supply_tp.main import main
simple-supply-tp            |   File "/project/sawtooth-simple-supply/processor/simple_supply_tp/main.py", line 22, in <module>
simple-supply-tp            |     from simple_supply_tp.handler import SimpleSupplyHandler
simple-supply-tp            |   File "/project/sawtooth-simple-supply/processor/simple_supply_tp/handler.py", line 24, in <module>
simple-supply-tp            |     from simple_supply_protobuf import payload_pb2
simple-supply-tp            |   File "/project/sawtooth-simple-supply/protobuf/simple_supply_protobuf/payload_pb2.py", line 21, in <module>
simple-supply-tp            |     create_key=_descriptor._internal_create_key,
simple-supply-tp            | AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
simple-supply-shell         | Generated protobuf classes: /project/sawtooth-simple-supply/protobuf/simple_supply_protobuf
simple-supply-subscriber    | Traceback (most recent call last):
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/bin/simple-supply-subscriber", line 27, in <module>
simple-supply-subscriber    |     from simple_supply_subscriber.main import main
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/subscriber/simple_supply_subscriber/main.py", line 22, in <module>
simple-supply-subscriber    |     from simple_supply_subscriber.event_handling import get_events_handler
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/subscriber/simple_supply_subscriber/event_handling.py", line 25, in <module>
simple-supply-subscriber    |     from simple_supply_subscriber.decoding import deserialize_data
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/subscriber/simple_supply_subscriber/decoding.py", line 18, in <module>
simple-supply-subscriber    |     from simple_supply_protobuf.agent_pb2 import AgentContainer
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/protobuf/simple_supply_protobuf/agent_pb2.py", line 21, in <module>
simple-supply-subscriber    |     create_key=_descriptor._internal_create_key,
simple-supply-subscriber    | AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
simple-supply-subscriber    | Traceback (most recent call last):
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/bin/simple-supply-subscriber", line 27, in <module>
simple-supply-subscriber    |     from simple_supply_subscriber.main import main
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/subscriber/simple_supply_subscriber/main.py", line 22, in <module>
simple-supply-subscriber    |     from simple_supply_subscriber.event_handling import get_events_handler
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/subscriber/simple_supply_subscriber/event_handling.py", line 25, in <module>
simple-supply-subscriber    |     from simple_supply_subscriber.decoding import deserialize_data
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/subscriber/simple_supply_subscriber/decoding.py", line 18, in <module>
simple-supply-subscriber    |     from simple_supply_protobuf.agent_pb2 import AgentContainer
simple-supply-subscriber    |   File "/project/sawtooth-simple-supply/protobuf/simple_supply_protobuf/agent_pb2.py", line 21, in <module>
simple-supply-subscriber    |     create_key=_descriptor._internal_create_key,
simple-supply-subscriber    | AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
simple-supply-tp exited with code 1
simple-supply-subscriber exited with code 1

我已经尝试过此命令

pip install --upgrade protobuf

但是这个错误仍然存​​在,我不知道为什么以及如何解决

0 个答案:

没有答案