
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
eb create myweb 하는데 에러가 납니다.
pip 목록들 삭제하고 다시 올려봤는데도 똑같네요
$ eb logs
Retrieving logs...
============= i-04a6513177b013ada ==============
----------------------------------------
/var/log/eb-engine.log
----------------------------------------
2023/05/08 12:04:49.480889 [INFO] extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/
2023/05/08 12:04:49.480905 [INFO] Running command /bin/sh -c /usr/bin/unzip -q -o /opt/elasticbeanstalk/deployment/app_source_bundle -d /var/app/staging/
2023/05/08 12:04:49.577148 [INFO] finished extracting /opt/elasticbeanstalk/deployment/app_source_bundle to /var/app/staging/ successfully
2023/05/08 12:04:49.577708 [INFO] Executing instruction: RunAppDeployPreBuildHooks
2023/05/08 12:04:49.577804 [INFO] Executing platform hooks in .platform/hooks/prebuild/
2023/05/08 12:04:49.577823 [INFO] The dir .platform/hooks/prebuild/ does not exist
2023/05/08 12:04:49.577826 [INFO] Finished running scripts in /var/app/staging/.platform/hooks/prebuild
2023/05/08 12:04:49.577831 [INFO] Executing instruction: InstallDependency
2023/05/08 12:04:49.577835 [INFO] checking dependencies file
2023/05/08 12:04:49.577845 [INFO] Installing dependencies with requirements.txt by using Pip
2023/05/08 12:04:49.577855 [INFO] Running command /bin/sh -c /var/app/venv/staging-LQM1lest/bin/pip install -r requirements.txt
2023/05/08 12:04:53.976442 [INFO] Collecting awsebcli==3.20.6
Downloading awsebcli-3.20.6.tar.gz (268 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 268.4/268.4 KB 19.2 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting beautifulsoup4==4.12.2
Downloading beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.0/143.0 KB 31.7 MB/s eta 0:00:00
Collecting blinker==1.6.2
Downloading blinker-1.6.2-py3-none-any.whl (13 kB)
Collecting botocore==1.29.99
Downloading botocore-1.29.99-py3-none-any.whl (10.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.5/10.5 MB 110.9 MB/s eta 0:00:00
Collecting bs4==0.0.1
Downloading bs4-0.0.1.tar.gz (1.1 kB)
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting cement==2.8.2
Downloading cement-2.8.2.tar.gz (165 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 165.8/165.8 KB 43.1 MB/s eta 0:00:00
Preparing metadata (setup.py): started
Preparing metadata (setup.py): finished with status 'done'
Collecting certifi==2023.5.7
Downloading certifi-2023.5.7-py3-none-any.whl (156 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 157.0/157.0 KB 37.6 MB/s eta 0:00:00
Collecting charset-normalizer==2.0.12
Downloading charset_normalizer-2.0.12-py3-none-any.whl (39 kB)
Collecting click==8.1.3
Downloading click-8.1.3-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.6/96.6 KB 28.9 MB/s eta 0:00:00
Collecting colorama==0.4.3
Downloading colorama-0.4.3-py2.py3-none-any.whl (15 kB)
Collecting dnspython==2.3.0
Downloading dnspython-2.3.0-py3-none-any.whl (283 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.7/283.7 KB 63.2 MB/s eta 0:00:00
Collecting Flask==2.3.2
Downloading Flask-2.3.2-py3-none-any.whl (96 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 96.9/96.9 KB 30.0 MB/s eta 0:00:00
Collecting idna==3.4
Downloading idna-3.4-py3-none-any.whl (61 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 KB 18.5 MB/s eta 0:00:00
Collecting importlib-metadata==6.6.0
Downloading importlib_metadata-6.6.0-py3-none-any.whl (22 kB)
Collecting itsdangerous==2.1.2
Downloading itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Jinja2==3.1.2
Downloading Jinja2-3.1.2-py3-none-any.whl (133 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.1/133.1 KB 38.4 MB/s eta 0:00:00
Collecting jmespath==1.0.1
Downloading jmespath-1.0.1-py3-none-any.whl (20 kB)
Collecting MarkupSafe==2.1.2
Downloading MarkupSafe-2.1.2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting pathspec==0.10.1
Downloading pathspec-0.10.1-py3-none-any.whl (27 kB)
Collecting pymongo==4.3.3
Downloading pymongo-4.3.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (501 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 501.4/501.4 KB 75.1 MB/s eta 0:00:00
Collecting pypiwin32==223
Downloading pypiwin32-223-py3-none-any.whl (1.7 kB)
Collecting python-dateutil==2.8.2
Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 KB 59.0 MB/s eta 0:00:00
2023/05/08 12:04:53.976476 [INFO] ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
ERROR: No matching distribution found for pywin32==306
2023/05/08 12:04:53.976488 [ERROR] An error occurred during execution of command [app-deploy] - [InstallDependency]. Stop running the command. Error: fail to install dependencies with requirements.txt file with error Command /bin/sh -c /var/app/venv/staging-LQM1lest/bin/pip install -r requirements.txt failed with error exit status 1. Stderr:ERROR: Could not find a version that satisfies the requirement pywin32==306 (from versions: none)
ERROR: No matching distribution found for pywin32==306
2023/05/08 12:04:53.976491 [INFO] Executing cleanup logic
2023/05/08 12:04:53.976578 [INFO] CommandService Response: {"status":"FAILURE","api_version":"1.0","results":[{"status":"FAILURE","msg":"Engine execution has encountered an error.","returncode":1,"events":[{"msg":"Instance deployment failed to install application dependencies. The deployment failed.","timestamp":1683547493976,"severity":"ERROR"},{"msg":"Instance deployment failed. For details, see 'eb-engine.log'.","timestamp":1683547493976,"severity":"ERROR"}]}]}
2023/05/08 12:04:53.976800 [INFO] Platform Engine finished execution on command: app-deploy
2023/05/08 12:09:31.066871 [INFO] Starting...
2023/05/08 12:09:31.066947 [INFO] Starting EBPlatform-PlatformEngine
2023/05/08 12:09:31.066965 [INFO] reading event message file
2023/05/08 12:09:31.067087 [INFO] Engine received EB command cfn-hup-exec
2023/05/08 12:09:31.137300 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:384551867747:stack/awseb-e-thecm2ymja-stack/27089840-ed98-11ed-ba28-06d0f9d06116 -r AWSEBAutoScalingGroup --region ap-northeast-2
2023/05/08 12:09:31.733537 [INFO] Running command /bin/sh -c /opt/aws/bin/cfn-get-metadata -s arn:aws:cloudformation:ap-northeast-2:384551867747:stack/awseb-e-thecm2ymja-stack/27089840-ed98-11ed-ba28-06d0f9d06116 -r AWSEBBeanstalkMetadata --region ap-northeast-2
2023/05/08 12:09:32.235961 [INFO] checking whether command tail-log is applicable to this instance...
2023/05/08 12:09:32.235972 [INFO] this command is applicable to the instance, thus instance should execute command
2023/05/08 12:09:32.235974 [INFO] Engine command: (tail-log)
$ pip list
Package Version
------------------ --------
awsebcli 3.20.6
beautifulsoup4 4.12.2
blinker 1.6.2
botocore 1.29.99
bs4 0.0.1
cement 2.8.2
certifi 2023.5.7
charset-normalizer 2.0.12
click 8.1.3
colorama 0.4.3
dnspython 2.3.0
Flask 2.3.2
idna 3.4
importlib-metadata 6.6.0
itsdangerous 2.1.2
Jinja2 3.1.2
jmespath 1.0.1
MarkupSafe 2.1.2
pathspec 0.10.1
pip 23.1.2
pymongo 4.3.3
pypiwin32 223
python-dateutil 2.8.2
pywin32 306
PyYAML 5.4.1
requests 2.26.0
semantic-version 2.8.5
setuptools 49.2.1
six 1.14.0
soupsieve 2.4.1
termcolor 1.1.0
urllib3 1.26.15
wcwidth 0.1.9
Werkzeug 2.3.3
zipp 3.15.0
