部署时出现此错误:
.tooltip1:hover .tooltiptext {
visibility: visible;
position: relative;
z-index: 99;
}
我可以通过从我的requirements.txt中删除(eb-virt) Williams-MacBook-Air-3:cauradata Will$ eb deploy
Creating application version archive "app-64e9-180927_104340".
Uploading cauradata/app-64e9-180927_104340.zip to S3. This may take a while.
Upload Complete.
2018-09-27 09:43:46 INFO Environment update is starting.
2018-09-27 09:43:50 INFO Deploying new version to instance(s).
2018-09-27 09:44:00 ERROR [Instance: i-0528be315c519a4c2] Command failed on instance. Return code: 1 Output: (TRUNCATED)...n/run/venv/local/lib64/python3.6/site-packages/pymongo/uri_parser.py", line 351, in parse_uri
raise ConfigurationError('The "dnspython" module must be '
pymongo.errors.ConfigurationError: The "dnspython" module must be installed to use mongodb+srv:// URIs.
container_command 01_migrate in .ebextensions/db-migrate.config failed. For more detail, check /var/log/eb-activity.log using console or EB CLI.
2018-09-27 09:44:00 INFO Command execution completed on all instances. Summary: [Successful: 0, Failed: 1].
2018-09-27 09:44:00 ERROR Unsuccessful command execution on instance id(s) 'i-0528be315c519a4c2'. Aborting the operation.
2018-09-27 09:44:00 ERROR Failed to deploy application.
来重现此错误,表明部署时可能未正确安装?