
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
맥북 사용하고 있으며
pip install awsebcli 명령 입력시 한참 후 에러로 확인되는데 진행해도 되는지 확인 바랍니다.
설치 Building wheel for bcrypt (PEP 517) ... error 해당 라인에서 약 5분 정도 머물렀습니다.
(venv) youngchulyu@youngchului-MacBookAir deploy % pip install awsebcli
Collecting awsebcli
Downloading https://files.pythonhosted.org/packages/a0/b0/8658b38ed6047bb4ddfedae01db62a0317de99ca1e6466d44c6351b3ecac/awsebcli-3.20.5.tar.gz (261kB)
|████████████████████████████████| 266kB 5.2MB/s
Collecting botocore<1.29.82,>1.23.41 (from awsebcli)
Downloading https://files.pythonhosted.org/packages/8a/c2/066ee3e9f3ff0145ee07bf48c6a3efa81cafdaf5a6b00218ad640252b334/botocore-1.29.81-py3-none-any.whl (10.5MB)
|████████████████████████████████| 10.5MB 36.2MB/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 37.0MB/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 83.2MB/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 35.3MB/s
Requirement already satisfied: setuptools>=20.0 in /Users/youngchulyu/Coding/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 70.2MB/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 41.7MB/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 26.4MB/s
Collecting jmespath<2.0.0,>=0.7.1 (from botocore<1.29.82,>1.23.41->awsebcli)
Collecting charset-normalizer~=2.0.0; python_version >= "3" (from requests<=2.26,>=2.20.1->awsebcli)
Requirement already satisfied: certifi>=2017.4.17 in /Users/youngchulyu/Coding/projects/05.fan/venv/lib/python3.8/site-packages (from requests<=2.26,>=2.20.1->awsebcli) (2022.12.7)
Collecting idna<4,>=2.5; python_version >= "3" (from requests<=2.26,>=2.20.1->awsebcli)
Collecting cached-property<2,>=1.2.0 (from docker-compose<1.26.0,>=1.25.2->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 49.8MB/s
Collecting dockerpty<1,>=0.4.1 (from docker-compose<1.26.0,>=1.25.2->awsebcli)
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 30.3MB/s
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 36.7MB/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 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/56/7c/9dd558ec0869fcecb661765d0a2504978dbfe85de24cbcccc847aa9b58e4/paramiko-3.1.0-py3-none-any.whl (211kB)
|████████████████████████████████| 215kB 86.8MB/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/fb/6e/6f83bf616d2becdf333a1640f1d463fef3150e2e926b7010cb0f81c95e88/attrs-22.2.0-py3-none-any.whl (60kB)
|████████████████████████████████| 61kB 38.5MB/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 33.4MB/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 84.5MB/s
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/3c/0c/ac188ca210fbc02102d34ad8dba6956fe16fc566e5c5110a7f7bdbd30138/cryptography-39.0.2-cp36-abi3-macosx_10_12_x86_64.whl (2.9MB)
|████████████████████████████████| 2.9MB 68.3MB/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 cffi>=1.4.1 (from pynacl>=1.5->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.4.1->pynacl>=1.5->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: pynacl, bcrypt
Building wheel for pynacl (PEP 517) ... done
Created wheel for pynacl: filename=PyNaCl-1.5.0-cp38-cp38-macosx_10_9_x86_64.whl size=310948 sha256=3d5b52ae3934dfab9d414158f14baf179f1240ef0e306b96136c0027bb25ceda
Stored in directory: /Users/youngchulyu/Library/Caches/pip/wheels/2f/01/7f/11d382bf954a093a55ed9581fd66c3b45b98769f292367b4d3
Building wheel for bcrypt (PEP 517) ... error
ERROR: Command errored out with exit status 1:
command: /Users/youngchulyu/Coding/projects/05.fan/venv/bin/python3 /Users/youngchulyu/Coding/projects/05.fan/venv/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py build_wheel /var/folders/yj/strrn20j29b2jl_m8lj3rt800000gn/T/tmpgp8vj_4g
cwd: /private/var/folders/yj/strrn20j29b2jl_m8lj3rt800000gn/T/pip-install-rnysxh6y/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.6.0
setuptools_rust: 1.5.2
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/youngchulyu/Coding/projects/05.fan/venv/bin/python3 -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/yj/strrn20j29b2jl_m8lj3rt800000gn/T/pip-install-rnysxh6y/bcrypt/setup.py'"'"'; __file__='"'"'/private/var/folders/yj/strrn20j29b2jl_m8lj3rt800000gn/T/pip-install-rnysxh6y/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/yj/strrn20j29b2jl_m8lj3rt800000gn/T/pip-install-rnysxh6y/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.6.0
setuptools_rust: 1.5.2
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
Successfully built pynacl
Failed to build bcrypt
ERROR: Could not build wheels for bcrypt which use PEP 517 and cannot be installed directly
WARNING: You are using pip version 19.2.3, however version 23.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(venv) youngchulyu@youngchului-MacBookAir deploy %
