
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
pip install awsebcli 패키지 설치하기중 에러
에러 코드
(venv) Jeong-Dae@mannix deploy % pip install awsebcli
Collecting awsebcli
Downloading https://files.pythonhosted.org/packages/31/60/5bd0b5df1b02cffaa9b28dcb6feca1538ea6bfa85b39f8ef424a42d4c33b/awsebcli-3.20.6.tar.gz (268kB)
|████████████████████████████████| 276kB 1.3MB/s
Collecting botocore<1.29.100,>1.23.41 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/28/90/36510bfbef36504adb68453e730ed199553a691b03c245591277c68cebdc/botocore-1.29.99-py3-none-any.whl (10.5MB)
|████████████████████████████████| 10.5MB 13.5MB/s
Collecting cement==2.8.2 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/70/60/608f0b8975f4ee7deaaaa7052210d095e0b96e7cd3becdeede9bd13674a1/cement-2.8.2.tar.gz (165kB)
|████████████████████████████████| 174kB 46.4MB/s
Collecting colorama<0.4.4,>=0.2.5 (from awsebcli)
Collecting pathspec==0.10.1 (from awsebcli)
Collecting python-dateutil<3.0.0,>=2.1 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/36/7a/87837f39d0296e723bb9b62bbb257d0355c7f6128853c78955f57342a56d/python_dateutil-2.8.2-py2.py3-none-any.whl (247kB)
|████████████████████████████████| 256kB 43.4MB/s
Collecting requests<=2.26,>=2.20.1 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/92/96/144f70b972a9c0eabbd4391ef93ccd49d0f2747f4f6a2a2738e99e5adc65/requests-2.26.0-py2.py3-none-any.whl (62kB)
|████████████████████████████████| 71kB 22.2MB/s
Requirement already satisfied: setuptools>=20.0 in /Users/Jeong-Dae/Documents/Coding Club/Sparta/Projects/05.fan/venv/lib/python3.8/site-packages (from awsebcli) (41.2.0)
Collecting semantic_version==2.8.5 (from awsebcli)
Collecting six<1.15.0,>=1.11.0 (from awsebcli)
Collecting termcolor==1.1.0 (from awsebcli)
Collecting wcwidth<0.2.0,>=0.1.7 (from awsebcli)
Collecting PyYAML<5.5,>=5.3.1 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/cb/3f/2f35751408c0b2a425aa48dd79301a48418858d3366f84c75d1aa42b6e2d/PyYAML-5.4.1-cp38-cp38-macosx_10_9_x86_64.whl (253kB)
|████████████████████████████████| 256kB 82.7MB/s
Collecting urllib3>=1.26.5 (from awsebcli)
Collecting docker-compose<1.26.0,>=1.25.2 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/ec/35/1dfbb8e6b2ce5d290622a49cae0a7f3cf09cdc4341380a600aee00530881/docker_compose-1.25.5-py2.py3-none-any.whl (139kB)
|████████████████████████████████| 143kB 33.3MB/s
Collecting blessed>=1.9.5 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/76/98/584f211c3a4bb38f2871fa937ee0cc83c130de50c955d6c7e2334dbf4acb/blessed-1.20.0-py2.py3-none-any.whl (58kB)
|████████████████████████████████| 61kB 24.9MB/s
Collecting jmespath<2.0.0,>=0.7.1 (from botocore<1.29.100,>1.23.41->awsebcli)
Requirement already satisfied: certifi>=2017.4.17 in /Users/Jeong-Dae/Documents/Coding Club/Sparta/Projects/05.fan/venv/lib/python3.8/site-packages (from requests<=2.26,>=2.20.1->awsebcli) (2023.5.7)
Collecting idna<4,>=2.5; python_version >= "3" (from requests<=2.26,>=2.20.1->awsebcli)
Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests<=2.26,>=2.20.1->awsebcli)
Collecting docker[ssh]<5,>=3.7.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/c4/22/410313ad554477e87ec406d38d85f810e61ddb0d2fc44e64994857476de9/docker-4.4.4-py2.py3-none-any.whl (147kB)
|████████████████████████████████| 153kB 48.1MB/s
Collecting jsonschema<4,>=2.5.1 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/c5/8f/51e89ce52a085483359217bc72cdbf6e75ee595d5b1d4b5ade40c7e018b8/jsonschema-3.2.0-py2.py3-none-any.whl (56kB)
|████████████████████████████████| 61kB 13.3MB/s
Collecting docopt<1,>=0.6.1 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting texttable<2,>=0.9.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting cached-property<2,>=1.2.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting websocket-client<1,>=0.32.0 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/f7/0c/d52a2a63512a613817846d430d16a8fbe5ea56dd889e89c68facf6b91cb6/websocket_client-0.59.0-py2.py3-none-any.whl (67kB)
|████████████████████████████████| 71kB 18.2MB/s
Collecting dockerpty<1,>=0.4.1 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting paramiko>=2.4.2; extra == "ssh" (from docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/97/dc/d326721840be423d3728c1329be0c61a34ab3eec514f830c01fec31cd9ad/paramiko-3.2.0-py3-none-any.whl (224kB)
|████████████████████████████████| 225kB 52.6MB/s
Collecting pyrsistent>=0.14.0 (from jsonschema<4,>=2.5.1->docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/64/de/375aa14daaee107f987da76ca32f7a907fea00fa8b8afb67dc09bec0de91/pyrsistent-0.19.3-py3-none-any.whl (57kB)
|████████████████████████████████| 61kB 28.1MB/s
Collecting attrs>=17.4.0 (from jsonschema<4,>=2.5.1->docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/f0/eb/fcb708c7bf5056045e9e98f62b93bd7467eb718b0202e7698eb11d66416c/attrs-23.1.0-py3-none-any.whl (61kB)
|████████████████████████████████| 61kB 27.2MB/s
Collecting bcrypt>=3.2 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting cryptography>=3.3 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/eb/09/6b2c7f6dcf756f318cc232576c2198c114758510317ddade9490e568362a/cryptography-41.0.1-cp37-abi3-macosx_10_12_x86_64.whl (2.8MB)
|████████████████████████████████| 2.8MB 31.8MB/s
Collecting pynacl>=1.5 (from paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Downloading https://files.pythonhosted.org/packages/a7/22/27582568be639dfe22ddb3902225f91f2f17ceff88ce80e4db396c8986da/PyNaCl-1.5.0.tar.gz (3.4MB)
|████████████████████████████████| 3.4MB 79.8MB/s
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing wheel metadata ... done
Collecting cffi>=1.12 (from cryptography>=3.3->paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Collecting pycparser (from cffi>=1.12->cryptography>=3.3->paramiko>=2.4.2; extra == "ssh"->docker[ssh]<5,>=3.7.0->docker-compose<1.26.0,>=1.25.2->awsebcli)
Building wheels for collected packages: bcrypt, pynacl
Building wheel for bcrypt (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: '/Users/Jeong-Dae/Documents/Coding Club/Sparta/Projects/05.fan/venv/bin/python3' '/Users/Jeong-Dae/Documents/Coding Club/Sparta/Projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py' build_wheel /var/folders/py/_lhfjlls409_f0c_cjzqd_600000gp/T/tmpkhck_qd7
cwd: /private/var/folders/py/_lhfjlls409_f0c_cjzqd_600000gp/T/pip-install-ymky5x0d/bcrypt
Complete output (58 lines):
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.9-x86_64-cpython-38
creating build/lib.macosx-10.9-x86_64-cpython-38/bcrypt
copying src/bcrypt/__init__.py -> build/lib.macosx-10.9-x86_64-cpython-38/bcrypt
copying src/bcrypt/__about__.py -> build/lib.macosx-10.9-x86_64-cpython-38/bcrypt
running egg_info
writing src/bcrypt.egg-info/PKG-INFO
writing dependency_links to src/bcrypt.egg-info/dependency_links.txt
writing requirements to src/bcrypt.egg-info/requires.txt
writing top-level names to src/bcrypt.egg-info/top_level.txt
reading manifest file 'src/bcrypt.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching 'requirements.txt'
warning: no previously-included files found matching 'release.py'
warning: no previously-included files found matching 'mypy.ini'
warning: no previously-included files matching '*' found under directory '.github'
warning: no previously-included files matching '*' found under directory '.circleci'
warning: no previously-included files found matching 'src/_bcrypt/target'
warning: no previously-included files matching '*' found under directory 'src/_bcrypt/target'
adding license file 'LICENSE'
writing manifest file 'src/bcrypt.egg-info/SOURCES.txt'
copying src/bcrypt/_bcrypt.pyi -> build/lib.macosx-10.9-x86_64-cpython-38/bcrypt
copying src/bcrypt/py.typed -> build/lib.macosx-10.9-x86_64-cpython-38/bcrypt
running build_ext
running build_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install bcrypt:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Ensure you have a recent Rust toolchain installed. bcrypt requires
rustc >= 1.56.0.
Python: 3.8.2
platform: macOS-10.16-x86_64-i386-64bit
pip: n/a
setuptools: 67.8.0
setuptools_rust: 1.6.0
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.56.0.
----------------------------------------
ERROR: Failed building wheel for bcrypt
Running setup.py clean for bcrypt
ERROR: Command errored out with exit status 1:
command: '/Users/Jeong-Dae/Documents/Coding Club/Sparta/Projects/05.fan/venv/bin/python3' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/py/_lhfjlls409_f0c_cjzqd_600000gp/T/pip-install-ymky5x0d/bcrypt/setup.py'"'"'; __file__='"'"'/private/var/folders/py/_lhfjlls409_f0c_cjzqd_600000gp/T/pip-install-ymky5x0d/bcrypt/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' clean --all
cwd: /private/var/folders/py/_lhfjlls409_f0c_cjzqd_600000gp/T/pip-install-ymky5x0d/bcrypt
Complete output (36 lines):
running clean
removing 'build/lib.macosx-10.9-x86_64-cpython-38' (and everything under it)
'build/bdist.macosx-10.9-x86_64' does not exist -- can't clean it
'build/scripts-3.8' does not exist -- can't clean it
removing 'build'
running clean_rust
=============================DEBUG ASSISTANCE=============================
If you are seeing a compilation error please try the following steps to
successfully install bcrypt:
1) Upgrade to the latest pip and try again. This will fix errors for most
users. See: https://pip.pypa.io/en/stable/installing/#upgrading-pip
2) Ensure you have a recent Rust toolchain installed. bcrypt requires
rustc >= 1.56.0.
Python: 3.8.2
platform: macOS-10.16-x86_64-i386-64bit
pip: n/a
setuptools: 67.8.0
setuptools_rust: 1.6.0
rustc: n/a
=============================DEBUG ASSISTANCE=============================
error: can't find Rust compiler
If you are using an outdated pip version, it is possible a prebuilt wheel is available for this package but pip is not able to install from it. Installing from the wheel would avoid the need for a Rust compiler.
To update pip, run:
pip install --upgrade pip
and then retry package installation.
If you did intend to build this package from source, try installing a Rust compiler from your system package manager and ensure it is on the PATH during installation. Alternatively, rustup (available at https://rustup.rs) is the recommended way to download and update the Rust compiler toolchain.
This package requires Rust >=1.56.0.
----------------------------------------
ERROR: Failed cleaning build dir for bcrypt
Building wheel for pynacl (PEP 517) ... \
